com.tivoli.twg.cim
Interface TWGCIMInstanceBrowserInterface


public interface TWGCIMInstanceBrowserInterface


Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
          Register to be a propertyChange listener.
 aCIMClass getCIMClass()
          Provide the class whose instances the instance browser is currently displaying.
 javax.swing.JPanel getDisplayWindow()
          Construct the window panel that is to be displayed.
 javax.swing.ImageIcon getIconForCIMClass(aCIMClass c)
          Provide the icon for the given class.
 aCIMInstance getSelectedCIMInstance()
          Provide the currently-selected instance.
 int getStatus()
          Provide the instance browser's current status as one of the TWGCIMConstants status values.
 java.lang.String getStatusText()
          Provide a display string describing instance browser's current status.
 com.tivoli.twg.guilibs.WindowAttributes getWindowAttributes()
          Return the Window Attributes.
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
          De-register as a propertyChange listener.
 void setCIMClass(aCIMClass newCIMclass)
          Update the class whose instance the instance browser will now be displaying and update the display to match.
 void setSelectedCIMInstance(aCIMInstance newCIMinstance)
          Set the currently-selected instance to the instance provided.
 void setStatus(int newStatus)
          Set the instance browser status to the new value provided.
 void setStatusText(java.lang.String newStatusText)
          Update the display string describing instance browser's current status.
 void setWindowAttributes(com.tivoli.twg.guilibs.WindowAttributes wa)
          Set the Window Attributes.
 

Method Detail

getDisplayWindow

public javax.swing.JPanel getDisplayWindow()
Construct the window panel that is to be displayed.


getStatus

public int getStatus()
Provide the instance browser's current status as one of the TWGCIMConstants status values.


setStatus

public void setStatus(int newStatus)
Set the instance browser status to the new value provided.

Parameters:
newStatus - - a TWGCIMConstants status value indicating the new status of the instance browser.

getStatusText

public java.lang.String getStatusText()
Provide a display string describing instance browser's current status.


setStatusText

public void setStatusText(java.lang.String newStatusText)
Update the display string describing instance browser's current status.

Parameters:
newStatusText - - the string that reflects the new status of the instance browser.

getCIMClass

public aCIMClass getCIMClass()
Provide the class whose instances the instance browser is currently displaying.


setCIMClass

public void setCIMClass(aCIMClass newCIMclass)
Update the class whose instance the instance browser will now be displaying and update the display to match.

Parameters:
newCIMclass - - the string that reflects the new class whose instances the instance browser is to display.

getSelectedCIMInstance

public aCIMInstance getSelectedCIMInstance()
Provide the currently-selected instance.


setSelectedCIMInstance

public void setSelectedCIMInstance(aCIMInstance newCIMinstance)
Set the currently-selected instance to the instance provided.

Parameters:
newCIMinstance - - the instance that the instance browser should highlight and update the properties browser to display.

getIconForCIMClass

public javax.swing.ImageIcon getIconForCIMClass(aCIMClass c)
Provide the icon for the given class.


setWindowAttributes

public void setWindowAttributes(com.tivoli.twg.guilibs.WindowAttributes wa)
Set the Window Attributes.


getWindowAttributes

public com.tivoli.twg.guilibs.WindowAttributes getWindowAttributes()
Return the Window Attributes.


addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Register to be a propertyChange listener.


removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
De-register as a propertyChange listener.