Class PlacementProperties

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.gvsig.labeling.gui.layerproperties.PlacementProperties
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, org.gvsig.andami.ui.mdiManager.IWindow, IPlacementProperties

public class PlacementProperties extends JPanel implements IPlacementProperties, ActionListener
Author:
jaume dominguez faus - jaume.dominguez@iver.es
See Also:
  • Field Details

    • constraints

      public org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints constraints
  • Constructor Details

    • PlacementProperties

      public PlacementProperties(org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints constraints, int shapeType)
      Constructs a new panel for PlacementProperties.
      Parameters:
      constraints - , if not null this parameters is used to fill the panel. If it is null this PlacementProperties constructor creates a new default one that is ready to be used for the shapetype passed as second parameter
      shapeType - , defines the target shapetype of the IPlacementConstraints obtained;
  • Method Details

    • getWindowInfo

      public org.gvsig.andami.ui.mdiManager.WindowInfo getWindowInfo()
      Specified by:
      getWindowInfo in interface org.gvsig.andami.ui.mdiManager.IWindow
    • getWindowProfile

      public Object getWindowProfile()
      Specified by:
      getWindowProfile in interface org.gvsig.andami.ui.mdiManager.IWindow
    • applyConstraints

      public void applyConstraints() throws org.gvsig.fmap.geom.GeometryException
      Throws:
      org.gvsig.fmap.geom.GeometryException
    • getPlacementConstraints

      public org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints getPlacementConstraints()
      Specified by:
      getPlacementConstraints in interface IPlacementProperties
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • createPlacementProperties

      public static IPlacementProperties createPlacementProperties(org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints placementConstraints, int shapeType)
    • createPlacementProperties

      protected static IPlacementProperties createPlacementProperties(org.gvsig.fmap.mapcontext.rendering.legend.styling.IPlacementConstraints placementConstraints, int geotype, DuplicateLayersMode duplicatesMode)