|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ascape.view.vis.erv.DefaultEntityFeature
public class DefaultEntityFeature
A default implementation of the EntityFeature interface.
Constructor Summary | |
---|---|
DefaultEntityFeature(Scape scape,
java.lang.String name)
Constructs an instance of DefaultEntityFeature. |
Method Summary | |
---|---|
java.awt.Color |
getBorderColor(java.lang.Object entity)
Gets the borderColor for the DefaultEntityFeature object. |
java.awt.Color |
getColor(java.lang.Object entity)
Gets the color for the DefaultEntityFeature object. |
ERVDerivedFontMap |
getDerivedFontMap()
Gets the derivedFontMap for the DefaultEntityFeature object. |
double |
getHeight(java.lang.Object entity)
Gets the height for the DefaultEntityFeature object. |
double |
getMaxNormedHeight(java.lang.Object entity)
Gets the maxNormedHeight for the DefaultEntityFeature object. |
double |
getMinNormedHeight(java.lang.Object entity)
Gets the minNormedHeight for the DefaultEntityFeature object. |
java.lang.String |
getName()
Describe getName method here. |
java.awt.geom.Point2D.Double |
getPosition(java.lang.Object entity)
Gets the position for the DefaultEntityFeature object. |
java.awt.geom.RectangularShape |
getShape(java.lang.Object entity)
getShape returns a new instance of the entity's shape
class. |
java.lang.Class |
getShapeClass(java.lang.Object entity)
Gets the shapeClass for the DefaultEntityFeature object. |
java.lang.String |
getText(java.lang.Object entity)
Gets the text for the DefaultEntityFeature object. |
boolean |
includesEntity(java.lang.Object entity)
Method. |
java.util.Iterator |
iterator()
Method. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultEntityFeature(Scape scape, java.lang.String name)
scape
- parametername
- parameterMethod Detail |
---|
public boolean includesEntity(java.lang.Object entity)
includesEntity
in interface EntityFeature
entity
- parameter
public java.util.Iterator iterator()
iterator
in interface EntityFeature
public java.lang.String getName()
getName
method here.
getName
in interface HasName
getName
in interface EntityFeature
String
valuepublic ERVDerivedFontMap getDerivedFontMap()
getDerivedFontMap
in interface EntityFeature
public java.lang.Class getShapeClass(java.lang.Object entity)
getShapeClass
in interface EntityFeature
entity
- parameter
public java.awt.geom.RectangularShape getShape(java.lang.Object entity)
getShape
returns a new instance of the entity's shape
class.
getShape
in interface EntityFeature
entity
- an Object
value
RectangularShape
valuepublic java.awt.geom.Point2D.Double getPosition(java.lang.Object entity)
getPosition
in interface EntityFeature
entity
- parameter
public double getMinNormedHeight(java.lang.Object entity)
getMinNormedHeight
in interface EntityFeature
entity
- parameter
public double getMaxNormedHeight(java.lang.Object entity)
getMaxNormedHeight
in interface EntityFeature
entity
- parameter
public double getHeight(java.lang.Object entity)
getHeight
in interface EntityFeature
entity
- parameter
public java.awt.Color getColor(java.lang.Object entity)
getColor
in interface ColorFeature
getColor
in interface EntityFeature
entity
- parameter
public java.awt.Color getBorderColor(java.lang.Object entity)
getBorderColor
in interface EntityFeature
entity
- parameter
public java.lang.String getText(java.lang.Object entity)
getText
in interface EntityFeature
entity
- parameter
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 |