Class WFSSelectFieldsPanel

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.WFSSelectFieldsPanel
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 WFSSelectFieldsPanel extends AbstractWFSPanel

Panel with the fields of the feature selected of the current layer.

Author:
Jorge Piera Llodrá (piera_jor@gva.es), Pablo Piqueras Bartolomé (p_queras@hotmail.com)
See Also:
  • Constructor Details

    • WFSSelectFieldsPanel

      public WFSSelectFieldsPanel()
      Creates a new WFS select fields panel.
  • Method Details

    • getNamespace

      public String getNamespace()
      Gets the name space of the layer which contains the fields stored
      Returns:
      the namespace name space of the layer which contains the fields stored
    • getFieldsTreeTable

      public FieldsTreeTable getFieldsTreeTable()
      This method initializes lstTemps
      Returns:
      javax.swing.JList
    • refresh

      public void refresh(WFSSelectedFeature feature)
      Description copied from interface: IWFSPanel
      Refresh the panel
      Specified by:
      refresh in interface IWFSPanel
      Overrides:
      refresh in class AbstractWFSPanel
      Parameters:
      feature - the selected layer
    • setSelectedFields

      public void setSelectedFields(String selectedFields)

      Changes to enabled the selection value of the selected fields.

      Parameters:
      feature - node with the fields
    • getGeometryFieldName

      public String getGeometryFieldName()
      Gets the name of the field which is a geometry
      Returns:
      name of the field which is a geometry
    • getSelectedFields

      public WFSFeatureField[] getSelectedFields()
      Gets only the selected fields.
      Returns:
      the selected fields
    • getSelectedFieldsAsString

      public String getSelectedFieldsAsString()
    • getFieldsSelectedOfSameLayerHasChanged

      public boolean getFieldsSelectedOfSameLayerHasChanged()
      Returns true if user has changed the selection of some field of the same layer; else returns false
      Returns:
      A boolean value
    • setApplicable

      public void setApplicable(boolean applicable)

      Changes the status to applied.

      Parameters:
      applicable - a boolean value
    • resetFieldsSelectedOfSameLayerHasChanged

      public void resetFieldsSelectedOfSameLayerHasChanged()
      Resets the value of the field 'fieldsSelectedOfSameLayerHasChanged'
    • initialize

      protected void initialize()
      Overrides:
      initialize in class AbstractWFSPanel