public class IlvMapLabeler extends Object
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 and Description |
---|
IlvMapLabeler()
Constructs the labeler.
|
Modifier and Type | Method and Description |
---|---|
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<IlvManagerLayer> |
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.
|
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<IlvManagerLayer> 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()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.