Class ContainerObject
- java.lang.Object
-
- com.cosylab.vdct.graphics.objects.VisibleObject
-
- com.cosylab.vdct.graphics.objects.ContainerObject
-
- All Implemented Interfaces:
Visitable
- Direct Known Subclasses:
Border,Group,LinkManagerObject
public abstract class ContainerObject extends VisibleObject
Insert the type's description here. Creation date: (21.12.2000 20:27:25)- Author:
- Matej Sekoranja
-
-
Field Summary
Fields Modifier and Type Field Description protected HashtablesubObjectsprotected VectorsubObjectsVprotected booleanuseHashtable-
Fields inherited from class com.cosylab.vdct.graphics.objects.VisibleObject
x, y, zoomImage
-
-
Constructor Summary
Constructors Constructor Description ContainerObject(ContainerObject parent)Insert the method's description here.ContainerObject(ContainerObject parent, boolean useHashtable)Insert the method's description here.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubObject(String id, VisibleObject object)Insert the method's description here.voidaddSubObject(String id, VisibleObject object, boolean create)"Helper" method (e.g. for Group).voidaddSubObject(String id, VisibleObject object, int position)voidclear()Insert the method's description here.booleancontainsObject(String id)Insert the method's description here.ContainerObjectgetRootContainer()ObjectgetSubObject(String id)Insert the method's description here.HashtablegetSubObjects()Insert the method's description here.VectorgetSubObjectsV()Insert the method's description here.ObjectremoveObject(String id)Insert the method's description here.voidupdateFields()-
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
-
-
-
-
Constructor Detail
-
ContainerObject
public ContainerObject(ContainerObject parent)
Insert the method's description here. Creation date: (21.12.2000 20:40:08)- Parameters:
parent- com.cosylab.vdct.graphics.objects.ContainerObject
-
ContainerObject
public ContainerObject(ContainerObject parent, boolean useHashtable)
Insert the method's description here. Creation date: (29.1.2001 22:45:17)- Parameters:
parent- com.cosylab.vdct.graphics.objects.ContainerObjectuseHashtable- boolean
-
-
Method Detail
-
addSubObject
public void addSubObject(String id, VisibleObject object)
Insert the method's description here. Creation date: (21.12.2000 20:30:04)- Parameters:
id- java.lang.Stringobject- com.cosylab.vdct.graphics.objects.VisibleObject
-
addSubObject
public void addSubObject(String id, VisibleObject object, int position)
- Parameters:
id- idobject- objectposition- position
-
addSubObject
public void addSubObject(String id, VisibleObject object, boolean create)
"Helper" method (e.g. for Group).- Parameters:
id- idobject- objectcreate- create
-
clear
public void clear()
Insert the method's description here. Creation date: (28.1.2001 12:04:45)
-
containsObject
public boolean containsObject(String id)
Insert the method's description here. Creation date: (21.12.2000 20:34:57)- Parameters:
id- java.lang.String- Returns:
- boolean
-
getSubObject
public Object getSubObject(String id)
Insert the method's description here. Creation date: (28.1.2001 16:54:17)- Parameters:
id- java.lang.String- Returns:
- java.lang.Object
-
getSubObjects
public Hashtable getSubObjects()
Insert the method's description here. Creation date: (21.12.2000 20:35:48)- Returns:
- java.util.Hashtable
-
getSubObjectsV
public Vector getSubObjectsV()
Insert the method's description here. Creation date: (21.12.2000 20:35:48)- Returns:
- java.util.Vector
-
removeObject
public Object removeObject(String id)
Insert the method's description here. Creation date: (21.12.2000 20:32:49)- Parameters:
id- java.lang.String- Returns:
- java.lang.Object
-
updateFields
public void updateFields()
-
getRootContainer
public ContainerObject getRootContainer()
- Overrides:
getRootContainerin classVisibleObject- Returns:
- something
-
-