ilog.views.maps.labelling
Class IlvMapLabelerController

java.lang.Object
  extended by ilog.views.maps.labelling.IlvMapLabeler
      extended by ilog.views.maps.labelling.IlvMapLabelerController

public class IlvMapLabelerController
extends IlvMapLabeler

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.

Since:
JViews 5.0

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

IlvMapLabelerController

public IlvMapLabelerController(IlvManager manager)
Constructs an 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

getManager

public IlvManager getManager()
Retrieves the manager controlled by this controller.


setIgnoringView

public void setIgnoringView(IlvManagerView view,
                            boolean ignore)
Tells the controller if it should ignore the view or not.


isIgnoringView

public boolean isIgnoringView(IlvManagerView view)
Returns true if the view is ignored by the layout controller.

Parameters:
view - The view to check.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.