com.ohrasys.cad.gds.dao
Class Boundary

java.lang.Object
  extended by com.ohrasys.cad.gds.dao.Element
      extended by com.ohrasys.cad.gds.dao.GeometryElement
          extended by com.ohrasys.cad.gds.dao.Boundary
All Implemented Interfaces:
InfoProvider

public class Boundary
extends GeometryElement
implements InfoProvider

Boundary Element Data Access Object


Field Summary
 
Fields inherited from class com.ohrasys.cad.gds.dao.Element
i18n
 
Constructor Summary
Boundary()
          Creates a new instance of Boundary
Boundary(boolean external, boolean template, int group, int layer, int datatype, java.awt.Point[] points)
          Creates a new Boundary object.
Boundary(int layer, java.awt.Point[] points)
          Creates a new Boundary object.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of the object
 
Methods inherited from class com.ohrasys.cad.gds.dao.GeometryElement
getDatatype, getInfo, getLayer, setDatatype, setLayer
 
Methods inherited from class com.ohrasys.cad.gds.dao.Element
getGroup, getPoints, getProperties, isExternal, isTemplate, setExternal, setGroup, setPoints, setProperties, setTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ohrasys.cad.gds.dao.InfoProvider
getInfo
 

Constructor Detail

Boundary

public Boundary()
Creates a new instance of Boundary


Boundary

public Boundary(int layer,
                java.awt.Point[] points)
Creates a new Boundary object.

Parameters:
layer - The layer of the boundary
points - The points defining the boundary

Boundary

public Boundary(boolean external,
                boolean template,
                int group,
                int layer,
                int datatype,
                java.awt.Point[] points)
Creates a new Boundary object.

Parameters:
external - Indicates the data is external
template - Indicates the data is a template
group - The object group the boundary belongs to
layer - The layer of the boundary
datatype - The data type of the boundary
points - The points defining the boundary
Method Detail

toString

public java.lang.String toString()
Returns a string representation of the object

Overrides:
toString in class GeometryElement
Returns:
A string representation of the object