org.gcube.portlets.user.reportgenerator.client.targets
Class ClientRepeatableSequence

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.gcube.portlets.user.reportgenerator.client.targets.ClientRepeatableSequence
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, ClientSequence

public class ClientRepeatableSequence
extends com.google.gwt.user.client.ui.Composite
implements ClientSequence


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
protected  ArrayList<TemplateComponent> groupedComponents
           
protected  org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence originalSequence
           
protected  org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence repSequence
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ClientRepeatableSequence(Presenter p, org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sRS)
          constructor used by the system when reading the model
 
Method Summary
 boolean add(String id, org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sequence, boolean isSingleRelation)
           
 void add(TemplateComponent toAdd)
           
protected  void addAnother(org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sRS)
           
 void AddButtonClicked(org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sequence)
           
protected  void addNew(org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sRS)
           
 ArrayList<TemplateComponent> getGroupedComponents()
           
 String getIdentifier()
           
 SequenceWidget remove(SequenceWidget toRemove)
           
protected  void removeSeqWidget(SequenceWidget toRemove)
          remove the widget and its components
 void setGroupedComponents(ArrayList<TemplateComponent> groupedComponents)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

groupedComponents

protected ArrayList<TemplateComponent> groupedComponents

repSequence

protected org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence repSequence

originalSequence

protected org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence originalSequence
Constructor Detail

ClientRepeatableSequence

public ClientRepeatableSequence(Presenter p,
                                org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sRS)
constructor used by the system when reading the model

Parameters:
sRS - the sequence to repeat
Method Detail

add

public void add(TemplateComponent toAdd)

addAnother

protected void addAnother(org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sRS)

addNew

protected void addNew(org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sRS)

removeSeqWidget

protected void removeSeqWidget(SequenceWidget toRemove)
remove the widget and its components

Parameters:
toRemove -

getGroupedComponents

public ArrayList<TemplateComponent> getGroupedComponents()
Specified by:
getGroupedComponents in interface ClientSequence

setGroupedComponents

public void setGroupedComponents(ArrayList<TemplateComponent> groupedComponents)

add

public boolean add(String id,
                   org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sequence,
                   boolean isSingleRelation)
Specified by:
add in interface ClientSequence

remove

public SequenceWidget remove(SequenceWidget toRemove)
Specified by:
remove in interface ClientSequence

AddButtonClicked

public void AddButtonClicked(org.gcube.portlets.d4sreporting.common.shared.RepeatableSequence sequence)
Specified by:
AddButtonClicked in interface ClientSequence

getIdentifier

public String getIdentifier()


Copyright © 2014. All Rights Reserved.