edu.rice.cs.drjava.ui.config
Class LabelComponent
java.lang.Object
|
+--edu.rice.cs.drjava.ui.config.OptionComponent
|
+--edu.rice.cs.drjava.ui.config.LabelComponent
- public class LabelComponent
- extends OptionComponent
Displays a label in the form of an option component, to be displayed
in a config panel.
- Version:
- $Id: LabelComponent.java,v 1.1 2002/07/24 13:27:45 csreis Exp $
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
_text
private JTextArea _text
LabelComponent
public LabelComponent(String text,
Frame parent)
updateConfig
public boolean updateConfig()
- Updates the config object with the new setting. (Does nothing.)
- Overrides:
updateConfig
in class OptionComponent
- Returns:
- true if the new value is set successfully
setValue
public void setValue(Object value)
- Displays the given value. (Never changes.)
- Overrides:
setValue
in class OptionComponent
getComponent
public JComponent getComponent()
- Return's this OptionComponent's configurable component.
- Overrides:
getComponent
in class OptionComponent