|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ohrasys.cad.gds.dao.Element
public class Element
An element data access object
| Field Summary | |
|---|---|
protected java.util.ResourceBundle |
i18n
The resource bundle |
| Constructor Summary | |
|---|---|
Element()
Creates a new instance of Element |
|
Element(boolean isExternal,
boolean isTemplate,
int group,
java.awt.Point[] points)
Creates a new Element object. |
|
| Method Summary | |
|---|---|
int |
getGroup()
Getter for property group. |
java.lang.String |
getInfo()
Returns a textual representation of the element |
java.awt.Point[] |
getPoints()
Getter for property points. |
Property[] |
getProperties()
Getter for property properties. |
boolean |
isExternal()
Getter for property external. |
boolean |
isTemplate()
Getter for property template. |
void |
setExternal(boolean external)
Setter for property external. |
void |
setGroup(int group)
Setter for property group. |
void |
setPoints(java.awt.Point[] points)
Setter for property points. |
void |
setProperties(Property[] properties)
Setter for property properties. |
void |
setTemplate(boolean template)
Setter for property template. |
java.lang.String |
toString()
Returns a string representation of the element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ResourceBundle i18n
| Constructor Detail |
|---|
public Element()
public Element(boolean isExternal,
boolean isTemplate,
int group,
java.awt.Point[] points)
isExternal - The element is external dataisTemplate - The element is template datagroup - The object group the element belongs topoints - The points defining the location of the object| Method Detail |
|---|
public int getGroup()
public java.lang.String getInfo()
getInfo in interface InfoProviderpublic java.awt.Point[] getPoints()
public Property[] getProperties()
public boolean isExternal()
public boolean isTemplate()
public void setExternal(boolean external)
external - New value of property external.public void setGroup(int group)
group - New value of property group.public void setPoints(java.awt.Point[] points)
points - New value of property points.public void setProperties(Property[] properties)
properties - New value of property properties.public void setTemplate(boolean template)
template - New value of property template.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||