|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.kpat.tabs.GuardManagerTab
public class GuardManagerTab
The GuardManagerTab helps to build the components of the Guard Tab in KPAT.
Nested Class Summary | |
---|---|
class |
GuardManagerTab.EventTableCellRenderer
Table Cell Renderer for displaying a short name and tip text for each result. |
class |
GuardManagerTab.TableRepSelectionHandler
|
Field Summary | |
---|---|
protected javax.swing.JComboBox |
_actionComboBox
|
protected javax.swing.DefaultComboBoxModel |
_actionModel
|
protected java.lang.String |
_actionStr
|
protected javax.swing.JComboBox |
_actorComboBox
|
protected javax.swing.DefaultComboBoxModel |
_actorModel
|
protected java.lang.String |
_actorStr
|
protected static java.lang.String |
_configPath
|
protected SortableTreeNode |
_currentNode
|
protected javax.swing.JTextField |
_endField
|
protected java.util.Vector |
_eventListVector
|
protected javax.swing.JTable |
_eventTable
|
protected GuardConfigurationTab |
_guardConfPanel
|
protected java.util.Hashtable |
_guardDescriptionTable
|
protected java.lang.String |
_guardId
|
protected javax.swing.JPanel |
_guardRightPanel
|
protected javax.swing.JPanel |
_guardTab
|
protected javax.swing.JTree |
_guardTree
|
protected javax.swing.JCheckBox |
_logCheckBox
|
protected javax.swing.JPanel |
_loggerPanel
|
protected java.util.Hashtable |
_loggerURLTable
|
protected kaos.kpat.tabs.GuardManagerTab.LoggerTableModel |
_model
|
protected ModelPolicyList |
_modelPolicyList
|
protected java.lang.String |
_policyId
|
protected java.util.Vector |
_policyListVector
|
protected java.util.Vector |
_policySelectionVector
|
protected java.lang.String |
_refreshCacheStr
|
protected javax.swing.JButton |
_removeRepButton
|
protected javax.swing.JList |
_repList
|
protected javax.swing.DefaultListModel |
_repListModel
|
protected kaos.kpat.tabs.GuardManagerTab.RepositoryTableModel |
_repModel
|
protected javax.swing.JPanel |
_repositoryPanel
|
protected java.util.Vector |
_repositoryVector
|
protected javax.swing.JTable |
_repTable
|
protected java.util.Hashtable |
_repTableInfo
|
protected javax.swing.JSplitPane |
_splitPane
|
protected javax.swing.JTextField |
_startField
|
protected java.util.Vector |
_tableVector
|
protected javax.swing.JTabbedPane |
_tabPane
|
protected java.lang.String |
_timeStr
|
protected javax.swing.tree.DefaultTreeModel |
_treeModel
|
Constructor Summary | |
---|---|
GuardManagerTab()
|
Method Summary | |
---|---|
protected void |
buildLoggerPanel()
|
protected void |
buildRepositoryPanel()
|
protected void |
createGui()
|
protected SortableTreeNode |
createTreeForGuard(ModelDomain modelDomain)
|
java.lang.String |
formatDate(long timeStamp)
Covert a timestamp (TimeMillis) in a formatted string with the following schema: MM/dd/yy HH:mm:ss (NOMADS team) |
protected void |
getActorsList()
|
java.awt.Component |
getDisplayComponent()
|
java.util.Hashtable |
getGuardDescriptionTable()
|
java.lang.String |
getGuardId()
|
javax.swing.JPanel |
getGuardRightPanel()
|
javax.swing.JPanel |
getGuardTab()
|
java.lang.String |
getName()
|
protected void |
getPolicyActions()
|
protected java.util.Vector |
getRefreshCacheOptions()
|
protected java.util.Vector |
getRepositoryInfo(java.lang.String repType)
|
protected java.lang.String |
getShortName(java.lang.String name)
Parse the url to display only the name after the # symbol. |
TunnelClient |
getTunnelClient()
|
void |
initialize(KPATApplet applet,
TunnelClient tunnelClient)
|
void |
modelObjectAdded(ModelObject modelObj)
|
void |
modelObjectChanged(ModelObject modelObj)
|
void |
modelObjectRemoved(ModelObject modelObj)
|
void |
modelRefreshed(ModelDomainList rootDomains)
|
protected java.lang.String |
parseTime(java.lang.String timeStr)
Parse the time string to get the time in miliseconds. |
void |
policiesRefreshed(ModelPolicyList allPolicies)
|
void |
policyAdded(ModelPolicy policy)
|
void |
policyChanged(ModelPolicy policy)
|
void |
policyRemoved(ModelPolicy policy)
|
void |
refreshOccurred()
|
protected void |
updateDisplayOfPolicyDecisionLogs(java.util.Vector logsVector)
Get all logs related to this guard Id and return a vector. |
void |
updateGuardTab()
Update the Guard Tab. |
void |
updateTree(ModelDomain modelDomain)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Hashtable _guardDescriptionTable
protected java.util.Hashtable _loggerURLTable
protected java.util.Hashtable _repTableInfo
protected javax.swing.DefaultComboBoxModel _actionModel
protected javax.swing.DefaultComboBoxModel _actorModel
protected javax.swing.DefaultListModel _repListModel
protected GuardConfigurationTab _guardConfPanel
protected kaos.kpat.tabs.GuardManagerTab.LoggerTableModel _model
protected javax.swing.tree.DefaultTreeModel _treeModel
protected javax.swing.JButton _removeRepButton
protected javax.swing.JCheckBox _logCheckBox
protected javax.swing.JComboBox _actionComboBox
protected javax.swing.JComboBox _actorComboBox
protected javax.swing.JPanel _guardRightPanel
protected javax.swing.JPanel _guardTab
protected javax.swing.JPanel _loggerPanel
protected javax.swing.JPanel _repositoryPanel
protected javax.swing.JList _repList
protected javax.swing.JTabbedPane _tabPane
protected javax.swing.JTable _eventTable
protected javax.swing.JTable _repTable
protected javax.swing.JTextField _startField
protected javax.swing.JTextField _endField
protected javax.swing.JTree _guardTree
protected ModelPolicyList _modelPolicyList
protected kaos.kpat.tabs.GuardManagerTab.RepositoryTableModel _repModel
protected SortableTreeNode _currentNode
protected java.lang.String _actionStr
protected java.lang.String _actorStr
protected java.lang.String _guardId
protected java.lang.String _policyId
protected java.lang.String _refreshCacheStr
protected java.lang.String _timeStr
protected java.util.Vector _eventListVector
protected java.util.Vector _policyListVector
protected java.util.Vector _policySelectionVector
protected java.util.Vector _repositoryVector
protected java.util.Vector _tableVector
protected javax.swing.JSplitPane _splitPane
protected static java.lang.String _configPath
Constructor Detail |
---|
public GuardManagerTab()
Method Detail |
---|
public java.awt.Component getDisplayComponent()
getDisplayComponent
in interface TabPanel
public java.lang.String getName()
getName
in interface TabPanel
public void initialize(KPATApplet applet, TunnelClient tunnelClient)
initialize
in interface TabPanel
public TunnelClient getTunnelClient()
protected void createGui()
protected SortableTreeNode createTreeForGuard(ModelDomain modelDomain)
public void updateTree(ModelDomain modelDomain)
public java.lang.String getGuardId()
public java.util.Hashtable getGuardDescriptionTable()
protected void buildLoggerPanel()
protected void getPolicyActions()
protected void getActorsList()
protected void buildRepositoryPanel()
protected java.util.Vector getRepositoryInfo(java.lang.String repType)
public javax.swing.JPanel getGuardTab()
public javax.swing.JPanel getGuardRightPanel()
public void updateGuardTab()
protected java.util.Vector getRefreshCacheOptions()
public java.lang.String formatDate(long timeStamp)
timeStamp
-
protected java.lang.String parseTime(java.lang.String timeStr)
protected void updateDisplayOfPolicyDecisionLogs(java.util.Vector logsVector)
protected java.lang.String getShortName(java.lang.String name)
public void refreshOccurred()
refreshOccurred
in interface RefreshListener
public void modelObjectAdded(ModelObject modelObj)
modelObjectAdded
in interface DomainListener
public void modelObjectChanged(ModelObject modelObj)
modelObjectChanged
in interface DomainListener
public void modelObjectRemoved(ModelObject modelObj)
modelObjectRemoved
in interface DomainListener
public void modelRefreshed(ModelDomainList rootDomains)
modelRefreshed
in interface DomainListener
public void policyAdded(ModelPolicy policy)
policyAdded
in interface PolicyListener
public void policyChanged(ModelPolicy policy)
policyChanged
in interface PolicyListener
public void policyRemoved(ModelPolicy policy)
policyRemoved
in interface PolicyListener
public void policiesRefreshed(ModelPolicyList allPolicies)
policiesRefreshed
in interface PolicyListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |