Class LegendEventBase

java.lang.Object
org.gvsig.fmap.mapcontext.events.FMapEventBase
org.gvsig.fmap.mapcontext.rendering.legend.events.LegendEventBase
All Implemented Interfaces:
FMapEvent, LegendEvent
Direct Known Subclasses:
LegendChangedEvent, RasterLegendEventBase, VectorLegendEventBase

public class LegendEventBase extends FMapEventBase implements LegendEvent
Author:
fdiaz
  • Constructor Details

    • LegendEventBase

      public LegendEventBase()
    • LegendEventBase

      public LegendEventBase(int type, int subtype)
      Parameters:
      subtype -
  • Method Details

    • getLayer

      Deprecated.
      Description copied from interface: LegendEvent

      Returns the layer of the legend where the event was produced, as a classifiable and vector layer.

      Specified by:
      getLayer in interface LegendEvent
      Returns:
      the layer where the event was produced, as classifiable vector
    • setLayer

      @Deprecated public void setLayer(ClassifiableVectorial layer)
      Deprecated.
      Description copied from interface: LegendEvent

      Sets the layer of the legend where the event was produced, as a classifiable and vector layer.

      Specified by:
      setLayer in interface LegendEvent
      Parameters:
      layer - the layer where the event was produced, as classifiable vector
    • getEventSubtype

      public int getEventSubtype()
      Description copied from interface: LegendEvent

      Gets the subtype of this event.

      Specified by:
      getEventSubtype in interface LegendEvent
      Returns:
      the subtype of this event
    • setEventSubtype

      public void setEventSubtype(int eventSubtype)
      Description copied from interface: LegendEvent

      Sets the subtype of the event.

      Specified by:
      setEventSubtype in interface LegendEvent
      Parameters:
      eventSubtype - the number that identifies this event's type