All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.ui.ItemViewInfo

java.lang.Object
   |
   +----com.sgi.sysadm.ui.ItemViewInfo

public class ItemViewInfo
extends Object
An object of this class is returned by ItemViewPanel when a label-value pair is added to the ItemView. You can use the getLabel and getValue methods to get the associated Components, and can use the setValueText method to modify the string that the value is displaying.


Method Index

 o getLabel()
Returns the Component that is the label
 o getValue()
Returns the Component that is the value
 o setLabelText(String)
Modifies the string contained by the "label" Component.
 o setValueText(String)
Modifies the string contained by the "value" Component.

Methods

 o setValueText
 public void setValueText(String newValue)
Modifies the string contained by the "value" Component. This method assumes that the "value" Component is of type JLabel and will throw an assertion if that is not the case.

Parameters:
newValue - The string to display.
 o setLabelText
 public void setLabelText(String newValue)
Modifies the string contained by the "label" Component. This method assumes that the "label" Component is of type JLabel and will throw an assertion if that is not the case.

Parameters:
newValue - The string to display.
 o getLabel
 public Component getLabel()
Returns the Component that is the label

Returns:
the label Component
 o getValue
 public Component getValue()
Returns the Component that is the value

Returns:
the value Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index