|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 - parameter| Method Detail |
|---|
public boolean includesEntity(java.lang.Object entity)
includesEntity in interface EntityFeatureentity - parameter
public java.util.Iterator iterator()
iterator in interface EntityFeaturepublic java.lang.String getName()
getName method here.
getName in interface HasNamegetName in interface EntityFeatureString valuepublic ERVDerivedFontMap getDerivedFontMap()
getDerivedFontMap in interface EntityFeaturepublic java.lang.Class getShapeClass(java.lang.Object entity)
getShapeClass in interface EntityFeatureentity - 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 EntityFeatureentity - an Object value
RectangularShape valuepublic java.awt.geom.Point2D.Double getPosition(java.lang.Object entity)
getPosition in interface EntityFeatureentity - parameter
public double getMinNormedHeight(java.lang.Object entity)
getMinNormedHeight in interface EntityFeatureentity - parameter
public double getMaxNormedHeight(java.lang.Object entity)
getMaxNormedHeight in interface EntityFeatureentity - parameter
public double getHeight(java.lang.Object entity)
getHeight in interface EntityFeatureentity - parameter
public java.awt.Color getColor(java.lang.Object entity)
getColor in interface ColorFeaturegetColor in interface EntityFeatureentity - parameter
public java.awt.Color getBorderColor(java.lang.Object entity)
getBorderColor in interface EntityFeatureentity - parameter
public java.lang.String getText(java.lang.Object entity)
getText in interface EntityFeatureentity - 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 | |||||||||