Constructor and Description |
---|
StringOption(String text,
String tip,
String value,
String label)
Constructs a new option.
|
Modifier and Type | Method and Description |
---|---|
Component |
getComponent()
Gets a GUI component representing this option.
|
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 String getValue()
public Component getComponent()
getComponent
in class BioOption
public void saveState(Element el) throws SaveException
saveState
in interface Saveable
saveState
in class BioOption
SaveException
public void restoreState(Element el) throws SaveException
restoreState
in interface Saveable
restoreState
in class BioOption
SaveException
Copyright © 2015–2022 SciJava. All rights reserved.