|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the general interface for optimizers that need to alter the contents of Themes before the parent MapView object is painted. For example, the placements of LabelDisplayElements in a Theme may be optimized to minimize overlapping using the LabelOptimizer.
Method Summary | |
void |
addTheme(Theme theme)
Adds a Theme that the Optimizer should consider. |
void |
optimize(java.awt.Graphics2D g)
Invokes the optimization process. |
void |
setMapView(MapView mapView)
Sets the associated MapView-instance. |
Method Detail |
public void setMapView(MapView mapView)
mapView
- public void addTheme(Theme theme)
theme
- public void optimize(java.awt.Graphics2D g)
g
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |