|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.labelling.IlvMapLabeler
ilog.views.maps.labelling.IlvMapLabelerController
public class IlvMapLabelerController
This class implements a layout on demand mechanism, that is, performs
a label layout on a view each time the viewing area changes.
The viewing area can change because of a transformer change, a modification
of the view size or a layer visibility change.
This class controls the layout of IlvManagerViews attached
to an IlvManager by installing listeners on the IlvManagerViews and
on the IlvManager.
This class is a subclass of IlvMapLabeler which performs layout only
on IlvManager containing IlvAnchoredLabels.
| Constructor Summary | |
|---|---|
IlvMapLabelerController(IlvManager manager)
Constructs an IlvMapLabelerController for a given manager. |
|
| Method Summary | |
|---|---|
IlvManager |
getManager()
Retrieves the manager controlled by this controller. |
boolean |
isIgnoringView(IlvManagerView view)
Returns true if the view is ignored by the layout controller. |
void |
setIgnoringView(IlvManagerView view,
boolean ignore)
Tells the controller if it should ignore the view or not. |
| Methods inherited from class ilog.views.maps.labelling.IlvMapLabeler |
|---|
addManagerLayer, getLabelLayout, getLayoutParameters, getManagerLayers, isEnabled, performLayout, removeManagerLayer, setEnabled, setLayoutParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapLabelerController(IlvManager manager)
IlvMapLabelerController for a given manager.
All views attached to this manager are taken in account
except if the view is ignored by a call of the setIgnoringView
method.
| Method Detail |
|---|
public IlvManager getManager()
public void setIgnoringView(IlvManagerView view,
boolean ignore)
public boolean isIgnoringView(IlvManagerView view)
true if the view is ignored by the layout controller.
view - The view to check.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||