All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.ui.ValueLabel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----javax.swing.JComponent
                           |
                           +----javax.swing.JLabel
                                   |
                                   +----com.sgi.sysadm.ui.RLabel
                                           |
                                           +----com.sgi.sysadm.ui.ValueLabel

public class ValueLabel
extends RLabel
This class can be used wherever a JLabel would be used, but where a standardized look is desired. It is designed for use for labels that are used for values, (eg. in the right-hand column of a Task.)


Variable Index

 o NAME
The string "ValueLabel" that will be used for all resource lookups for this component.

Constructor Index

 o ValueLabel(ResourceStack)
Creates a ValueLabel with no text.
 o ValueLabel(String, ResourceStack)
Creates a ValueLabel with the specified text

Variables

 o NAME
 public static final String NAME
The string "ValueLabel" that will be used for all resource lookups for this component.

Constructors

 o ValueLabel
 public ValueLabel(String text,
                   ResourceStack rs)
Creates a ValueLabel with the specified text

Parameters:
text - The text to display in the label.
rs - The resource stack to use to look up resources.
 o ValueLabel
 public ValueLabel(ResourceStack rs)
Creates a ValueLabel with no text. You can use setText at a later time to set the text.

Parameters:
rs - The resource stack to use to look up resources.

All Packages  Class Hierarchy  This Package  Previous  Next  Index