Class AbstractLabelingMethodPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.gvsig.labeling.gui.layerproperties.AbstractLabelingMethodPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible
Direct Known Subclasses:
DefaultLabeling, FeatureDependent

public abstract class AbstractLabelingMethodPanel extends JPanel implements PropertyChangeListener
Author:
gvSIG Team
See Also:
  • Field Details

    • PLACEMENT_CONSTRAINTS

      public static final String PLACEMENT_CONSTRAINTS
      See Also:
    • ALLOW_OVERLAP

      public static final String ALLOW_OVERLAP
      See Also:
    • ZOOM_CONSTRAINTS

      public static final String ZOOM_CONSTRAINTS
      See Also:
    • layer

      protected org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect layer
    • method

      protected org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod method
  • Constructor Details

    • AbstractLabelingMethodPanel

      public AbstractLabelingMethodPanel()
  • Method Details

    • getName

      public abstract String getName()
      Overrides:
      getName in class Component
    • getLabelingMethodClass

      public abstract Class<? extends org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod> getLabelingMethodClass()
      Returns:
      the labeling method class.
    • setModel

      public void setModel(org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod method, org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect srcLayer) throws org.gvsig.fmap.dal.exception.ReadException
      Parameters:
      method -
      srcLayer -
      Throws:
      org.gvsig.fmap.dal.exception.ReadException
    • initializePanel

      protected abstract void initializePanel()
    • fillPanel

      public abstract void fillPanel(org.gvsig.fmap.dal.feature.FeatureType ftype) throws org.gvsig.fmap.dal.exception.ReadException
      Parameters:
      ftype -
      Throws:
      org.gvsig.fmap.dal.exception.ReadException
    • toString

      public String toString()
      Overrides:
      toString in class Component
    • getMethod

      public org.gvsig.fmap.mapcontext.rendering.legend.styling.ILabelingMethod getMethod()
      Returns:
      the labeling method
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object