public interface ILabelingMethod extends Persistent
Modifier and Type | Method and Description |
---|---|
void |
addLabelClass(ILabelClass lbl)
Adds a LabelClass to the set of LabelClass contained by this ILabelingMethod.
|
boolean |
allowsMultipleClass()
Returns true if this ILabelingMethod allos the definition of more
LabelClasses than just the default LabelClass.
|
void |
clearAllClasses() |
ILabelingMethod |
cloneMethod() |
boolean |
definesPriorities() |
void |
deleteLabelClass(ILabelClass lbl)
Removes the LabelClass from the set of LabelClasses contained by this
ILabelingMethod.
|
FeatureSet |
getFeatureIteratorByLabelClass(FLyrVect layer,
ILabelClass lc,
ViewPort viewPort,
java.lang.String[] usedFields) |
ILabelClass |
getLabelClassByName(java.lang.String labelName)
Returns the LabelClass contained by this ILabelingMethod whose name matches
with the string passed in labelName.
|
ILabelClass[] |
getLabelClasses()
Returns all the labels defined by this Labeling Method
|
void |
renameLabelClass(ILabelClass lbl,
java.lang.String newName)
Changes the mane of a given LabelClass
|
void |
setDefinesPriorities(boolean flag) |
loadFromState, saveToState
ILabelClass[] getLabelClasses()
ILabelClass getLabelClassByName(java.lang.String labelName)
labelName
- void addLabelClass(ILabelClass lbl)
lbl
- void deleteLabelClass(ILabelClass lbl)
lbl,
- the LabelClass to be removedboolean allowsMultipleClass()
void renameLabelClass(ILabelClass lbl, java.lang.String newName)
lbl,
- the LabelClassnewName,
- the new nameFeatureSet getFeatureIteratorByLabelClass(FLyrVect layer, ILabelClass lc, ViewPort viewPort, java.lang.String[] usedFields) throws DataException
layer
- lc
- viewPort
- usedFields
- DataException
boolean definesPriorities()
void setDefinesPriorities(boolean flag)
void clearAllClasses()
ILabelingMethod cloneMethod()