Class DefaultComplexLabelClass

java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport
org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
org.gvsig.complexlabel.impl.DefaultComplexLabelClass
All Implemented Interfaces:
Cloneable, org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass, org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.persistence.Persistent

public class DefaultComplexLabelClass extends org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass implements org.gvsig.tools.persistence.Persistent
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport

    org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport.CartographicContext
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport

    PAPER, WORLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    double
     
    double
     
    boolean
     
    boolean
    isVisible(double scale)
     
    void
    loadFromState(org.gvsig.tools.persistence.PersistentState state)
     
    void
    saveToState(org.gvsig.tools.persistence.PersistentState state)
     
    void
    setMaxScale(double maxScale)
     
    void
    setMinScale(double minScale)
     

    Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass

    draw, drawInsideRectangle, getBounds, getCartographicSize, getClassName, getLabelExpressions, getLabelStyle, getName, getPriority, getShape, getSQLQuery, getStringLabelExpression, getTexts, getTextSymbol, isUseSqlQuery, setLabelExpressions, setLabelStyle, setName, setPriority, setReferenceSystem, setSQLQuery, setTexts, setTextSymbol, setUnit, setUseSqlQuery, setVisible, toString

    Methods inherited from class org.gvsig.symbology.fmap.mapcontext.rendering.symbol.impl.AbstractCartographicSupport

    copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, isInPixels, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, toCartographicUnits

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.gvsig.fmap.mapcontext.rendering.symbols.CartographicSupport

    copyCartographicContext, getCartographicContext, getReferenceSystem, getUnit, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, setCartographicContext, toCartographicUnits
  • Field Details

    • COMPLEXLABELCLASS_PERSISTENCE_DEFINITION_NAME

      public static final String COMPLEXLABELCLASS_PERSISTENCE_DEFINITION_NAME
      See Also:
  • Constructor Details

    • DefaultComplexLabelClass

      public DefaultComplexLabelClass()
  • Method Details

    • getMinScale

      public double getMinScale()
    • setMinScale

      public void setMinScale(double minScale)
    • getMaxScale

      public double getMaxScale()
    • setMaxScale

      public void setMaxScale(double maxScale)
    • isVisible

      public boolean isVisible()
      Specified by:
      isVisible in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass
      Overrides:
      isVisible in class org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
    • isVisible

      public boolean isVisible(double scale)
      Specified by:
      isVisible in interface org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelClass
      Overrides:
      isVisible in class org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
    • loadFromState

      public void loadFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
      Specified by:
      loadFromState in interface org.gvsig.tools.persistence.Persistent
      Overrides:
      loadFromState in class org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
      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:
      saveToState in interface org.gvsig.tools.persistence.Persistent
      Overrides:
      saveToState in class org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.tools.lang.Cloneable
      Overrides:
      clone in class org.gvsig.symbology.fmap.mapcontext.rendering.legend.styling.LabelClass
      Throws:
      CloneNotSupportedException