|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ascape.util.vis.DefaultRelationFeature
public class DefaultRelationFeature
A default implementation of the EntityFeature interface.
Constructor Summary | |
---|---|
DefaultRelationFeature()
Constructs an instance of DefaultRelationFeature. |
|
DefaultRelationFeature(java.lang.String name)
Constructs an instance of DefaultRelationFeature. |
Method Summary | |
---|---|
java.awt.Color |
getGlyphColor(java.lang.Object source,
java.lang.Object destination)
Gets the glyphColor for the DefaultRelationFeature object. |
double |
getGlyphPosition(java.lang.Object source,
java.lang.Object destination)
Gets the glyphPosition for the DefaultRelationFeature object. |
java.awt.Color |
getLineColor(java.lang.Object source,
java.lang.Object destination)
Gets the lineColor for the DefaultRelationFeature object. |
double |
getLineWidth(java.lang.Object source,
java.lang.Object destination)
Gets the lineWidth for the DefaultRelationFeature object. |
java.lang.String |
getName()
Get the name of this relation. |
boolean |
includesRelation(java.lang.Object source,
java.lang.Object destination)
Method. |
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultRelationFeature()
public DefaultRelationFeature(java.lang.String name)
Method Detail |
---|
public boolean includesRelation(java.lang.Object source, java.lang.Object destination)
includesRelation
in interface RelationFeature
source
- parameterdestination
- parameter
public double getLineWidth(java.lang.Object source, java.lang.Object destination)
getLineWidth
in interface RelationFeature
source
- parameterdestination
- parameter
public java.awt.Color getLineColor(java.lang.Object source, java.lang.Object destination)
getLineColor
in interface RelationFeature
source
- parameterdestination
- parameter
public double getGlyphPosition(java.lang.Object source, java.lang.Object destination)
getGlyphPosition
in interface RelationFeature
source
- parameterdestination
- parameter
public java.awt.Color getGlyphColor(java.lang.Object source, java.lang.Object destination)
getGlyphColor
in interface RelationFeature
source
- parameterdestination
- parameter
public java.lang.String getName()
RelationFeature
getName
in interface RelationFeature
public void setName(java.lang.String name)
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 |