|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlvLabelMovementPolicy
An interface used to define the policies when a label is allowed to be moved by the label layout algorithm.
For instance, you can use it to allow only labels to be moved that overlap with obstacles, or labels to be moved that belong to certain obstacles (nodes, links, cities in a map, and so forth). A label that is not moved is still respected during layout, in the sense that the other labels may try to avoid overlaps with the label. So, the label is not completely filtered away.
IlvAnnealingLabelLayout.setLabelMovementPolicy(ilog.views.graphlayout.labellayout.IlvLabelMovementPolicy)| Method Summary | |
|---|---|
boolean |
allowMove(IlvLabelingModel labelingModel,
Object label)
Allows or prohibits the movement of a label. |
| Method Detail |
|---|
boolean allowMove(IlvLabelingModel labelingModel,
Object label)
label.
labelingModel - The labeling model to which the label belongs.label - The label.
true if it is allowed to move the label,
and false otherwise.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||