|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Basic interface of all display elements. A DisplayElement is associated to one feature that may have a geometry property or not (usually it has).
Method Summary | |
boolean |
doesScaleConstraintApply(double scale)
Returns if the DisplayElement should be painted at the current scale or not. |
java.lang.String |
getAssociateFeatureId()
returns the id of thr feature that's associated with the DisplayElement |
Feature |
getFeature()
Returns the associated Feature. |
boolean |
isHighlighted()
returns if the DisplayElement is highlighted or not. |
boolean |
isSelected()
returns if the DisplayElement is selected or not |
void |
paint(java.awt.Graphics g,
GeoTransform projection)
renders the DisplayElement to the submitted graphic context |
void |
setHighlighted(boolean highlighted)
marks the DisplayElement as highlighted or not |
void |
setSelected(boolean selected)
marks a DisplayElement as selected or not |
Method Detail |
public Feature getFeature()
public java.lang.String getAssociateFeatureId()
public void paint(java.awt.Graphics g, GeoTransform projection)
public void setSelected(boolean selected)
public boolean isSelected()
public void setHighlighted(boolean highlighted)
public boolean isHighlighted()
public boolean doesScaleConstraintApply(double scale)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |