mascoptDev.graphs
Class TubeSet
java.lang.Object
|
+--mascoptLib.util.ObservableObject
|
+--mascoptLib.abstractGraph.MascoptObject
|
+--mascoptLib.abstractGraph.MascoptFixedSet
|
+--mascoptLib.abstractGraph.MascoptSet
|
+--mascoptDev.graphs.TubeSet
- All Implemented Interfaces:
- Cloneable, Collection, MascoptObjectInterface, MascoptWritableInterface, Observer, Set
- public class TubeSet
- extends MascoptSet
Constructor Summary |
TubeSet()
Default Constructor. |
Methods inherited from class mascoptLib.abstractGraph.MascoptFixedSet |
contains, containsAll, countAllSets, equals, free, getDOMTagHierarchy, getDOMTagName, getSuperSet, hashCode, isEmpty, isSubSet, iterator, setSuperSet, size, toArray, toArray, toArray, toDOMTree |
Methods inherited from class mascoptLib.abstractGraph.MascoptObject |
copyValues, countAllObjects, deleteValue, deleteValue, existValue, existValue, getDoubleValue, getDoubleValue, getDouValue, getDouValue, getId, getIntegerValue, getIntegerValue, getIntValue, getIntValue, getName, getValue, getValue, getValueContexts, getValueDataType, getValueDataType, getValueEntries, notifyOnValueChange, removeAllValues, setDoubleValue, setDoubleValue, setDouValue, setDouValue, setIntegerValue, setIntegerValue, setIntValue, setIntValue, setName, setValue, setValue, setValue, setValue, setValue, setValue, toDOMTreeAsRef |
Methods inherited from class mascoptLib.util.ObservableObject |
addAddObserver, addRemoveObserver, addValueObserver, countAddObservers, countRemoveObservers, countValueObservers, deleteAddObserver, deleteAddObserver, deleteRemoveObserver, deleteRemoveObserver, deleteValueObserver, deleteValueObserver |
TubeSet
public TubeSet()
- Default Constructor.
toString
public String toString()
- Converts the set in string to be printed.
- Overrides:
toString
in class MascoptFixedSet
update
public void update(Observable o,
Object arg)
- Give the factory creating objects not abstract.
As all the library is abstract, we need a factory that determines the
type of graphs the user manipulates. Then the factory is able to
create each type of object when necessary.
- Specified by:
update
in interface Observer
- Overrides:
update
in class MascoptObject
add
public boolean add(Tube o)
- Add a Tube in the set.
- Parameters:
o
- the tube that must be added in the set.
- Returns:
- true if the tube has been added in the set.
remove
public boolean remove(Object o)
- Remove a node in the set.
- Specified by:
remove
in interface Set
- Overrides:
remove
in class MascoptSet
- Parameters:
o
- the node that must be removed in the set.
- Returns:
- true if the node has been removed in the set.