public interface IlvAnnealingLabelDescriptorProvider
IlvAnnealingLabelLayout.setLabelDescriptorProvider(IlvAnnealingLabelDescriptorProvider)
and then
don't need to call IlvAnnealingLabelLayout.setLabelDescriptor(Object, IlvAnnealingLabelDescriptor)
, since the provider mechanism does it for you.
Modifier and Type | Method and Description |
---|---|
IlvAnnealingLabelDescriptor |
getLabelDescriptor(IlvAnnealingLabelLayout layout,
Object label)
Returns the label descriptor of a label.
|
Enumeration |
getLabels(IlvAnnealingLabelLayout layout,
Object obstacle)
Returns all labels associated with a specific obstacle.
|
IlvAnnealingLabelDescriptor getLabelDescriptor(IlvAnnealingLabelLayout layout, Object label)
null
is returned, the label
layout will only take the label descriptors into account, that where
explicitly set for this label via IlvAnnealingLabelLayout.setLabelDescriptor(Object,
IlvAnnealingLabelDescriptor)
.layout
- The layout instance.label
- The label whose descriptor is requested.Enumeration getLabels(IlvAnnealingLabelLayout layout, Object obstacle)
null
is returned, the
label layout will only know about the labels of an object after the
label descriptor was set via IlvAnnealingLabelLayout.setLabelDescriptor(Object,
IlvAnnealingLabelDescriptor)
.layout
- The layout instance.obstacle
- The obstacle whose labels are requested.IlvAnnealingLabelDescriptor.getRelatedObstacle()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.