java.lang.Object
org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractLegend
All Implemented Interfaces:
Cloneable, org.gvsig.fmap.mapcontext.rendering.legend.ILegend, org.gvsig.fmap.mapcontext.rendering.legend.Legend, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.persistence.Persistent
Direct Known Subclasses:
AbstractVectorialLegend

public abstract class AbstractLegend extends Object implements org.gvsig.fmap.mapcontext.rendering.legend.ILegend
Abstract class that implements the interface for legends.It is considered as the father of all XXXLegends and will implement all the methods that these classes had not developed.
  • Field Details

  • Constructor Details

    • AbstractLegend

      public AbstractLegend()
  • Method Details

    • getManager

      public org.gvsig.fmap.mapcontext.MapContextManager getManager()
    • getSymbolManager

      public org.gvsig.fmap.mapcontext.rendering.symbols.SymbolManager getSymbolManager()
    • addLegendListener

      public void addLegendListener(org.gvsig.fmap.mapcontext.rendering.legend.events.LegendContentsChangedListener listener)
      Specified by:
      addLegendListener in interface org.gvsig.fmap.mapcontext.rendering.legend.ILegend
    • removeLegendListener

      public void removeLegendListener(org.gvsig.fmap.mapcontext.rendering.legend.events.LegendContentsChangedListener listener)
      Specified by:
      removeLegendListener in interface org.gvsig.fmap.mapcontext.rendering.legend.ILegend
    • fireDefaultSymbolChangedEvent

      public void fireDefaultSymbolChangedEvent(org.gvsig.fmap.mapcontext.rendering.legend.events.SymbolLegendEvent event)
      Specified by:
      fireDefaultSymbolChangedEvent in interface org.gvsig.fmap.mapcontext.rendering.legend.ILegend
    • getListeners

      public org.gvsig.fmap.mapcontext.rendering.legend.events.LegendContentsChangedListener[] getListeners()
      Specified by:
      getListeners in interface org.gvsig.fmap.mapcontext.rendering.legend.ILegend
    • addDrawingObserver

      public void addDrawingObserver(org.gvsig.tools.observer.Observer observer)
    • deleteDrawingObserver

      public void deleteDrawingObserver(org.gvsig.tools.observer.Observer observer)
    • deleteDrawingObservers

      public void deleteDrawingObservers()
    • addObserver

      public void addObserver(Reference<org.gvsig.tools.observer.Observer> ref)
    • beginComplexNotification

      public void beginComplexNotification()
    • countObservers

      public int countObservers()
    • deleteObserver

      public void deleteObserver(Reference<org.gvsig.tools.observer.Observer> ref)
    • disableNotifications

      public void disableNotifications()
    • enableNotifications

      public void enableNotifications()
    • endComplexNotification

      public void endComplexNotification()
    • inComplex

      public boolean inComplex()
    • isEnabledNotifications

      public boolean isEnabledNotifications()
    • notifyObservers

      public void notifyObservers()
    • notifyObservers

      public void notifyObservers(Object arg)
    • cloneLegend

      public org.gvsig.fmap.mapcontext.rendering.legend.ILegend cloneLegend()
      Specified by:
      cloneLegend in interface org.gvsig.fmap.mapcontext.rendering.legend.ILegend
    • clone

      public Object clone() throws CloneNotSupportedException
      Specified by:
      clone in interface org.gvsig.tools.lang.Cloneable
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • 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
      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
      Throws:
      org.gvsig.tools.persistence.exception.PersistenceException