|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.geometry.DefaultGeometryDescriptorItem
Default implementation of interface
GeometryDescriptorItem. Look at
this interface to get documentation on its usage.
| Constructor Summary | |
DefaultGeometryDescriptorItem(java.lang.String name,
java.lang.String itemname,
GeometryItemCoordinates coordinates,
AttributeSet attributes)
Constructor for DefaultGeometryDescriptorItem specifying
the GeometryItem, the GeometryItemCoordinates
and an AttributeSet to use. |
|
DefaultGeometryDescriptorItem(java.lang.String name,
java.lang.String itemname,
GeometryItemCoordinates coordinates,
AttributeSet attributes,
AttributeSet hints)
Constructor for DefaultGeometryDescriptorItem specifying
the GeometryItem, the GeometryItemCoordinates
and an AttributeSet to use. |
|
| Method Summary | |
AttributeSet |
getAttributes()
Returns an AttributeSet that holds the various attributes of
this GeometryDescriptorItem. |
GeometryItemCoordinates |
getCoordinates()
Returns the coordinates of this descriptor-item. |
AttributeSet |
getHints()
Returns an AttributeSet that holds the geometrical hints
provides by the GeometryDescriptorItem. |
GeometryItem |
getItem()
Returns the GeometryItem belonging to this descriptor. |
java.lang.String |
getItemName()
|
java.lang.String |
getName()
Returns the name of this GeometryDescriptorItem. |
int |
getType()
Returns the type of the GeometryDescriptorItem |
boolean |
hasHints()
Returns a boolean that indicates whether the
GeometryDescriptorItem provides geometrical hints or not. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DefaultGeometryDescriptorItem(java.lang.String name,
java.lang.String itemname,
GeometryItemCoordinates coordinates,
AttributeSet attributes)
DefaultGeometryDescriptorItem specifying
the GeometryItem, the GeometryItemCoordinates
and an AttributeSet to use.
itemname - the name of the GeometryItem referenced
by this DefaultGeometryDescriptorItemcoordinates - the GeometryItemCoordinates to useattributes - the AttributeSet to use.; may be
null. These attributes are meant for future requirements. Do
not pass the attributes of the GeometryItem here. They are
handled elsewhere.
public DefaultGeometryDescriptorItem(java.lang.String name,
java.lang.String itemname,
GeometryItemCoordinates coordinates,
AttributeSet attributes,
AttributeSet hints)
DefaultGeometryDescriptorItem specifying
the GeometryItem, the GeometryItemCoordinates
and an AttributeSet to use.
itemname - the name of the GeometryItem to referenced
by this DefaultGeometryDescriptorItemcoordinates - the GeometryItemCoordinates to useattributes - the AttributeSet to use.; may be
null. These attributes are meant for future requirements. Do
not pass the attributes of the GeometryItem here. They are
handled elsewhere.hints - printing hints (optional)| Method Detail |
public int getType()
GeometryDescriptorItemGeometryDescriptorItem. The type of a
GeometryDescriptorItem identifies the item.
- Specified by:
getType in interface GeometryDescriptorItem
- Returns:
- an
int specifying the type. Possible values are
defined in GeometryItem. - See Also:
GeometryItem
public java.lang.String getName()
GeometryDescriptorItemGeometryDescriptorItem.
getName in interface GeometryDescriptorItemGeometryDescriptorItem.public java.lang.String getItemName()
getItemName in interface GeometryDescriptorItempublic GeometryItem getItem()
GeometryDescriptorItemGeometryItem belonging to this descriptor.
getItem in interface GeometryDescriptorItemGeometryItem belonging to this descriptor.public GeometryItemCoordinates getCoordinates()
GeometryDescriptorItem
getCoordinates in interface GeometryDescriptorItempublic AttributeSet getAttributes()
GeometryDescriptorItemAttributeSet that holds the various attributes of
this GeometryDescriptorItem. If no attributes are assigned
to the GeometryDescriptorItem the return value is
null.
getAttributes in interface GeometryDescriptorItemAttributeSet holding the various attributes of
this GeometryDescriptorItem or null.public boolean hasHints()
GeometryDescriptorItemboolean that indicates whether the
GeometryDescriptorItem provides geometrical hints or not.
hasHints in interface GeometryDescriptorItempublic AttributeSet getHints()
GeometryDescriptorItemAttributeSet that holds the geometrical hints
provides by the GeometryDescriptorItem.
getHints in interface GeometryDescriptorItempublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||