java.lang.Object | ||
↳ | javax.swing.AbstractListModel | |
↳ | javax.swing.plaf.basic.BasicDirectoryModel |
Basic implementation of a file list.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a PropertyChangeListener to the listener list.
| |||||||||||
Returns an array of all the property change listeners
registered on this component.
| |||||||||||
Obsolete - not used.
| |||||||||||
Obsolete - not used.
| |||||||||||
This method is used to interrupt file loading thread.
| |||||||||||
This method gets called when a bound property is changed.
| |||||||||||
Removes a PropertyChangeListener from the listener list.
| |||||||||||
Renames a file in the underlying file system.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Support for reporting bound property changes for boolean properties.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
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 |
---|
Returns an array of all the property change listeners registered on this component.
PropertyChangeListener
s
or an empty array if no property change
listeners are currently registeredThis method is used to interrupt file loading thread.
This method gets called when a bound property is changed.
e | A PropertyChangeEvent object describing the event source and the property that has changed. |
---|
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 |
---|
Renames a file in the underlying file system.
oldFile | a File object representing
the existing file |
---|---|
newFile | a File object representing
the desired new file name |
true
if rename succeeded,
otherwise false
Support for reporting bound property changes for boolean properties. This method can be called when a bound property has changed and it will send the appropriate PropertyChangeEvent to any registered PropertyChangeListeners.
propertyName | the property whose value has changed |
---|---|
oldValue | the property's previous value |
newValue | the property's new value |