|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.graphics.objects.VisibleObject
com.cosylab.vdct.graphics.objects.ContainerObject
public abstract class ContainerObject
Insert the type's description here. Creation date: (21.12.2000 20:27:25)
Field Summary | |
---|---|
protected java.util.Hashtable |
subObjects
|
protected java.util.Vector |
subObjectsV
|
protected boolean |
useHashtable
|
Fields inherited from class com.cosylab.vdct.graphics.objects.VisibleObject |
---|
x, y, zoomImage |
Constructor Summary | |
---|---|
ContainerObject(ContainerObject parent)
Insert the method's description here. |
|
ContainerObject(ContainerObject parent,
boolean useHashtable)
Insert the method's description here. |
Method Summary | |
---|---|
void |
addSubObject(java.lang.String id,
VisibleObject object)
Insert the method's description here. |
void |
addSubObject(java.lang.String id,
VisibleObject object,
boolean create)
"Helper" method (e.g. |
void |
addSubObject(java.lang.String id,
VisibleObject object,
int position)
|
void |
clear()
Insert the method's description here. |
boolean |
containsObject(java.lang.String id)
Insert the method's description here. |
ContainerObject |
getRootContainer()
|
java.lang.Object |
getSubObject(java.lang.String id)
Insert the method's description here. |
java.util.Hashtable |
getSubObjects()
Insert the method's description here. |
java.util.Vector |
getSubObjectsV()
Insert the method's description here. |
java.lang.Object |
removeObject(java.lang.String id)
Insert the method's description here. |
void |
updateFields()
|
Methods inherited from class com.cosylab.vdct.graphics.objects.VisibleObject |
---|
destroy, draw, forceValidation, getColor, getDsId, getFont, getHashID, getHeight, getLabel, getLeftOffset, getMarkedX, getMarkedY, getMoveInsideView, getParent, getRheight, getRightOffset, getRlabelX, getRlabelY, getRscale, getRwidth, getRx, getRy, getScale, getTopOffset, getVisibleColor, getWidth, getX, getY, intersects, intersects, isDestroyed, isVisible, isZoomRepaint, markPosition, paint, postDraw, postPaint, revalidatePosition, setColor, setDestroyed, setFont, setHeight, setLabel, setParent, setRheight, setRlabelX, setRlabelY, setRwidth, setRx, setRy, setScale, setWidth, setX, setY, setZoomRepaint, snapToGrid, unconditionalValidation, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cosylab.vdct.graphics.objects.Visitable |
---|
accept |
Field Detail |
---|
protected boolean useHashtable
protected java.util.Hashtable subObjects
protected java.util.Vector subObjectsV
Constructor Detail |
---|
public ContainerObject(ContainerObject parent)
parent
- com.cosylab.vdct.graphics.objects.ContainerObjectpublic ContainerObject(ContainerObject parent, boolean useHashtable)
parent
- com.cosylab.vdct.graphics.objects.ContainerObjectuseHashtable
- booleanMethod Detail |
---|
public void addSubObject(java.lang.String id, VisibleObject object)
id
- java.lang.Stringobject
- com.cosylab.vdct.graphics.objects.VisibleObjectpublic void addSubObject(java.lang.String id, VisibleObject object, int position)
public void addSubObject(java.lang.String id, VisibleObject object, boolean create)
id
- object
- create
- public void clear()
public boolean containsObject(java.lang.String id)
id
- java.lang.String
public java.lang.Object getSubObject(java.lang.String id)
id
- java.lang.String
public java.util.Hashtable getSubObjects()
public java.util.Vector getSubObjectsV()
public java.lang.Object removeObject(java.lang.String id)
id
- java.lang.String
public void updateFields()
public ContainerObject getRootContainer()
getRootContainer
in class VisibleObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |