com.ohrasys.cad.gds.dao
Class Box
java.lang.Object
com.ohrasys.cad.gds.dao.Element
com.ohrasys.cad.gds.dao.GeometryElement
com.ohrasys.cad.gds.dao.Box
- All Implemented Interfaces:
- InfoProvider
public class Box
- extends GeometryElement
- implements InfoProvider
A box element data access object
| Fields inherited from class com.ohrasys.cad.gds.dao.Element |
i18n |
|
Constructor Summary |
Box()
Creates a new instance of Boundary |
Box(boolean external,
boolean template,
int group,
int layer,
int datatype,
java.awt.Point[] points)
Creates a new Box object. |
Box(int layer,
java.awt.Point[] points)
Creates a new Box object. |
|
Method Summary |
java.lang.String |
toString()
Returns a string representation of the box |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Box
public Box()
- Creates a new instance of Boundary
Box
public Box(int layer,
java.awt.Point[] points)
- Creates a new Box object.
- Parameters:
layer - The layer of the boxpoints - The points defining the box
Box
public Box(boolean external,
boolean template,
int group,
int layer,
int datatype,
java.awt.Point[] points)
- Creates a new Box object.
- Parameters:
external - The box is external datatemplate - The box is template datagroup - The object group the box belongs tolayer - The layer of the boxdatatype - The data type of the boxpoints - The points defining the box
toString
public java.lang.String toString()
- Returns a string representation of the box
- Overrides:
toString in class GeometryElement
- Returns:
- A string representation of the box