|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ohrasys.cad.gds.dao.Element
com.ohrasys.cad.gds.dao.GeometryElement
com.ohrasys.cad.gds.dao.Path
public class Path
A path data access object
| Field Summary |
|---|
| Fields inherited from class com.ohrasys.cad.gds.dao.Element |
|---|
i18n |
| Constructor Summary | |
|---|---|
Path()
Creates a new Path object. |
|
Path(boolean external,
boolean template,
int group,
int layer,
int datatype,
int pathtype,
int width,
int startExtension,
int endExtension,
java.awt.Point[] points)
Creates a new Path object. |
|
Path(int layer,
int width,
java.awt.Point[] points)
Creates a new Path object. |
|
| Method Summary | |
|---|---|
int |
getEndExtension()
Getter for property endExtension. |
java.lang.String |
getInfo()
Returns a textual representation of the path |
int |
getPathtype()
Getter for property pathtype. |
int |
getStartExtension()
Getter for property startExtension. |
int |
getWidth()
Getter for property width. |
void |
setEndExtension(int endExtension)
Setter for property endExtension. |
void |
setPathtype(int pathtype)
Setter for property pathtype. |
void |
setStartExtension(int startExtension)
Setter for property startExtension. |
void |
setWidth(int width)
Setter for property width. |
java.lang.String |
toString()
Returns a string representation of the path |
| Methods inherited from class com.ohrasys.cad.gds.dao.GeometryElement |
|---|
getDatatype, 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 |
| Constructor Detail |
|---|
public Path()
public Path(int layer,
int width,
java.awt.Point[] points)
layer - The layer of the pathwidth - The width of the pathpoints - The points defining the path
public Path(boolean external,
boolean template,
int group,
int layer,
int datatype,
int pathtype,
int width,
int startExtension,
int endExtension,
java.awt.Point[] points)
external - The path is external datatemplate - The path is template datagroup - The object group of the pathlayer - The layer of the pathdatatype - The datatype of the pathpathtype - The pathtype of the pathwidth - The width of the pathstartExtension - The start extension of the pathendExtension - The end extension of the pathpoints - The points defining the path| Method Detail |
|---|
public int getEndExtension()
public java.lang.String getInfo()
getInfo in interface InfoProvidergetInfo in class GeometryElementpublic int getPathtype()
public int getStartExtension()
public int getWidth()
public void setEndExtension(int endExtension)
endExtension - New value of property endExtension.public void setPathtype(int pathtype)
pathtype - New value of property pathtype.public void setStartExtension(int startExtension)
startExtension - New value of property startExtension.public void setWidth(int width)
width - New value of property width.public java.lang.String toString()
toString in class GeometryElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||