kaos.kpat.applet
Class ConfigurationTabBuilder

java.lang.Object
  extended by kaos.kpat.applet.ConfigurationTabBuilder

public class ConfigurationTabBuilder
extends java.lang.Object

The ConfigurationTabBuilder helps to build the components of the Configuration Tab in KPAT.


Field Summary
protected  javax.swing.JButton _clearBtn
           
protected  javax.swing.JList _configList
           
protected  javax.swing.DefaultListModel _configListModel
           
protected  ConfigurationObject _configObj
           
protected static java.lang.String _configPath
           
protected  javax.swing.JList _configResList
           
protected  javax.swing.DefaultListModel _configResListModel
           
protected  java.lang.String _configSelection
           
protected  javax.swing.JPanel _configTab
           
protected  javax.swing.JTextArea _descArea
           
protected  javax.swing.JTextField _fileTextField
           
protected  javax.swing.JButton _okBtn
           
protected  javax.swing.JPasswordField _passwField
           
protected  java.lang.String _psswd
           
protected  javax.swing.JPanel _resultsConfigPanel
           
protected  java.lang.String _servletURL
           
protected  javax.swing.JLabel _statusLabel
           
protected  java.lang.String _username
           
protected  javax.swing.JTextField _usernameTextField
           
protected  javax.swing.JTextField _userTextField
           
 
Constructor Summary
ConfigurationTabBuilder(TunnelClient tunnelClient, KPATApplet appletFrame)
           
 
Method Summary
protected  void createGui()
           
protected  void displayConfigInfo(ConfigurationObject configObj)
           
 java.lang.String getConfigDescription()
           
 javax.swing.JPanel getConfigRightPanel()
           
 javax.swing.JPanel getConfigTab()
           
protected  void getDefaultView()
          Get the default view of KPAT when no configuration object has been built yet.
 java.lang.String getPassword()
          Get the password from Authentication dialog
protected  java.lang.String getShortName(java.lang.String name)
          Return the short name for this url.
 java.lang.String getUsername()
          Get the username from Authentication dialog
 void setConfigurationListDefault()
          Set the default for the configuration to the list of namespaces.
 void setStatusLabel(boolean isDSStatusActive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_clearBtn

protected javax.swing.JButton _clearBtn

_okBtn

protected javax.swing.JButton _okBtn

_configObj

protected ConfigurationObject _configObj

_statusLabel

protected javax.swing.JLabel _statusLabel

_configList

protected javax.swing.JList _configList

_configResList

protected javax.swing.JList _configResList

_configListModel

protected javax.swing.DefaultListModel _configListModel

_configResListModel

protected javax.swing.DefaultListModel _configResListModel

_configTab

protected javax.swing.JPanel _configTab

_resultsConfigPanel

protected javax.swing.JPanel _resultsConfigPanel

_passwField

protected javax.swing.JPasswordField _passwField

_descArea

protected javax.swing.JTextArea _descArea

_fileTextField

protected javax.swing.JTextField _fileTextField

_usernameTextField

protected javax.swing.JTextField _usernameTextField

_userTextField

protected javax.swing.JTextField _userTextField

_configSelection

protected java.lang.String _configSelection

_psswd

protected java.lang.String _psswd

_servletURL

protected java.lang.String _servletURL

_username

protected java.lang.String _username

_configPath

protected static java.lang.String _configPath
Constructor Detail

ConfigurationTabBuilder

public ConfigurationTabBuilder(TunnelClient tunnelClient,
                               KPATApplet appletFrame)
Method Detail

createGui

protected void createGui()

getConfigTab

public javax.swing.JPanel getConfigTab()

getConfigRightPanel

public javax.swing.JPanel getConfigRightPanel()

getConfigDescription

public java.lang.String getConfigDescription()

displayConfigInfo

protected void displayConfigInfo(ConfigurationObject configObj)

getDefaultView

protected void getDefaultView()
Get the default view of KPAT when no configuration object has been built yet.


setConfigurationListDefault

public void setConfigurationListDefault()
Set the default for the configuration to the list of namespaces.


getShortName

protected java.lang.String getShortName(java.lang.String name)
Return the short name for this url.


getUsername

public java.lang.String getUsername()
Get the username from Authentication dialog


getPassword

public java.lang.String getPassword()
Get the password from Authentication dialog


setStatusLabel

public void setStatusLabel(boolean isDSStatusActive)