public abstract class BioOption extends Object implements Saveable
Modifier and Type | Field and Description |
---|---|
protected String |
text
String identifying this option.
|
Constructor and Description |
---|
BioOption(String text)
Constructs a new option.
|
Modifier and Type | Method and Description |
---|---|
abstract Component |
getComponent()
Gets a GUI component representing this option.
|
String |
getText()
Gets text identifying this option.
|
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").
|
protected String text
public BioOption(String text)
public String getText()
public abstract Component getComponent()
public void saveState(Element el) throws SaveException
saveState
in interface Saveable
SaveException
public void restoreState(Element el) throws SaveException
restoreState
in interface Saveable
SaveException
Copyright © 2015–2022 SciJava. All rights reserved.