Class WFSSelectFeaturePanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.gvsig.gui.beans.panelGroup.panels.AbstractPanel
org.gvsig.wfs.gui.panels.AbstractWFSPanel
org.gvsig.wfs.gui.panels.WFSSelectFeaturePanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Comparable<org.gvsig.gui.beans.panelGroup.panels.IPanel>, Accessible, org.gvsig.gui.beans.panelGroup.panels.IPanel, IWFSPanel

public class WFSSelectFeaturePanel extends AbstractWFSPanel

Panel where user can select a feature type to load as a WFS layer.

Author:
Jorge Piera Llodrá (piera_jor@gva.es), Pablo Piqueras Bartolomé (pablo.piqueras@iver.es)
See Also:
  • Constructor Details

    • WFSSelectFeaturePanel

      public WFSSelectFeaturePanel()
      Creates a new WFS select feature panel.
  • Method Details

    • getLstFeatures

      public WFSSelectFeaturePanel.LayerTable getLstFeatures()
      This method initializes lstFeatures
      Returns:
      javax.swing.LayerTable
    • getSelectedFeaturesCount

      public int getSelectedFeaturesCount()
    • getTxtName

      public JTextField getTxtName()
      This method initializes jTextField
      Returns:
      javax.swing.JTextField
    • setSelectedFeature

      public void setSelectedFeature(WFSSelectedFeature layerNode)
      Set the selected layer node
      Parameters:
      layerNode - the layer to select
    • refresh

      public void refresh(WFSSelectedFeature layer)
      Refresh the features list
      Specified by:
      refresh in interface IWFSPanel
      Overrides:
      refresh in class AbstractWFSPanel
      Parameters:
      layer - the selected layer
    • refreshData

      public void refreshData()
      Refreshes the wizard components data each time a feature is selected. The describeFeatureType operation must be sent.
    • getLayerName

      public String getLayerName()
      Gets the name of the layer (feature) selected.
      Returns:
      the layer name
    • getLayerNameSpace

      public String getLayerNameSpace()
      Gets the name space of the layer (feature) selected.
      Returns:
      the name space
    • getSelectedFeature

      public WFSSelectedFeature getSelectedFeature()
      Gets the selected feature.
      Returns:
      the selected feature
    • setLayerName

      public void setLayerName(String name)
      Sets the name of the feature selected.
      Parameters:
      name - the name of the feature selected
    • initialize

      protected void initialize()
      Overrides:
      initialize in class AbstractWFSPanel
    • setReference

      public void setReference(Object ref)
      Specified by:
      setReference in interface org.gvsig.gui.beans.panelGroup.panels.IPanel
      Overrides:
      setReference in class AbstractWFSPanel
    • unselectAllFeatures

      public void unselectAllFeatures()
      Updates the list with no feature selected.