org.gcube.application.reporting
Interface Modeler

All Superinterfaces:
Sequentiable
All Known Implementing Classes:
ReportsModeler

public interface Modeler
extends Sequentiable

Author:
Massimiliano Assante - ISTI, CNR

Method Summary
 boolean addInstruction(String content)
          add an instruction
 boolean addMedia()
          add the possibility to enter text, table or images in the report
 boolean addSequence(String identifier, ReportSequence seq)
          add a sequence
 boolean addTitle()
          add an empty fillable title
 boolean addTitle(String content, boolean isReadonly)
           
 int nextSection()
          add a section, every add will point to this new section
 
Methods inherited from interface org.gcube.application.reporting.Sequentiable
addAttributeComponent, addHeading, addHeading, addHeading, addReference, addTextInput, addTextInput, addTextInput
 

Method Detail

addTitle

boolean addTitle()
add an empty fillable title

Returns:
true if the operation is performed with success, false otherwise

addTitle

boolean addTitle(String content,
                 boolean isReadonly)
Parameters:
content - the content you want to show in the title
isReadonly - tells wether the user can edit the content ot not
Returns:
true if the operation is performed with success, false otherwise

addInstruction

boolean addInstruction(String content)
add an instruction

Parameters:
content - the content you want to show in the instruction
Returns:
true if the operation is performed with success, false otherwise

addSequence

boolean addSequence(String identifier,
                    ReportSequence seq)
add a sequence

Parameters:
identifier - and identifier for this sequence
ref - @see Sequentiable ReportSequence
Returns:
true if the operation is performed with success, false otherwise

addMedia

boolean addMedia()
add the possibility to enter text, table or images in the report

Returns:

nextSection

int nextSection()
add a section, every add will point to this new section

Returns:
the index of the new section


Copyright © 2013. All Rights Reserved.