Class 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 Detail

      • useHashtable

        protected boolean useHashtable
      • subObjectsV

        protected Vector subObjectsV
    • 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.ContainerObject
        useHashtable - 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.String
        object - com.cosylab.vdct.graphics.objects.VisibleObject
      • addSubObject

        public void addSubObject​(String id,
                                 VisibleObject object,
                                 int position)
        Parameters:
        id - id
        object - object
        position - position
      • addSubObject

        public void addSubObject​(String id,
                                 VisibleObject object,
                                 boolean create)
        "Helper" method (e.g. for Group).
        Parameters:
        id - id
        object - object
        create - 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()