Basic implementation of a file list.
Basic implementation of a file list.
(->basic-directory-model filechooser)
Constructor.
filechooser - javax.swing.JFileChooser
Constructor. filechooser - `javax.swing.JFileChooser`
(add-property-change-listener this listener)
Adds a PropertyChangeListener to the listener list. The listener is registered for all bound properties of this class.
If listener is null, no exception is thrown and no action is performed.
listener - the property change listener to be added - java.beans.PropertyChangeListener
Adds a PropertyChangeListener to the listener list. The listener is registered for all bound properties of this class. If listener is null, no exception is thrown and no action is performed. listener - the property change listener to be added - `java.beans.PropertyChangeListener`
(contains this o)
o - java.lang.Object
returns: boolean
o - `java.lang.Object` returns: `boolean`
(get-directories this)
returns: java.util.Vector<java.io.File>
returns: `java.util.Vector<java.io.File>`
(get-element-at this index)
Description copied from interface: ListModel
index - the requested index - int
returns: the value at index - java.lang.Object
Description copied from interface: ListModel index - the requested index - `int` returns: the value at index - `java.lang.Object`
(get-files this)
returns: java.util.Vector<java.io.File>
returns: `java.util.Vector<java.io.File>`
(get-property-change-listeners this)
Returns an array of all the property change listeners registered on this component.
returns: all of this component's PropertyChangeListeners
or an empty array if no property change
listeners are currently registered - java.beans.PropertyChangeListener[]
Returns an array of all the property change listeners registered on this component. returns: all of this component's PropertyChangeListeners or an empty array if no property change listeners are currently registered - `java.beans.PropertyChangeListener[]`
(get-size this)
Description copied from interface: ListModel
returns: the length of the list - int
Description copied from interface: ListModel returns: the length of the list - `int`
(index-of this o)
o - java.lang.Object
returns: int
o - `java.lang.Object` returns: `int`
(interval-added this e)
Obsolete - not used.
e - javax.swing.event.ListDataEvent
Obsolete - not used. e - `javax.swing.event.ListDataEvent`
(interval-removed this e)
Obsolete - not used.
e - javax.swing.event.ListDataEvent
Obsolete - not used. e - `javax.swing.event.ListDataEvent`
(invalidate-file-cache this)
This method is used to interrupt file loading thread.
This method is used to interrupt file loading thread.
(property-change this e)
Description copied from interface: PropertyChangeListener
e - A PropertyChangeEvent object describing the event source and the property that has changed. - java.beans.PropertyChangeEvent
Description copied from interface: PropertyChangeListener e - A PropertyChangeEvent object describing the event source and the property that has changed. - `java.beans.PropertyChangeEvent`
(remove-property-change-listener this listener)
Removes a PropertyChangeListener from the listener list.
If listener is null, no exception is thrown and no action is performed.
listener - the PropertyChangeListener to be removed - java.beans.PropertyChangeListener
Removes a PropertyChangeListener from the listener list. If listener is null, no exception is thrown and no action is performed. listener - the PropertyChangeListener to be removed - `java.beans.PropertyChangeListener`
(rename-file this old-file new-file)
Renames a file in the underlying file system.
old-file - a File object representing the existing file - java.io.File
new-file - a File object representing the desired new file name - java.io.File
returns: true if rename succeeded,
otherwise false - boolean
Renames a file in the underlying file system. old-file - a File object representing the existing file - `java.io.File` new-file - a File object representing the desired new file name - `java.io.File` returns: true if rename succeeded, otherwise false - `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close