|
||||||||||
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<org.gcube.portlets.d4sreporting.common.shared.Attribute> values,
boolean allowMultiselection)
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 |
addReference(ReferenceReport ref)
add the references of a given type |
boolean |
addTextInput(org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
add an empty fillable text input |
boolean |
addTextInput(String content,
boolean isReadonly,
org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
add text input |
boolean |
addTextInput(String content,
org.gcube.portlets.d4sreporting.common.shared.Metadata... 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(org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
properties
- additional properties that one may need, optional
boolean addTextInput(String content, org.gcube.portlets.d4sreporting.common.shared.Metadata... properties)
content
- the content you want to show in the textboxproperties
- additional properties that one may need, optional
boolean addTextInput(String content, boolean isReadonly, org.gcube.portlets.d4sreporting.common.shared.Metadata... 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<org.gcube.portlets.d4sreporting.common.shared.Attribute> 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 addReference(ReferenceReport ref)
ref
- @see ReferenceReport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |