| edu.rice.cs.drjava.ui.config.BooleanOptionComponent
BooleanOptionComponent | public class BooleanOptionComponent extends OptionComponent (Code) | | Graphical form of a BooleanOption.
version: $Id: BooleanOptionComponent.java 4255 2007-08-28 19:17:37Z mgricken $ |
BooleanOptionComponent | public BooleanOptionComponent(BooleanOption opt, String text, Frame parent)(Code) | | Constructs a new BooleanOptionComponent.
Parameters: opt - the BooleanOption this component represents Parameters: text - the text to display with the option Parameters: parent - the parent frame |
BooleanOptionComponent | public BooleanOptionComponent(BooleanOption opt, String text, Frame parent, String description)(Code) | | Constructs a new BooleanOptionComponent with a tooltip description.
Parameters: opt - the BooleanOption this component represents Parameters: text - the text to display with the option Parameters: parent - the parent frame Parameters: description - text to show in a tooltip over |
getComponent | public JComponent getComponent()(Code) | | Return's this OptionComponent's configurable component.
|
setDescription | public void setDescription(String description)(Code) | | Sets the tooltip description text for this option.
Parameters: description - the tooltip text |
setValue | public void setValue(Boolean value)(Code) | | Displays the given value.
|
updateConfig | public boolean updateConfig()(Code) | | Updates the config object with the new setting.
true if the new value is set successfully |
|
|