de.hs_rm.cs.lecturenotes.client.module.whatsnew
Class WhatsNewModuleComposite

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 de.hs_rm.cs.lecturenotes.client.module.whatsnew.WhatsNewModuleComposite
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, IForm<WhatsNewModuleModel>, IModuleComposite<WhatsNewModuleModel>

public final class WhatsNewModuleComposite
extends com.google.gwt.user.client.ui.Composite
implements IModuleComposite<WhatsNewModuleModel>

Main module composite for the discussion module "WhatsNew".

Version:
$LastChangedRevision: 259 $
Author:
Enrico Homann

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 com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
WhatsNewModuleComposite()
          Default Constructor.
 
Method Summary
 void afterDataTransmissionFailure(java.lang.Throwable caught)
          Event callback triggered after data transmission failure.
 void afterDataTransmissionSuccess()
          Event callback triggered after data transmission success.
 com.google.gwt.user.client.ui.Widget createAttributeSortingPanel()
          Will return the attribute sorting panel.
 com.google.gwt.user.client.ui.Widget createContextSortingPanel()
          Will return the context sorting panel.
 com.google.gwt.user.client.ui.Composite getComposite()
          Will return the GWT Composite view.
 WhatsNewModuleModel getFormModel()
          Will return the form model.
 void onDataTransmission()
          Event callback triggered on data transmission.
 void onUpdateModelFromView()
          Event callback meant to be called if an update of the model from the view components shall occur.
 void onUpdateViewFromModel()
          Event callback meant to be called if an update of the view components from the model shall occur.
 void setFormModel(WhatsNewModuleModel model)
          Sets the model.
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, initializeClaimedElement, isAttached, onBrowserEvent, render, render
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhatsNewModuleComposite

public WhatsNewModuleComposite()
Default Constructor.

Method Detail

onDataTransmission

public void onDataTransmission()
Description copied from interface: IModuleComposite
Event callback triggered on data transmission.

Specified by:
onDataTransmission in interface IModuleComposite<WhatsNewModuleModel>

afterDataTransmissionSuccess

public void afterDataTransmissionSuccess()
Description copied from interface: IModuleComposite
Event callback triggered after data transmission success.

Specified by:
afterDataTransmissionSuccess in interface IModuleComposite<WhatsNewModuleModel>

afterDataTransmissionFailure

public void afterDataTransmissionFailure(java.lang.Throwable caught)
Description copied from interface: IModuleComposite
Event callback triggered after data transmission failure.

Specified by:
afterDataTransmissionFailure in interface IModuleComposite<WhatsNewModuleModel>
Parameters:
caught - Throwable

getComposite

public com.google.gwt.user.client.ui.Composite getComposite()
Description copied from interface: IModuleComposite
Will return the GWT Composite view.

Specified by:
getComposite in interface IModuleComposite<WhatsNewModuleModel>
Returns:
Composite

onUpdateViewFromModel

public void onUpdateViewFromModel()
Description copied from interface: IForm
Event callback meant to be called if an update of the view components from the model shall occur.

Specified by:
onUpdateViewFromModel in interface IForm<WhatsNewModuleModel>

createContextSortingPanel

public com.google.gwt.user.client.ui.Widget createContextSortingPanel()
Will return the context sorting panel.

Returns:
Widget

createAttributeSortingPanel

public com.google.gwt.user.client.ui.Widget createAttributeSortingPanel()
Will return the attribute sorting panel.

Returns:
Widget

onUpdateModelFromView

public void onUpdateModelFromView()
Description copied from interface: IForm
Event callback meant to be called if an update of the model from the view components shall occur.

Specified by:
onUpdateModelFromView in interface IForm<WhatsNewModuleModel>

setFormModel

public void setFormModel(WhatsNewModuleModel model)
Description copied from interface: IForm
Sets the model.

Specified by:
setFormModel in interface IForm<WhatsNewModuleModel>
Parameters:
model - T

getFormModel

public WhatsNewModuleModel getFormModel()
Description copied from interface: IForm
Will return the form model.

Specified by:
getFormModel in interface IForm<WhatsNewModuleModel>
Returns:
T