Package org.gvsig.labeling.label
Class OnSelectionLabeled
java.lang.Object
org.gvsig.labeling.label.OnSelectionLabeled
- All Implemented Interfaces:
org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod,org.gvsig.tools.persistence.Persistent
public class OnSelectionLabeled
extends Object
implements org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
OnSelectionLabeled.java
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor for persistence.OnSelectionLabeled(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass defaultLabel) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLabelClass(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lbl) booleanvoidorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethodbooleanvoiddeleteLabelClass(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lbl) org.gvsig.fmap.dal.feature.FeatureSetgetFeatureIteratorByLabelClass(org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect layer, org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lc, org.gvsig.fmap.mapcontext.ViewPort viewPort, String[] usedFields) org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClassgetLabelClassByName(String labelName) org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass[]voidloadFromState(org.gvsig.tools.persistence.PersistentState state) static voidvoidrenameLabelClass(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lbl, String newName) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidsetDefinesPriorities(boolean flag)
-
Constructor Details
-
OnSelectionLabeled
public OnSelectionLabeled()Empty constructor for persistence. -
OnSelectionLabeled
public OnSelectionLabeled(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass defaultLabel)
-
-
Method Details
-
addLabelClass
public void addLabelClass(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lbl) - Specified by:
addLabelClassin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
deleteLabelClass
public void deleteLabelClass(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lbl) - Specified by:
deleteLabelClassin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
allowsMultipleClass
public boolean allowsMultipleClass()- Specified by:
allowsMultipleClassin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
renameLabelClass
public void renameLabelClass(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lbl, String newName) - Specified by:
renameLabelClassin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
getFeatureIteratorByLabelClass
public org.gvsig.fmap.dal.feature.FeatureSet getFeatureIteratorByLabelClass(org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect layer, org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lc, org.gvsig.fmap.mapcontext.ViewPort viewPort, String[] usedFields) throws org.gvsig.fmap.dal.exception.DataException - Specified by:
getFeatureIteratorByLabelClassin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod- Throws:
org.gvsig.fmap.dal.exception.DataException
-
definesPriorities
public boolean definesPriorities()- Specified by:
definesPrioritiesin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
setDefinesPriorities
public void setDefinesPriorities(boolean flag) - Specified by:
setDefinesPrioritiesin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
getLabelClassByName
public org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass getLabelClassByName(String labelName) - Specified by:
getLabelClassByNamein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
clearAllClasses
public void clearAllClasses()- Specified by:
clearAllClassesin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
getLabelClasses
public org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass[] getLabelClasses()- Specified by:
getLabelClassesin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
cloneMethod
public org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod cloneMethod()- Specified by:
cloneMethodin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
loadFromState
public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
loadFromStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
saveToState
public void saveToState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException - Specified by:
saveToStatein interfaceorg.gvsig.tools.persistence.Persistent- Throws:
org.gvsig.tools.persistence.exception.PersistenceException
-
registerPersistent
public static void registerPersistent()
-