|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--ponderToolkit.mgmtConsole.gui.PmcNavigator
Function: Models the PMC Navigator. A tree view of the PMC's loaded in the Management Console
| Constructor Summary | |
PmcNavigator(PmcView newPmcViewer)
Constructor |
|
| Method Summary | |
javax.swing.tree.DefaultMutableTreeNode |
addObject(javax.swing.tree.DefaultMutableTreeNode parent,
java.lang.Object child,
java.lang.String name,
boolean shouldBeVisible)
Add an object to the given parent node. |
javax.swing.tree.DefaultMutableTreeNode |
addPmcObject(PonderMC child,
java.lang.String name)
Add a PMC Object to the PMC Navigator (Tree). |
javax.swing.tree.DefaultMutableTreeNode |
addPolicyObject(BasicPolicyInfo child,
java.lang.String name)
Add a Policy Object to the Selected PMC Node |
void |
clear()
Clear the tree list |
void |
clearObligs()
Clear obligation policies for the selected PMC |
void |
clearRefrains()
Clear refrain policies for the selected PMC |
java.util.Vector |
getObligsForPmc()
|
javax.swing.JScrollPane |
getPane()
Return the ScrollPane |
java.util.Vector |
getRefrainsForPmc()
|
PonderMC |
getSelectedPMC()
Return the Selected PMC |
void |
valueChanged(javax.swing.event.TreeSelectionEvent e)
Implementation of the TreeSelectionListener Interface |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PmcNavigator(PmcView newPmcViewer)
newPmcViewer - The PmcView JPanel which represents the PMC
view of the application| Method Detail |
public void clear()
public void clearObligs()
public void clearRefrains()
public javax.swing.tree.DefaultMutableTreeNode addPmcObject(PonderMC child,
java.lang.String name)
child - The node to add (a PMC)name - The name of the node to add
public javax.swing.tree.DefaultMutableTreeNode addPolicyObject(BasicPolicyInfo child,
java.lang.String name)
child - The Policy object to be addedname - The name of the policy object to be added
public javax.swing.tree.DefaultMutableTreeNode addObject(javax.swing.tree.DefaultMutableTreeNode parent,
java.lang.Object child,
java.lang.String name,
boolean shouldBeVisible)
parent - The node to which to addchild - The node to be addedname - The name of the node to addshouldBeVisible - If true the new node is made visiblepublic javax.swing.JScrollPane getPane()
public PonderMC getSelectedPMC()
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
valueChanged in interface javax.swing.event.TreeSelectionListenerpublic java.util.Vector getObligsForPmc()
public java.util.Vector getRefrainsForPmc()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||