|
||||||||||
| 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
public class IlvMapLabeler
The main labeling class. This class is a specific
layout class that performs label layout on IlvAnchoredLabels.
The layout itself is triggered by the call to the performLayout
method. The layout is performed on the layers that have been registered in
the labeler.
| Constructor Summary | |
|---|---|
IlvMapLabeler()
Constructs the labeler. |
|
| Method Summary | |
|---|---|
void |
addManagerLayer(IlvManagerLayer layer)
Adds a layer to the list of layer to be taken in account. |
IlvAnnealingLabelLayout |
getLabelLayout()
Retrieves the IlvAnnealingLabelLayout used to perform the layout. |
IlvMapLayoutParameters |
getLayoutParameters()
Retrieves the parameters used by this labeler. |
Enumeration |
getManagerLayers()
Retrieves the list of layers taken in account by the labeler. |
boolean |
isEnabled()
Tells if the layout is enabled or not. |
IlvLabelLayoutReport |
performLayout(IlvManagerView view)
Performs the label layout on the specified view. |
void |
removeManagerLayer(IlvManagerLayer layer)
Remove a layer from the list of layer to be taken in account. |
void |
setEnabled(boolean enable)
Enables or disables the layout. |
void |
setLayoutParameters(IlvMapLayoutParameters params)
Sets the parameters to be used by this labeler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvMapLabeler()
| Method Detail |
|---|
public IlvAnnealingLabelLayout getLabelLayout()
IlvAnnealingLabelLayout used to perform the layout.
public IlvMapLayoutParameters getLayoutParameters()
public void setLayoutParameters(IlvMapLayoutParameters params)
public void addManagerLayer(IlvManagerLayer layer)
public void removeManagerLayer(IlvManagerLayer layer)
public Enumeration getManagerLayers()
public IlvLabelLayoutReport performLayout(IlvManagerView view)
IlvLabelLayoutReport is returned or null if
the layout is disabled.
public void setEnabled(boolean enable)
performLayout method returns immediately.
public boolean isEnabled()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||