|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.geometry.DefaultGeometryItem
Default implementation of interface
GeometryItem. Look at this
interface to get a detailed documentation.
| Field Summary |
| Fields inherited from interface com.tensegrity.composite.geometry.GeometryItem |
ELEMENT_ITEM, ELLIPSE_ITEM, LABEL_ITEM, LINE_ITEM, POLYGON_ITEM, RECT_ITEM, TABLE_COLUMN_ITEM, TABLE_ITEM, TABLE_ROW_ITEM |
| Constructor Summary | |
DefaultGeometryItem(int type,
java.lang.String name,
AttributeSet attributes)
Constructor specifying the type, the name and
a AttributeSet to use. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
AttributeSet |
getAttributes()
Returns an AttributeSet that holds the various attributes of
this GeometryItem. |
java.lang.String |
getName()
Returns the name of this GeometryItem. |
int |
getType()
Returns the type of the GeometryItem |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultGeometryItem(int type,
java.lang.String name,
AttributeSet attributes)
type, the name and
a AttributeSet to use.
type - the type.name - a name.attributes - the attributes to set.| Method Detail |
public int getType()
GeometryItemGeometryItem. The type of a
GeometryItem identifies the item and dependent on the of it
- Specified by:
getType in interface GeometryItem
- Returns:
- an
int specifying the type of the
GeometryItem.
public java.lang.String getName()
GeometryItemGeometryItem.
getName in interface GeometryItemGeometryItem.public AttributeSet getAttributes()
GeometryItemAttributeSet that holds the various attributes of
this GeometryItem. If no attributes are assigned to the
GeometryItem the return value is null.
getAttributes in interface GeometryItemAttributeSet holding the various attributes of
this GeometryItem or null.public boolean equals(java.lang.Object obj)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||