public class DemoModel extends Object implements Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
DemoModel.Mode |
| Constructor and Description |
|---|
DemoModel(bsh.ConsoleInterface console) |
public DemoModel(bsh.ConsoleInterface console)
public Object getData()
public DemoModel.Mode getMode()
public void setMode(DemoModel.Mode mode)
public void clear() throws bsh.EvalError
bsh.EvalErrorpublic String help() throws IOException
IOExceptionpublic String load() throws IOException
IOExceptionpublic void parse(String text) throws IOException, bsh.EvalError
IOExceptionbsh.EvalErrorpublic void run()
run in interface Runnablepublic String tip() throws IOException
IOException