Package spin.demo.prompt
Class PromptBeanImpl
java.lang.Object
spin.demo.prompt.PromptBeanImpl
- All Implemented Interfaces:
PromptBean
Implementation of a prompt.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PromptBeanImpl
public PromptBeanImpl()Constructor.
-
-
Method Details
-
size
public int size()Size.- Specified by:
size
in interfacePromptBean
- Returns:
- the size
-
get
Get a value.- Specified by:
get
in interfacePromptBean
- Parameters:
index
- index of value
-
process
public void process(int index) Process.- Specified by:
process
in interfacePromptBean
- Parameters:
index
- index of value to process
-
process
Process.- Specified by:
process
in interfacePromptBean
- Parameters:
prompt
- the prompt to use
-