org.gcube.application.reporting
Interface Modeler

All Superinterfaces:
Sequentiable
All Known Implementing Classes:
ReportsModeler

public interface Modeler
extends Sequentiable

Author:
Massimiliano Assante - ISTI, CNR

Field Summary
static int TEMPLATE_HEIGHT
           
static int TEMPLATE_WIDTH
           
 
Method Summary
 boolean addMedia()
          add the possibility to enter text, table or images in the report
 boolean addSequence(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, addAttributeComponent, addHeading, addHeading, addHeading, addInstruction, addReference, addTextInput, addTextInput, addTextInput
 

Field Detail

TEMPLATE_WIDTH

static final int TEMPLATE_WIDTH
See Also:
Constant Field Values

TEMPLATE_HEIGHT

static final int TEMPLATE_HEIGHT
See Also:
Constant Field Values
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

addSequence

boolean addSequence(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.