|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Sequentiable
Method Summary | |
---|---|
boolean |
addAttributeComponent(String attrName,
ArrayList<Box> values,
boolean allowMultiselection)
Add a attribute component to the model instance, allow to specify if is editable or not |
boolean |
addAttributeComponent(String attrName,
ArrayList<Box> values,
boolean allowMultiselection,
Property... properties)
Add a attribute component to the model instance, allow to specify if is editable or not |
boolean |
addHeading(int level)
add an empty fillable heading |
boolean |
addHeading(int level,
String content)
add an heading with a non editable content |
boolean |
addHeading(int level,
String content,
boolean isReadonly)
|
boolean |
addInstruction(String content)
|
boolean |
addReference(ReferenceReport ref)
add the references of a given type |
boolean |
addTextInput(Property... properties)
add an empty fillable text input |
boolean |
addTextInput(String content,
boolean isReadOnly,
Property... properties)
add text input |
boolean |
addTextInput(String content,
Property... properties)
add a text input with some pre entered text |
Method Detail |
---|
boolean addHeading(int level) throws IllegalArgumentException
level
- of the heading
IllegalArgumentException
- if the heading is not [1, 5]boolean addHeading(int level, String content) throws IllegalArgumentException
level
- of the headingcontent
- the content you want to show in the heading
IllegalArgumentException
- if the heading is not [1, 5]boolean addHeading(int level, String content, boolean isReadonly) throws IllegalArgumentException
level
- of the headingcontent
- the content you want to show in the headingisReadonly
- tells wether the user can edit the content ot not
IllegalArgumentException
- if the heading is not [1, 5]boolean addTextInput(Property... properties)
properties
- additional properties that one may need, optional
boolean addTextInput(String content, Property... properties)
content
- the content you want to show in the textboxproperties
- additional properties that one may need, optional
boolean addTextInput(String content, boolean isReadOnly, Property... properties)
content
- the content you want to show in the textboxisReadonly
- tells wether the user can edit the content ot notproperties
- additional properties that one may need, optional
boolean addAttributeComponent(String attrName, ArrayList<Box> values, boolean allowMultiselection)
type
- the type of the componentpayload
- the payload, a text if is a heading or body, an encoded base64 string if an image and so onisEditable
- allow the component to be edited or notboolean addAttributeComponent(String attrName, ArrayList<Box> values, boolean allowMultiselection, Property... properties)
type
- the type of the componentpayload
- the payload, a text if is a heading or body, an encoded base64 string if an image and so onproperties
- additional properties that one may need, optionalisEditable
- allow the component to be edited or notboolean addReference(ReferenceReport ref)
ref
- @see ReferenceReport
boolean addInstruction(String content)
content
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |