|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.application.reporting.component.AbstractComponent
org.gcube.application.reporting.sequence.ReportSequence
public class ReportSequence
Field Summary |
---|
Fields inherited from interface org.gcube.application.reporting.component.ReportComponent |
---|
COMP_HEIGHT, COMP_WIDTH |
Constructor Summary | |
---|---|
ReportSequence(String id)
|
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)
(non-Javadoc) |
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 |
List<ReportComponent> |
getChildren()
|
org.gcube.portlets.d4sreporting.common.shared.BasicComponent |
getModelComponent()
|
List<org.gcube.portlets.d4sreporting.common.shared.BasicComponent> |
getSequence()
|
String |
getStringValue()
|
ReportComponentType |
getType()
|
boolean |
hasChildren()
|
Methods inherited from class org.gcube.application.reporting.component.AbstractComponent |
---|
convertProperties, getId, getProperties, setId, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReportSequence(String id)
Method Detail |
---|
public boolean addHeading(int level) throws IllegalArgumentException
Sequentiable
addHeading
in interface Sequentiable
level
- of the heading
IllegalArgumentException
- if the heading is not [1, 5]public boolean addHeading(int level, String content) throws IllegalArgumentException
Sequentiable
addHeading
in interface Sequentiable
level
- of the headingcontent
- the content you want to show in the heading
IllegalArgumentException
- if the heading is not [1, 5]public boolean addHeading(int level, String content, boolean isReadonly) throws IllegalArgumentException
addHeading
in interface Sequentiable
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]public boolean addTextInput(Property... properties)
Sequentiable
addTextInput
in interface Sequentiable
properties
- additional properties that one may need, optional
public boolean addTextInput(String content, Property... properties)
Sequentiable
addTextInput
in interface Sequentiable
content
- the content you want to show in the textboxproperties
- additional properties that one may need, optional
public boolean addTextInput(String content, boolean isReadOnly, Property... properties)
Sequentiable
addTextInput
in interface Sequentiable
content
- the content you want to show in the textboxproperties
- additional properties that one may need, optional
public boolean addAttributeComponent(String attrName, ArrayList<Box> values, boolean allowMultiselection)
Sequentiable
addAttributeComponent
in interface Sequentiable
public boolean addAttributeComponent(String attrName, ArrayList<Box> values, boolean allowMultiselection, Property... properties)
Sequentiable
addAttributeComponent
in interface Sequentiable
properties
- additional properties that one may need, optionalpublic boolean addReference(ReferenceReport ref)
addReference
in interface Sequentiable
ref
- @see ReferenceReport
public boolean addInstruction(String content)
addInstruction
in interface Sequentiable
Sequentiable.addInstruction(java.lang.String)
public List<org.gcube.portlets.d4sreporting.common.shared.BasicComponent> getSequence()
public ReportComponentType getType()
getType
in interface ReportComponent
getType
in class AbstractComponent
public boolean hasChildren()
hasChildren
in interface ReportComponent
hasChildren
in class AbstractComponent
public List<ReportComponent> getChildren()
getChildren
in interface ReportComponent
getChildren
in class AbstractComponent
public String getStringValue()
getStringValue
in interface ReportComponent
getStringValue
in class AbstractComponent
public org.gcube.portlets.d4sreporting.common.shared.BasicComponent getModelComponent()
getModelComponent
in class AbstractComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |