org.gcube.portlets.user.templates.client.components
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.d4sreporting.common.client.uicomponents.ReportUIComponent
                  extended by org.gcube.portlets.user.templates.client.components.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

public class ClientRepeatableSequence
extends org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent


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
 
Fields inherited from class org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent
DELTA, height, left, mainPanel, resizablePanel, top, topPanel, width
 
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
ClientRepeatableSequence(Presenter p, TemplateModel model, org.gcube.portlets.d4sreporting.common.shared.ComponentType... types)
          used to create a new empty repeatable sequence
 
Method Summary
 void add(TemplateComponent toAdd)
           
 ArrayList<TemplateComponent> getGroupedComponents()
           
 int getHeight()
           
 void lockComponent(org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent toLock, boolean locked)
           
 void removeTemplateComponent(org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent toRemove)
           
 void setGroupedComponents(ArrayList<TemplateComponent> groupedComponents)
           
 
Methods inherited from class org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent
get, getLeft, getMyFakeTextArea, getResizablePanel, getTop, getTopPanel, getType, hideCloseButton, repositionMyPanel, resizePanel, setHeight, setLeft, setLocked, setMyFakeTextArea, setTop, setType
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement
 
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
 

Constructor Detail

ClientRepeatableSequence

public ClientRepeatableSequence(Presenter p,
                                TemplateModel model,
                                org.gcube.portlets.d4sreporting.common.shared.ComponentType... types)
used to create a new empty repeatable sequence

Parameters:
types -

ClientRepeatableSequence

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

Parameters:
sRS -
Method Detail

add

public void add(TemplateComponent toAdd)

removeTemplateComponent

public void removeTemplateComponent(org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent toRemove)
Specified by:
removeTemplateComponent in class org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent

lockComponent

public void lockComponent(org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent toLock,
                          boolean locked)
Specified by:
lockComponent in class org.gcube.portlets.d4sreporting.common.client.uicomponents.ReportUIComponent

getGroupedComponents

public ArrayList<TemplateComponent> getGroupedComponents()

setGroupedComponents

public void setGroupedComponents(ArrayList<TemplateComponent> groupedComponents)

getHeight

public int getHeight()


Copyright © 2013. All Rights Reserved.