public class SpreadsheetLaunchOption extends BioOption implements ActionListener
| Constructor and Description |
|---|
SpreadsheetLaunchOption(char mnemonic,
String textValue,
boolean boxValue)
Constructs a new option.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Responds to changes in checkbox state.
|
Component |
getComponent()
Gets a GUI component representing this option.
|
boolean |
getSelected()
Gets whether the checkbox is selected.
|
String |
getValue()
Gets this option's current setting.
|
void |
restoreState(Element el)
Restores the current state from the given DOM element ("Options").
|
void |
saveState(Element el)
Writes the current state to the given DOM element ("Options").
|
public SpreadsheetLaunchOption(char mnemonic,
String textValue,
boolean boxValue)
public String getValue()
public boolean getSelected()
public Component getComponent()
getComponent in class BioOptionpublic void saveState(Element el) throws SaveException
saveState in interface SaveablesaveState in class BioOptionSaveExceptionpublic void restoreState(Element el) throws SaveException
restoreState in interface SaveablerestoreState in class BioOptionSaveExceptionpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerCopyright © 2015–2022 SciJava. All rights reserved.