|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.kpat.tabs.ConfigurationTab
public class ConfigurationTab
The ConfigurationTab helps to build the components of the Configuration Tab in KPAT.
Nested Class Summary | |
---|---|
class |
ConfigurationTab.NamespaceListCellRenderer
|
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 java.util.Hashtable |
_longNamesHashtable
|
protected javax.swing.JButton |
_okBtn
|
protected javax.swing.JPanel |
_resultsConfigPanel
|
protected javax.swing.JTextField |
_servTextField
|
protected javax.swing.JLabel |
_statusLabel
|
protected javax.swing.JTextField |
_userTextField
|
static java.lang.String |
NAME
|
Constructor Summary | |
---|---|
ConfigurationTab()
|
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.awt.Component |
getDisplayComponent()
|
java.lang.String |
getName()
|
protected java.lang.String |
getShortName(java.lang.String name)
Return the short name for this url. |
protected java.lang.String |
getStrFromURL(java.lang.String urlStr)
|
java.lang.String |
getUsername()
Get the current username |
void |
initialize(KPATApplet applet,
TunnelClient tunnelClient)
|
void |
loadConfigurationFromFile(java.io.File f)
|
void |
saveConfigurationToFile()
Save the current configuration: domains, namespaces, policies and policy sets to a file. |
void |
setConfigurationListDefault()
Set the default for the configuration to the list of namespaces. |
void |
setStatusLabel(boolean isDSStatusActive)
Get the password from Authentication dialog |
void |
viewConfigurationFromFile(java.io.File f)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
protected javax.swing.JButton _clearBtn
protected javax.swing.JButton _okBtn
protected ConfigurationObject _configObj
protected javax.swing.JLabel _statusLabel
protected javax.swing.JList _configList
protected javax.swing.JList _configResList
protected javax.swing.DefaultListModel _configListModel
protected javax.swing.DefaultListModel _configResListModel
protected javax.swing.JPanel _configTab
protected javax.swing.JPanel _resultsConfigPanel
protected javax.swing.JTextArea _descArea
protected javax.swing.JTextField _fileTextField
protected javax.swing.JTextField _servTextField
protected javax.swing.JTextField _userTextField
protected java.lang.String _configSelection
protected java.util.Hashtable _longNamesHashtable
protected static java.lang.String _configPath
Constructor Detail |
---|
public ConfigurationTab()
Method Detail |
---|
public void initialize(KPATApplet applet, TunnelClient tunnelClient)
initialize
in interface TabPanel
public java.lang.String getName()
getName
in interface TabPanel
public java.awt.Component getDisplayComponent()
getDisplayComponent
in interface TabPanel
protected void createGui()
public void viewConfigurationFromFile(java.io.File f)
public javax.swing.JPanel getConfigTab()
public javax.swing.JPanel getConfigRightPanel()
public java.lang.String getConfigDescription()
protected void displayConfigInfo(ConfigurationObject configObj)
public void saveConfigurationToFile()
public void loadConfigurationFromFile(java.io.File f)
protected void getDefaultView()
public void setConfigurationListDefault()
protected java.lang.String getStrFromURL(java.lang.String urlStr)
protected java.lang.String getShortName(java.lang.String name)
public java.lang.String getUsername()
public void setStatusLabel(boolean isDSStatusActive)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |