Class DXFDictionary

  • All Implemented Interfaces:
    DXFObject, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<DXFDictionary>, java.util.Collection<DXFDictionary>, java.util.List<DXFDictionary>, java.util.RandomAccess

    public class DXFDictionary
    extends java.util.Vector<DXFDictionary>
    implements DXFObject
    Class representing dictionary for use in OBJECTS table. Dictionaries contain other stuff, so are containers
    Author:
    jsevy
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      DXFDictionary​(java.lang.String name, int ownerHandle)
      Create a dictionary object with specified name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHandle()  
      java.lang.String getName()  
      java.lang.String toDXFString()
      Implementation of DXFObject interface method; creates DXF text representing the object.
      • Methods inherited from class java.util.Vector

        add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
    • Field Detail

      • name

        public java.lang.String name
    • Constructor Detail

      • DXFDictionary

        public DXFDictionary​(java.lang.String name,
                             int ownerHandle)
        Create a dictionary object with specified name.
        Parameters:
        name - Name of table record
        ownerHandle - Handle of owner of this dictionary object
    • Method Detail

      • getName

        public java.lang.String getName()
      • getHandle

        public int getHandle()
      • toDXFString

        public java.lang.String toDXFString()
        Implementation of DXFObject interface method; creates DXF text representing the object.
        Specified by:
        toDXFString in interface DXFObject