|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.util.AbstractDisposable | +--gumbo.visualize.data.DataModel | +--gumbo.visualize.data.WholeModel | +--gumbo.visualize.data.GroupModel
A whole model whose data elements have no data relationships (has no internal topology, such as an unordered bag and set).
In the part model tree, a group model can have none or more element models.
Nested Class Summary |
Nested classes inherited from class gumbo.visualize.data.WholeModel |
WholeModel.GlobalWholeTree |
Field Summary | |
static Group |
TYPES
A singleton immutable group containing the type (Class) of this class. |
Constructor Summary | |
GroupModel(java.lang.Object clientId,
java.lang.Object clientData)
Creates a new instance. |
Method Summary | |
ElementModel |
addElementModel(ElementModel child)
Adds an element model as a child in this model's part model tree. |
PartModelField.EventOut |
getAddedPartModelOut()
Sends the part model after it is added to this whole model. |
PartModelField.EventOut |
getRemovingPartModelOut()
Sends the part model before it is removed from this whole model. |
void |
removeElementModel(ElementModel child)
Removes a child element model from this model's part model tree, and disposes it. |
Methods inherited from class gumbo.visualize.data.WholeModel |
addPartModel, checkAddPartModel, disposeAll, findAllPartModelSubs, findPartModelSubs, findWholeModelRoot, findWholeModelSubs, findWholeModelSupers, getPartModelChildren, getWholeModelChildren, getWholeModelParent, implDispose, removePartModel |
Methods inherited from class gumbo.visualize.data.DataModel |
getClientData, getClientId, initDataModel, setClientData |
Methods inherited from class gumbo.util.AbstractDisposable |
dispose, isDisposed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Group TYPES
Constructor Detail |
public GroupModel(java.lang.Object clientId, java.lang.Object clientData)
clientId
- See DataModel. Null if none, in which case the
client ID defaults to this object.clientData
- See DataModel. Null if none.Method Detail |
public ElementModel addElementModel(ElementModel child)
child
- The child model. Ignored if null.
public void removeElementModel(ElementModel child)
child
- The child model. If null or not a child, does nothing.AbstractDisposable.dispose()
public final PartModelField.EventOut getAddedPartModelOut()
WholeModel
getAddedPartModelOut
in class WholeModel
public final PartModelField.EventOut getRemovingPartModelOut()
WholeModel
getRemovingPartModelOut
in class WholeModel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |