org.broadleafcommerce.gwt.client.presenter.entity
Class DynamicEntityPresenter

java.lang.Object
  extended by org.broadleafcommerce.gwt.client.presenter.entity.AbstractEntityPresenter
      extended by org.broadleafcommerce.gwt.client.presenter.entity.DynamicEntityPresenter
All Implemented Interfaces:
EntityPresenter

public abstract class DynamicEntityPresenter
extends AbstractEntityPresenter

Author:
jfischer

Field Summary
protected  com.google.gwt.event.shared.HandlerRegistration addClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration cellSavedHandlerRegistration
           
protected  java.lang.Boolean disabled
           
protected  DynamicEditDisplay display
           
protected  com.google.gwt.event.shared.HandlerRegistration entityTypeChangedHandlerRegistration
           
protected  DynamicFormPresenter formPresenter
           
protected  com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord
           
protected  java.lang.Boolean loaded
           
protected  PresenterSequenceSetupManager presenterSequenceSetupManager
           
protected  com.google.gwt.event.shared.HandlerRegistration removeClickHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration
           
 
Fields inherited from class org.broadleafcommerce.gwt.client.presenter.entity.AbstractEntityPresenter
eventBus
 
Constructor Summary
DynamicEntityPresenter()
           
 
Method Summary
protected abstract  void addClicked()
           
 void bind()
           
protected abstract  void changeSelection(com.smartgwt.client.data.Record selectedRecord)
           
protected  java.lang.Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)
           
 void disable()
           
 void enable()
           
 com.google.gwt.event.shared.HandlerRegistration getAddClickHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getCellSavedHandlerRegistration()
           
 DynamicEditDisplay getDisplay()
           
 com.google.gwt.event.shared.HandlerRegistration getEntityTypeChangedHandlerRegistration()
           
 java.lang.Boolean getLoaded()
           
 PresenterSequenceSetupManager getPresenterSequenceSetupManager()
           
 com.google.gwt.event.shared.HandlerRegistration getRemoveClickHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()
           
 void postSetup(com.smartgwt.client.widgets.Canvas container)
           
protected  void removeClicked()
           
 void setDisplay(Display display)
           
 void setReadOnly(java.lang.Boolean readOnly)
           
 void setStartState()
           
protected  void setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource, com.smartgwt.client.data.DataSource... additionalDataSources)
           
 
Methods inherited from class org.broadleafcommerce.gwt.client.presenter.entity.AbstractEntityPresenter
getEventBus, setEventBus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.broadleafcommerce.gwt.client.presenter.entity.EntityPresenter
setup
 

Field Detail

display

protected DynamicEditDisplay display

lastSelectedRecord

protected com.smartgwt.client.widgets.grid.ListGridRecord lastSelectedRecord

loaded

protected java.lang.Boolean loaded

formPresenter

protected DynamicFormPresenter formPresenter

selectionChangedHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration

removeClickHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration removeClickHandlerRegistration

addClickHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration addClickHandlerRegistration

entityTypeChangedHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration entityTypeChangedHandlerRegistration

cellSavedHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration cellSavedHandlerRegistration

presenterSequenceSetupManager

protected PresenterSequenceSetupManager presenterSequenceSetupManager

disabled

protected java.lang.Boolean disabled
Constructor Detail

DynamicEntityPresenter

public DynamicEntityPresenter()
Method Detail

setStartState

public void setStartState()

enable

public void enable()

disable

public void disable()

setReadOnly

public void setReadOnly(java.lang.Boolean readOnly)

bind

public void bind()

postSetup

public void postSetup(com.smartgwt.client.widgets.Canvas container)

containsDisplay

protected java.lang.Boolean containsDisplay(com.smartgwt.client.widgets.Canvas container)

getDisplay

public DynamicEditDisplay getDisplay()

setDisplay

public void setDisplay(Display display)

setupDisplayItems

protected void setupDisplayItems(com.smartgwt.client.data.DataSource entityDataSource,
                                 com.smartgwt.client.data.DataSource... additionalDataSources)

changeSelection

protected abstract void changeSelection(com.smartgwt.client.data.Record selectedRecord)

addClicked

protected abstract void addClicked()

removeClicked

protected void removeClicked()

getSelectionChangedHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()

getRemoveClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getRemoveClickHandlerRegistration()

getAddClickHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getAddClickHandlerRegistration()

getEntityTypeChangedHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getEntityTypeChangedHandlerRegistration()

getCellSavedHandlerRegistration

public com.google.gwt.event.shared.HandlerRegistration getCellSavedHandlerRegistration()

getPresenterSequenceSetupManager

public PresenterSequenceSetupManager getPresenterSequenceSetupManager()

getLoaded

public java.lang.Boolean getLoaded()


Copyright © 2011. All Rights Reserved.