Class ZoomConstraintsImpl
java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.ZoomConstraintsImpl
- All Implemented Interfaces:
org.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints,org.gvsig.tools.persistence.Persistent
public class ZoomConstraintsImpl
extends Object
implements org.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints
DEFINED_BY_THE_LAYER, DEFINED_BY_THE_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongbooleanbooleanvoidloadFromState(org.gvsig.tools.persistence.PersistentState state) voidsaveToState(org.gvsig.tools.persistence.PersistentState state) voidsetMaxScale(long maxScale) voidsetMinScale(long minScale) voidsetMode(int mode)
-
Constructor Details
-
ZoomConstraintsImpl
public ZoomConstraintsImpl()
-
-
Method Details
-
setMode
public void setMode(int mode) - Specified by:
setModein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints- Parameters:
mode-
-
getMaxScale
public long getMaxScale()- Specified by:
getMaxScalein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints- Returns:
-
setMaxScale
public void setMaxScale(long maxScale) - Specified by:
setMaxScalein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints- Parameters:
maxScale-
-
getMinScale
public long getMinScale()- Specified by:
getMinScalein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints- Returns:
-
setMinScale
public void setMinScale(long minScale) - Specified by:
setMinScalein interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints- Parameters:
minScale-
-
isUserDefined
public boolean isUserDefined()- Specified by:
isUserDefinedin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints
-
isLayerDefined
public boolean isLayerDefined()- Specified by:
isLayerDefinedin interfaceorg.gvsig.fmap.mapcontext.rendering.legend.styling.IZoomConstraints
-
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
-