public interface ILabelingStrategyPanel
Modifier and Type | Method and Description |
---|---|
ILabelingStrategy |
getLabelingStrategy()
Invoked when de user accepts the settings, the returned value
is a always ready-to-work labeling strategy.
|
Class |
getLabelingStrategyClass()
The panel shown in the layer properties dialog is selected through
the class of the labeling strategy.
|
String |
getLabelingStrategyName()
A human-readable localized text to make this strategy easily
recognizable among all the available strategies.
|
void |
setModel(FLayer layer,
ILabelingStrategy str)
Sets the model of the panel.
|
ILabelingStrategy getLabelingStrategy()
void setModel(FLayer layer, ILabelingStrategy str)
layer,
- the layer to whom the labeling strategy is associated.str,
- the current labeling strategy.String getLabelingStrategyName()
Class getLabelingStrategyClass()
The panel shown in the layer properties dialog is selected through
the class of the labeling strategy. This method returns such class.
Note that, as a collateral effect, the panel that sets up a labeling strategy can be substituted programatically by other of your wish if you return the same labeling strategy class than the one to be replaced with your new one. The last panel installed, will be the one to be shown.