org.JCaiF.CoreComponents
Class RepeatContainer
java.lang.Object
org.JCaiF.CoreComponents.RepeatContainer
- All Implemented Interfaces:
- java.lang.Cloneable, ComponentContainer, SurveyComponent, SurveyObject
public class RepeatContainer
- extends java.lang.Object
- implements ComponentContainer
- Author:
- Michael Hall
|
Constructor Summary |
RepeatContainer()
Creates a new instance of RepeatContainer |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepeatContainer
public RepeatContainer()
- Creates a new instance of RepeatContainer
setIterations
public void setIterations(int i)
getIterations
public int getIterations()
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