|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.BobCo.snapins.ProgramGroupSnapIn
The ProgramGroupSnapIn class is a sample CIM instance browser. It implements the TWGCIMInstanceBrowserInterface and is registered to display instances of Win32_ProgramGroup.
Field Summary |
---|
Fields inherited from interface com.tivoli.uif.core.UFEventListener |
---|
COPYRIGHT |
Constructor Summary | |
---|---|
ProgramGroupSnapIn()
Constructor. |
Method Summary | |
---|---|
void |
addProgramGroups(com.tivoli.twg.libs.Vect list)
This internal method is used to add a list of program group instances to the tree. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a property change listener to the snap-in. |
com.tivoli.twg.cim.aCIMClass |
getCIMClass()
Retrieve the CIM class object that is being displayed by the snap-in. |
javax.swing.JPanel |
getDisplayWindow()
The getDisplayWindow method is used to return a JPanel that will be displayed by the caller. |
javax.swing.ImageIcon |
getIconForCIMClass(com.tivoli.twg.cim.aCIMClass c)
This method is used to get an icon image to display for a CIM class. |
com.tivoli.twg.cim.aCIMInstance |
getSelectedCIMInstance()
Retrieve the currently selected instance. |
int |
getStatus()
Retrieve the current status of the snap-in. |
java.lang.String |
getStatusText()
Retrieve a text string that describes the current status of the snap-in. |
com.tivoli.twg.guilibs.WindowAttributes |
getWindowAttributes()
Retrieve the current window attributes |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a property change listener from the snap-in. |
void |
setCIMClass(com.tivoli.twg.cim.aCIMClass newCIMclass)
Set the CIM class that the snap-in will display instance for. |
void |
setSelectedCIMInstance(com.tivoli.twg.cim.aCIMInstance newCIMinstance)
This method is used to select a given CIM instance in the current display. |
void |
setStatus(int newStatus)
Set the current status of the snap-in. |
void |
setStatusText(java.lang.String newStatusText)
Set the current status text message for the snap-in. |
void |
setWindowAttributes(com.tivoli.twg.guilibs.WindowAttributes wa)
This method is called by the parent of the snap-in to update the window attributes so that they match the rest of the current user console. |
void |
ufTreeListViewEvent(com.tivoli.twg.guilibs.UFTreeListViewEvent evt)
This method is part of the UFTreeListViewListener interface and is used to handle selection events in the tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProgramGroupSnapIn()
Method Detail |
public javax.swing.JPanel getDisplayWindow()
getDisplayWindow
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public int getStatus()
getStatus
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public void setStatus(int newStatus)
setStatus
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public java.lang.String getStatusText()
getStatusText
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public void setStatusText(java.lang.String newStatusText)
setStatusText
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public com.tivoli.twg.cim.aCIMClass getCIMClass()
getCIMClass
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public void setCIMClass(com.tivoli.twg.cim.aCIMClass newCIMclass)
setCIMClass
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public com.tivoli.twg.cim.aCIMInstance getSelectedCIMInstance()
getSelectedCIMInstance
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public void setSelectedCIMInstance(com.tivoli.twg.cim.aCIMInstance newCIMinstance)
setSelectedCIMInstance
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public javax.swing.ImageIcon getIconForCIMClass(com.tivoli.twg.cim.aCIMClass c)
getIconForCIMClass
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public void setWindowAttributes(com.tivoli.twg.guilibs.WindowAttributes wa)
setWindowAttributes
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public com.tivoli.twg.guilibs.WindowAttributes getWindowAttributes()
getWindowAttributes
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface com.tivoli.twg.cim.TWGCIMInstanceBrowserInterface
public void ufTreeListViewEvent(com.tivoli.twg.guilibs.UFTreeListViewEvent evt)
ufTreeListViewEvent
in interface com.tivoli.twg.guilibs.UFTreeListViewListener
public void addProgramGroups(com.tivoli.twg.libs.Vect list)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |