|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.BobCo.snapins.ComponentIDSnapIn
The ComponentIDSnapIn class is a sample DMI group browser. It implements the TWGDMIGroupBrowserInterface and is registered to display instances of "DMTF|ComponentID|*".
Constructor Summary | |
---|---|
ComponentIDSnapIn()
Constructor. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a property change listener to the snap-in. |
void |
displayAttributes(com.tivoli.twg.dmi.DMIAttributeValue[] Attributes)
This method is called by the ComponentAttributeResponse to fill in the display fields with the attribute values. |
javax.swing.JPanel |
getDisplayWindow()
The getDisplayWindow method is used to return a JPanel that will be displayed by the caller. |
com.tivoli.twg.dmi.DMIGroup |
getDMIGroup()
Retrieve the DMI group object that is being displayed by the snap-in. |
javax.swing.ImageIcon |
getIconForDMIGroup(com.tivoli.twg.dmi.DMIGroup group)
This method is used to get an icon image to display for a DMI group. |
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 |
run()
Background thread method to start DMI processing. |
void |
setDMIGroup(long new_moid,
com.tivoli.twg.dmi.DMIGroup new_group,
int new_id)
Set the DMI group that the snap-in will display instance for. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComponentIDSnapIn()
Method Detail |
public javax.swing.JPanel getDisplayWindow()
getDisplayWindow
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public int getStatus()
getStatus
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public void setStatus(int newStatus)
setStatus
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public java.lang.String getStatusText()
getStatusText
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public void setStatusText(java.lang.String newStatusText)
setStatusText
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public com.tivoli.twg.dmi.DMIGroup getDMIGroup()
getDMIGroup
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public void setDMIGroup(long new_moid, com.tivoli.twg.dmi.DMIGroup new_group, int new_id)
setDMIGroup
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public javax.swing.ImageIcon getIconForDMIGroup(com.tivoli.twg.dmi.DMIGroup group)
getIconForDMIGroup
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public void setWindowAttributes(com.tivoli.twg.guilibs.WindowAttributes wa)
setWindowAttributes
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public com.tivoli.twg.guilibs.WindowAttributes getWindowAttributes()
getWindowAttributes
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface com.tivoli.twg.dmi.TWGDMIGroupBrowserInterface
public void displayAttributes(com.tivoli.twg.dmi.DMIAttributeValue[] Attributes)
public void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |