|
||||||||||
| 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.Text
public class Text
A text data access object
| Field Summary |
|---|
| Fields inherited from class com.ohrasys.cad.gds.dao.Element |
|---|
i18n |
| Constructor Summary | |
|---|---|
Text()
Creates a new Text object. |
|
Text(boolean external,
boolean template,
int group,
int layer,
int datatype,
int vJustify,
int hJustify,
int font,
int pathStyle,
int width,
Transform transform,
java.awt.Point[] points,
java.lang.String value)
Creates a new Text object. |
|
Text(int layer,
Transform transform,
java.lang.String value,
java.awt.Point[] points)
Creates a new Text object. |
|
| Method Summary | |
|---|---|
int |
getFont()
Getter for property font. |
int |
getHJustify()
Getter for property hJustify. |
java.lang.String |
getInfo()
Returns a textual representation of the text object |
int |
getPathStyle()
Getter for property pathStyle. |
Transform |
getTransform()
Getter for property transform. |
java.lang.String |
getValue()
Getter for property value. |
int |
getVJustify()
Getter for property vJustify. |
int |
getWidth()
Getter for property width. |
void |
setFont(int font)
Setter for property font. |
void |
setHJustify(int hJustify)
Setter for property hJustify. |
void |
setPathStyle(int pathStyle)
Setter for property pathStyle. |
void |
setTransform(Transform transform)
Setter for property transform. |
void |
setValue(java.lang.String value)
Setter for property value. |
void |
setVJustify(int vJustify)
Setter for property vJustify. |
void |
setWidth(int width)
Setter for property width. |
java.lang.String |
toString()
Returns a string representation of the text object |
| 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 Text()
public Text(int layer,
Transform transform,
java.lang.String value,
java.awt.Point[] points)
layer - The layer of the text objecttransform - The transform of the text objectvalue - The value of the text objectpoints - The points defining the text object
public Text(boolean external,
boolean template,
int group,
int layer,
int datatype,
int vJustify,
int hJustify,
int font,
int pathStyle,
int width,
Transform transform,
java.awt.Point[] points,
java.lang.String value)
external - The text object is external datatemplate - The text object is template datagroup - The object group the text object belongs tolayer - The layer of the text objectdatatype - The datatyp of the text objectvJustify - The vertical justification of the text objecthJustify - The horizontal justification of the text objectfont - The fontpathStyle - The path stylewidth - The width of the text objecttransform - The transform of the text objectpoints - The points defining the text objectvalue - The string value of the text object| Method Detail |
|---|
public int getFont()
public int getHJustify()
public java.lang.String getInfo()
getInfo in interface InfoProvidergetInfo in class GeometryElementpublic int getPathStyle()
public Transform getTransform()
public java.lang.String getValue()
public int getVJustify()
public int getWidth()
public void setFont(int font)
font - New value of property font.public void setHJustify(int hJustify)
hJustify - New value of property hJustify.public void setPathStyle(int pathStyle)
pathStyle - New value of property pathStyle.public void setTransform(Transform transform)
transform - New value of property transform.public void setValue(java.lang.String value)
value - New value of property value.public void setVJustify(int vJustify)
vJustify - New value of property vJustify.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 | |||||||||