Class DefaultLabelingMethod
java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.DefaultLabelingMethod
- All Implemented Interfaces:
org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod,org.gvsig.tools.persistence.Persistent
public class DefaultLabelingMethod
extends Object
implements org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor for persistence.DefaultLabelingMethod(LabelClass 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) voidrenameLabelClass(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass lbl, String newName) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidsetDefinesPriorities(boolean flag)
-
Constructor Details
-
DefaultLabelingMethod
public DefaultLabelingMethod()Empty constructor for persistence. -
DefaultLabelingMethod
-
-
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
-
getClassName
-
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
-