|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaos.kpat.tabs.ActorInfoPanel
public class ActorInfoPanel
Nested Class Summary | |
---|---|
class |
ActorInfoPanel.AgentPropsTableCellRenderer
Table Cell Renderer for displaying a small font and tip text for each agent property. |
class |
ActorInfoPanel.NewPropsTableCellEditor
|
class |
ActorInfoPanel.OntTypesListCellRenderer
|
class |
ActorInfoPanel.PropsTableCellEditor
|
Field Summary | |
---|---|
protected javax.swing.JButton |
_addPolicyBtn
|
protected javax.swing.JButton |
_addPropButton
|
protected javax.swing.JTable |
_agentPropsTable
|
protected kaos.kpat.tabs.ActorInfoPanel.AgentPropsTableModel |
_agentPropsTableModel
|
protected javax.swing.JButton |
_duplicatePolicyBtn
|
protected javax.swing.JButton |
_editPolicyBtn
|
protected static java.awt.Frame |
_frame
|
protected javax.swing.JPanel |
_generalInfoPanel
|
protected boolean |
_isDataProperty
|
protected KPATApplet |
_kpat
|
protected javax.swing.JButton |
_loadPolicyBtn
|
protected Logger |
_logger
|
protected PolicyListTableModel |
_model
|
protected boolean |
_okButtonPressed
|
protected javax.swing.JLabel |
_ontLabel
|
protected javax.swing.JList |
_ontTypeList
|
protected javax.swing.DefaultListModel |
_ontTypeListModel
|
protected javax.swing.JPanel |
_policiesPanel
|
protected javax.swing.JTextArea |
_policyDescArea
|
protected javax.swing.JLabel |
_policyDescLbl
|
protected javax.swing.JTable |
_policyTable
|
protected javax.swing.JLabel |
_propertyLabel
|
protected java.util.Hashtable |
_propHashtable
|
protected javax.swing.DefaultListModel |
_propListModel
|
protected java.util.Hashtable<java.lang.String,java.lang.String> |
_propNameMap
|
protected javax.swing.JList |
_propsList
|
protected javax.swing.table.TableCellEditor |
_propsTableCellEditor
|
protected javax.swing.JButton |
_removePolicyBtn
|
protected javax.swing.JButton |
_removePropButton
|
protected javax.swing.JButton |
_savePolicyBtn
|
protected TunnelClient |
_tunnelClient
|
static int |
CANCEL_SELECTED
|
protected SortableTreeNode |
currentNode_
|
protected ModelPolicy |
currentPolicy_
|
protected ModelPolicyList |
currentPolicyList_
|
protected javax.swing.JLabel |
labelData0_
|
protected javax.swing.JLabel |
labelData1_
|
protected javax.swing.JLabel |
labelData2_
|
protected javax.swing.JLabel |
labelData3_
|
protected javax.swing.JLabel |
labelPolicyInfo_
|
protected javax.swing.JLabel |
labelTitle2_
|
protected javax.swing.JLabel |
labelTitle3_
|
static int |
OK_SELECTED
|
protected static int |
POLICY_TABLE_COLUMN_AUTHOR
|
protected static int |
POLICY_TABLE_COLUMN_CONTROL_ACTION
|
protected static int |
POLICY_TABLE_COLUMN_INFORCE
|
protected static int |
POLICY_TABLE_COLUMN_POLICY
|
protected static int |
POLICY_TABLE_COLUMN_PRIORITY
|
protected static int |
POLICY_TABLE_COLUMN_WIDTH_AUTHOR
|
protected static int |
POLICY_TABLE_COLUMN_WIDTH_CONTROL_ACTION
|
protected static int |
POLICY_TABLE_COLUMN_WIDTH_INFORCE
|
protected static int |
POLICY_TABLE_COLUMN_WIDTH_POLICY
|
protected static int |
POLICY_TABLE_COLUMN_WIDTH_PRIORITY
|
protected int |
selectedRow_
|
Constructor Summary | |
---|---|
ActorInfoPanel()
Creates a new instance of PolicyTemplatesTab |
Method Summary | |
---|---|
javax.swing.JPanel |
buildActorInfoPanel()
|
protected void |
enableGovernableControls(boolean newState)
Set the enabled/disabled state of the policy-editing controls. |
protected java.lang.String |
getShortName(java.lang.String name)
|
void |
initialize(KPATApplet kpat,
TunnelClient tunnelClient)
|
void |
modelObjectAdded(ModelObject modelObj)
|
void |
modelObjectChanged(ModelObject modelObj)
|
void |
modelObjectRemoved(ModelObject modelObj)
|
void |
modelRefreshed(ModelDomainList rootDomains)
|
void |
policiesRefreshed(ModelPolicyList mpl)
|
void |
policyAdded(ModelPolicy mp)
|
void |
policyChanged(ModelPolicy mp)
|
void |
policyRemoved(ModelPolicy mp)
|
void |
policyTableUpdate()
Update the JTable of polices for the currently selected node. |
void |
policyTableUpdate(SortableTreeNode node)
Update the JTable of polices for the node. |
protected void |
removeProperty()
|
void |
setDlgLocation(javax.swing.JDialog dlg)
|
protected void |
showException(java.lang.String msg,
java.lang.Exception xcp)
|
protected void |
showPropertiesDialog()
|
protected void |
showPropertiesDialog(int row)
|
void |
updateGeneralInfoFields(iModelObject o)
Update the 'General Info' area (not the policy table) according to selected object. |
void |
updatePolicyPane(SortableTreeNode node)
Update the policy pane with info for the specified object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int POLICY_TABLE_COLUMN_WIDTH_POLICY
protected static final int POLICY_TABLE_COLUMN_WIDTH_PRIORITY
protected static final int POLICY_TABLE_COLUMN_WIDTH_INFORCE
protected static final int POLICY_TABLE_COLUMN_WIDTH_CONTROL_ACTION
protected static final int POLICY_TABLE_COLUMN_WIDTH_AUTHOR
protected static final int POLICY_TABLE_COLUMN_POLICY
protected static final int POLICY_TABLE_COLUMN_PRIORITY
protected static final int POLICY_TABLE_COLUMN_INFORCE
protected static final int POLICY_TABLE_COLUMN_CONTROL_ACTION
protected static final int POLICY_TABLE_COLUMN_AUTHOR
public static final int OK_SELECTED
public static final int CANCEL_SELECTED
protected boolean _okButtonPressed
protected kaos.kpat.tabs.ActorInfoPanel.AgentPropsTableModel _agentPropsTableModel
protected javax.swing.JLabel _propertyLabel
protected javax.swing.table.TableCellEditor _propsTableCellEditor
protected java.util.Hashtable _propHashtable
protected javax.swing.JTable _agentPropsTable
protected boolean _isDataProperty
protected KPATApplet _kpat
protected TunnelClient _tunnelClient
protected javax.swing.JPanel _policiesPanel
protected static java.awt.Frame _frame
protected javax.swing.JTable _policyTable
protected javax.swing.JLabel labelPolicyInfo_
protected javax.swing.JLabel labelData0_
protected javax.swing.JLabel labelData1_
protected javax.swing.JLabel labelTitle2_
protected javax.swing.JLabel labelData2_
protected javax.swing.JLabel labelTitle3_
protected javax.swing.JLabel labelData3_
protected javax.swing.JPanel _generalInfoPanel
protected javax.swing.JList _ontTypeList
protected javax.swing.DefaultListModel _ontTypeListModel
protected javax.swing.JList _propsList
protected javax.swing.DefaultListModel _propListModel
protected javax.swing.JButton _addPropButton
protected javax.swing.JButton _removePropButton
protected java.util.Hashtable<java.lang.String,java.lang.String> _propNameMap
protected javax.swing.JTextArea _policyDescArea
protected javax.swing.JLabel _ontLabel
protected javax.swing.JButton _addPolicyBtn
protected javax.swing.JButton _removePolicyBtn
protected javax.swing.JButton _duplicatePolicyBtn
protected javax.swing.JButton _editPolicyBtn
protected javax.swing.JButton _savePolicyBtn
protected javax.swing.JButton _loadPolicyBtn
protected int selectedRow_
protected javax.swing.JLabel _policyDescLbl
protected ModelPolicy currentPolicy_
protected ModelPolicyList currentPolicyList_
protected PolicyListTableModel _model
protected SortableTreeNode currentNode_
protected Logger _logger
Constructor Detail |
---|
public ActorInfoPanel()
Method Detail |
---|
public void initialize(KPATApplet kpat, TunnelClient tunnelClient)
public void policyAdded(ModelPolicy mp)
policyAdded
in interface PolicyListener
public void policyChanged(ModelPolicy mp)
policyChanged
in interface PolicyListener
public void policyRemoved(ModelPolicy mp)
policyRemoved
in interface PolicyListener
public void policiesRefreshed(ModelPolicyList mpl)
policiesRefreshed
in interface PolicyListener
public javax.swing.JPanel buildActorInfoPanel()
protected void showException(java.lang.String msg, java.lang.Exception xcp)
public void updatePolicyPane(SortableTreeNode node)
node
- The corresponding tree node of objectpublic void updateGeneralInfoFields(iModelObject o)
public void policyTableUpdate()
public void policyTableUpdate(SortableTreeNode node)
protected void enableGovernableControls(boolean newState)
protected void showPropertiesDialog()
protected void removeProperty()
protected void showPropertiesDialog(int row)
protected java.lang.String getShortName(java.lang.String name)
public void setDlgLocation(javax.swing.JDialog dlg)
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |