Class ShapeModel3DOutputOptions

java.lang.Object
All Implemented Interfaces:
InterfaceObject, NamedObject, TreeObject, CleanableObject, XMLObject

public class ShapeModel3DOutputOptions
extends XMLOutputOptions
Specifies options for writing a ShapeModel3D object to XML.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Field Details

    • shape_xml_options

      public java.util.HashMap<InterfaceShape,​XMLOutputOptions> shape_xml_options
    • include_shape

      public java.util.HashMap<InterfaceShape,​java.lang.Boolean> include_shape
    • as_subfolders

      public boolean as_subfolders
    • shapes_folder

      public java.lang.String shapes_folder
    • gzip_xml

      public boolean gzip_xml
    • overwrite_existing

      public boolean overwrite_existing
  • Constructor Details

    • ShapeModel3DOutputOptions

      public ShapeModel3DOutputOptions()
    • ShapeModel3DOutputOptions

      public ShapeModel3DOutputOptions​(ShapeModel3D model)
  • Method Details

    • getModel

      public ShapeModel3D getModel()
    • setModel

      public void setModel​(ShapeModel3D model)
    • containsByReferenceShapes

      public boolean containsByReferenceShapes()
      Returns true if this options contains any shapes to be written by reference
      Returns:
    • setFromOptions

      public void setFromOptions​(ShapeModel3DOutputOptions options)
    • setFromModel

      public void setFromModel​(ShapeModel3D model)
      Set this options from the given model, resetting all values
      Parameters:
      model -
    • setFromModel

      public void setFromModel​(ShapeModel3D model, boolean reset)
      Set this options from the given model, resetting if necessary
      Parameters:
      model -
      reset - Whether to reset all values, or preserve existing values
    • getFileChooser

      public javax.swing.JFileChooser getFileChooser​(java.io.File f)
      Description copied from class: InterfaceIOOptions
      Returns a file chooser appropriate for this options instance
      Overrides:
      getFileChooser in class XMLOutputOptions
      Returns: