org.JCaiF.CoreComponents
Class IterationContainer
java.lang.Object
org.JCaiF.CoreComponents.IterationContainer
- All Implemented Interfaces:
- java.lang.Cloneable, ComponentContainer, SurveyComponent, SurveyObject
public class IterationContainer
- extends java.lang.Object
- implements ComponentContainer
- Author:
- Michael Hall
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iteration
public int iteration
IterationContainer
public IterationContainer()
- Creates a new instance of IterationContainer
setIteration
public void setIteration(int i)
getIteration
public int getIteration()
size
public int size()
- Specified by:
size in interface ComponentContainer
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
setText
public void setText(java.lang.String text)
- Specified by:
setText in interface SurveyComponent
getText
public java.lang.String getText()
- Specified by:
getText in interface SurveyComponent
setValue
public void setValue(java.lang.String v)
- Specified by:
setValue in interface SurveyObject
setId
public void setId(java.lang.String l)
- Specified by:
setId in interface SurveyObject
addComponent
public void addComponent(SurveyComponent c)
- Specified by:
addComponent in interface ComponentContainer
getComponent
public SurveyComponent getComponent(int index)
- Specified by:
getComponent in interface ComponentContainer
getComponents
public java.util.List getComponents()
- Specified by:
getComponents in interface ComponentContainer
getComponentIndex
public int getComponentIndex(SurveyComponent c)
- Specified by:
getComponentIndex in interface ComponentContainer
getComponentById
public SurveyComponent getComponentById(java.lang.String label)
- Specified by:
getComponentById in interface ComponentContainer
onLoad
public boolean onLoad()
- Specified by:
onLoad in interface SurveyComponent
onContinue
public boolean onContinue()
- Specified by:
onContinue in interface SurveyComponent
getValue
public java.lang.String getValue()
- Specified by:
getValue in interface SurveyObject
getId
public java.lang.String getId()
- Specified by:
getId in interface SurveyObject
getParent
public ComponentContainer getParent()
- Specified by:
getParent in interface SurveyComponent
setParent
public void setParent(ComponentContainer p)
- Specified by:
setParent in interface SurveyComponent
init
public void init()
- Specified by:
init in interface SurveyObject
clone
public ComponentContainer clone()
- Specified by:
clone in interface ComponentContainer- Specified by:
clone in interface SurveyComponent- Specified by:
clone in interface SurveyObject- Overrides:
clone in class java.lang.Object