Class DXFSection

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

    public class DXFSection
    extends DXFContainer
    DXFContainer subclass for sections in the DXF document.
    Author:
    jsevy
    See Also:
    Serialized Form
    • Field Summary

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

      Constructors 
      Constructor Description
      DXFSection​(java.lang.String name)
      Create a DXF section with the specified name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toDXFString()
      Implementation of DXFObject interface method; creates DXF text for the section, embedding text generated by its contained DXF objects/entities.
      • 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

      • DXFSection

        public DXFSection​(java.lang.String name)
        Create a DXF section with the specified name.
        Parameters:
        name - Name of the section
    • Method Detail

      • toDXFString

        public java.lang.String toDXFString()
        Implementation of DXFObject interface method; creates DXF text for the section, embedding text generated by its contained DXF objects/entities.
        Specified by:
        toDXFString in interface DXFObject
        Overrides:
        toDXFString in class DXFContainer