|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.BobCo.snapins.LogicalDiskSnapIn
The LogicalDiskSnapIn class is a sample CIM property browser. It implements the TWGCIMPropertiesBrowserInterface and is registered to display instances of Win32_LogicalDisk.
Constructor Summary | |
---|---|
LogicalDiskSnapIn()
Constructor. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a property change listener to the snap-in. |
com.tivoli.twg.cim.aCIMInstance |
getCIMInstance()
Retrieve the CIM instance 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 |
getIconForCIMInstance(com.tivoli.twg.cim.aCIMInstance inst)
This method is used to get an icon image to display for a CIM 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 |
run()
|
void |
setCIMInstance(com.tivoli.twg.cim.aCIMClass newCIMClass,
com.tivoli.twg.cim.aCIMInstance newCIMInstance)
Set the CIM instance that the snap-in will 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LogicalDiskSnapIn()
Method Detail |
public javax.swing.JPanel getDisplayWindow()
getDisplayWindow
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public int getStatus()
getStatus
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public void setStatus(int newStatus)
setStatus
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public java.lang.String getStatusText()
getStatusText
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public void setStatusText(java.lang.String newStatusText)
setStatusText
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public com.tivoli.twg.cim.aCIMInstance getCIMInstance()
getCIMInstance
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public void setCIMInstance(com.tivoli.twg.cim.aCIMClass newCIMClass, com.tivoli.twg.cim.aCIMInstance newCIMInstance)
setCIMInstance
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public void setWindowAttributes(com.tivoli.twg.guilibs.WindowAttributes wa)
setWindowAttributes
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public com.tivoli.twg.guilibs.WindowAttributes getWindowAttributes()
getWindowAttributes
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
public javax.swing.ImageIcon getIconForCIMInstance(com.tivoli.twg.cim.aCIMInstance inst)
getIconForCIMInstance
in interface com.tivoli.twg.cim.TWGCIMPropertiesBrowserInterface
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 |