| edu.rice.cs.drjava.ui.config.VectorOptionComponent
VectorOptionComponent | abstract public class VectorOptionComponent extends OptionComponent> implements OptionConstants(Code) | | Graphical form of a VectorOption for the Extra Classpath option. Uses a file chooser for each String element.
TODO: define a static make method that adds buttons so that moveUp and moveDown button definitions can be moved
to subclass
version: $Id: VectorOptionComponent.java 4255 2007-08-28 19:17:37Z mgricken $ |
NUM_ROWS | final protected static int NUM_ROWS(Code) | | |
PIXELS_PER_ROW | final protected static int PIXELS_PER_ROW(Code) | | |
VectorOptionComponent | public VectorOptionComponent(VectorOption<T> opt, String text, Frame parent)(Code) | | Builds a new VectorOptionComponent.
Parameters: opt - the option Parameters: text - the label to display Parameters: parent - the parent frame |
_addButtons | protected void _addButtons()(Code) | | Adds buttons to _buttonPanel
|
_getAddAction | abstract protected Action _getAddAction()(Code) | | Gets an action that adds a component to the set of options.
|
getComponent | public JComponent getComponent()(Code) | | Return's this OptionComponent's configurable component.
|
getValue | public Vector<T> getValue()(Code) | | Accessor to the current contents of the list.
The contents of the list in this componentin the form of a Vector. |
setDescription | public void setDescription(String description)(Code) | | Sets the tooltip description text for this option.
Parameters: description - the tooltip text |
setValue | public void setValue(Vector<T> 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 |
|
|