Class WFSOptionsPanel

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

Panel with options about the timeout, maximum number of features, the projection reference system, and if it's implemented, user and password.

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

    • DEFAULT_TIMEOUT_MILLISECONDS

      public static final int DEFAULT_TIMEOUT_MILLISECONDS
      See Also:
    • DEFAULT_MAXFEATURES

      public static final int DEFAULT_MAXFEATURES
      See Also:
  • Constructor Details

    • WFSOptionsPanel

      public WFSOptionsPanel()
      Creates a new WFS options panel.
  • Method Details

    • getUserName

      public String getUserName()
      Gets the name of the user.
      Returns:
      name of the user
    • setUserName

      public void setUserName(String userName)
    • getPassword

      public String getPassword()
      Gets the password of the user.
      Returns:
      password of the user
    • setPassword

      public void setPassword(String password)
    • getBuffer

      public int getBuffer()
      Gets the maximum number of values that can load.
      Returns:
      the maximum number of values that can load
    • setBuffer

      public void setBuffer(int buffer)
    • getTimeout

      public int getTimeout()
      Gets the timeout used during the loading process.
      Returns:
      the timeout used during the loading process
    • setTimeOut

      public void setTimeOut(int timeOut)
    • getSRS

      public String getSRS()
      Gets the reference system of the layer.
      Returns:
      the reference system of the layer
    • getUseAxisOrderYX

      public boolean getUseAxisOrderYX()
    • setSRS

      public void setSRS(String srs)
    • setVersion

      public void setVersion(String str_ver)
    • refresh

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

      public void refreshVersions(List vers)
    • getAxisOrderYXCheckBox

      public JCheckBox getAxisOrderYXCheckBox()
    • initialize

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

      public static String getAxisOrderPreferredCrs(List crs_list)
      Returns the preferred CRS from a list. This is a utility and not very elegant method used until the WFS wizard is able to show a combo with the CRSs available in the server. Until then, we'll choose the CRS to prevent issues with axis order
      Parameters:
      crs_list -
      Returns:
    • getVersion

      public String getVersion()
      Returns: