Class WFSSelectFeaturePanel.LayerTable

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTable
org.gvsig.wfs.gui.panels.WFSSelectFeaturePanel.LayerTable
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable
Enclosing class:
WFSSelectFeaturePanel

public class WFSSelectFeaturePanel.LayerTable extends JTable
Table with the information of all layers which could be selected from the server connected.
Author:
Pablo Piqueras Bartolomé (pablo.piqueras@iver.es), Jorge Piera Llodrá (piera_jor@gva.es)
See Also:
  • Constructor Details

    • LayerTable

      public LayerTable()
      Creates a new instance of LayerTable
  • Method Details

    • createDefaultColumnsFromModel

      public void createDefaultColumnsFromModel()
      Overrides:
      createDefaultColumnsFromModel in class JTable
    • getSelectedValue

      public WFSSelectedFeature getSelectedValue()
      Gets the selected WFS layer.
      Returns:
      node of the selected WFS layer
    • getValueAt

      public WFSSelectedFeature getValueAt(int position)
      Gets the layer at a row position.
      Returns:
      node of the selected WFS layer
    • addFeatures

      public void addFeatures(WFSSelectedFeature[] features)
      Adds the available features to load as a WFS layer.
      Parameters:
      features - available features
    • setShowLayerNames

      public void setShowLayerNames(boolean showFeatureNameType)
      Shows the names of the features.
      Parameters:
      showFeatureNameType - The showLayerNames to set.