|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Folder
This interface is responsible for managing a folder of BaseObjects (even if most of the code is adapted to ACSObjects folder), where the objects are added and removed from the folder without object deleting. It is the super interface of ViewInBase and VirtualFolder. Not Copyable since the copy() method are protected. See the Copyright.
ViewInBase,
VirtualFolder| Method Summary | |
|---|---|
void |
addEorBaseObject(BaseObject _obj)
Adds a base object to the folder. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener _l)
Add a listener to the bean. |
void |
addPropertyChangeListener(java.lang.String _propertyName,
java.beans.PropertyChangeListener _l)
Adds a listener to the bean for the properties 'OneBaseObjectInfolder'. |
void |
propertyChange(java.beans.PropertyChangeEvent _evt)
Observers to the changes in the open ACS and the base objects list. |
void |
removeEorBaseObject(BaseObject _obj)
Removes a base object to the folder. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener _l)
Removes a listener to the bean. |
void |
removePropertyChangeListener(java.lang.String _propertyName,
java.beans.PropertyChangeListener _l)
remove a listener to the bean for a named property. |
void |
setComment(java.lang.String _s)
Sets any comment related to this folder. |
| Methods inherited from interface ARoad0.gBaseInterface.ImmutableFolder |
|---|
containsBaseObject, getComment, getConnectedToSeveralACS, getEorL_ConnectedACSNames, getEorM_BaseObjects, getType, isEmpty |
| Methods inherited from interface ARoad0.gBaseInterface.BaseObject |
|---|
equals, getFullName, getName, getNickName, hashCode |
| Method Detail |
|---|
void addEorBaseObject(BaseObject _obj)
throws CreateError
_obj - BaseObject to add in the folder
CreateError - if the name is null, or the object name is null or empty,
or if the name is already known by the folder.
void removeEorBaseObject(BaseObject _obj)
throws CreateError
_obj - non-null BaseObject to remove in the folder
CreateError - if the object name is empty, or
the object is not known by the folder.void setComment(java.lang.String _s)
_s - comment which is associated to the folder.void propertyChange(java.beans.PropertyChangeEvent _evt)
propertyChange in interface java.beans.PropertyChangeListener_evt - PropertyChangeEventvoid addPropertyChangeListener(java.beans.PropertyChangeListener _l)
addPropertyChangeListener in interface BoundBean_l - PropertyChangeListener to add. Caution: the listener must NOT
have specific hashCode() and equals() methods, to work with HashSet
in the removing operations.
void addPropertyChangeListener(java.lang.String _propertyName,
java.beans.PropertyChangeListener _l)
addPropertyChangeListener in interface BoundBean_propertyName - is the name of the property_l - PropertyChangeListener to add. Caution: the listener must NOT
have specific hashCode() and equals() methods, to work with HashSet
in the removing operations.void removePropertyChangeListener(java.beans.PropertyChangeListener _l)
removePropertyChangeListener in interface BoundBean_l - PropertyChangeListener to add
void removePropertyChangeListener(java.lang.String _propertyName,
java.beans.PropertyChangeListener _l)
removePropertyChangeListener in interface BoundBean_propertyName - String is the name of the property to listen_l - PropertyChangeListener to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||