org.broadleafcommerce.openadmin.client.presenter.structure
Class CreateBasedListStructurePresenter

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.presenter.entity.AbstractSubPresentable
      extended by org.broadleafcommerce.openadmin.client.presenter.structure.CreateBasedListStructurePresenter
All Implemented Interfaces:
SubPresentable

public class CreateBasedListStructurePresenter
extends AbstractSubPresentable

Author:
jfischer

Field Summary
protected  com.google.gwt.event.shared.HandlerRegistration addClickedHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration dataArrivedHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration editCompletedHandlerRegistration
           
protected  String editDialogTitle
           
protected  String[] gridFields
           
protected  Map<String,Object> initialValues
           
protected  com.google.gwt.event.shared.HandlerRegistration removedClickedHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration rowDoubleClickedHandlerRegistration
           
protected  com.google.gwt.event.shared.HandlerRegistration selectionChangedHandlerRegistration
           
 
Fields inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractSubPresentable
abstractDynamicDataSource, associatedRecord, availableToTypes, disabled, display, prefix, readOnly
 
Constructor Summary
CreateBasedListStructurePresenter(CreateBasedListStructurePresenter template)
           
CreateBasedListStructurePresenter(String prefix, GridStructureDisplay display, String editDialogTitle)
           
CreateBasedListStructurePresenter(String prefix, GridStructureDisplay display, String[] availableToTypes, String editDialogTitle)
           
CreateBasedListStructurePresenter(String prefix, GridStructureDisplay display, String[] availableToTypes, String editDialogTitle, Map<String,Object> initialValues)
           
CreateBasedListStructurePresenter(String prefix, GridStructureDisplay display, String editDialogTitle, Map<String,Object> initialValues)
           
 
Method Summary
 void bind()
           
 com.google.gwt.event.shared.HandlerRegistration getAddClickedHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getDataArrivedHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getEditCompletedHandlerRegistration()
           
 String getEditDialogTitle()
           
 String[] getGridFields()
           
 Map<String,Object> getInitialValues()
           
 com.google.gwt.event.shared.HandlerRegistration getRemovedClickedHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getRowDoubleClickedHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()
           
 void setDataSource(ListGridDataSource dataSource, String[] gridFields, Boolean[] editable)
           
 void setEditDialogTitle(String editDialogTitle)
           
 void setGridFields(String[] gridFields)
           
 void setInitialValues(Map<String,Object> initialValues)
           
 
Methods inherited from class org.broadleafcommerce.openadmin.client.presenter.entity.AbstractSubPresentable
disable, enable, getDisplay, getRelationshipValue, load, load, setReadOnly, setStartState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editDialogTitle

protected String editDialogTitle

initialValues

protected Map<String,Object> initialValues

gridFields

protected String[] gridFields

dataArrivedHandlerRegistration

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

editCompletedHandlerRegistration

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

selectionChangedHandlerRegistration

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

removedClickedHandlerRegistration

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

addClickedHandlerRegistration

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

rowDoubleClickedHandlerRegistration

protected com.google.gwt.event.shared.HandlerRegistration rowDoubleClickedHandlerRegistration
Constructor Detail

CreateBasedListStructurePresenter

public CreateBasedListStructurePresenter(String prefix,
                                         GridStructureDisplay display,
                                         String editDialogTitle)

CreateBasedListStructurePresenter

public CreateBasedListStructurePresenter(String prefix,
                                         GridStructureDisplay display,
                                         String[] availableToTypes,
                                         String editDialogTitle)

CreateBasedListStructurePresenter

public CreateBasedListStructurePresenter(String prefix,
                                         GridStructureDisplay display,
                                         String editDialogTitle,
                                         Map<String,Object> initialValues)

CreateBasedListStructurePresenter

public CreateBasedListStructurePresenter(String prefix,
                                         GridStructureDisplay display,
                                         String[] availableToTypes,
                                         String editDialogTitle,
                                         Map<String,Object> initialValues)

CreateBasedListStructurePresenter

public CreateBasedListStructurePresenter(CreateBasedListStructurePresenter template)
Method Detail

setDataSource

public void setDataSource(ListGridDataSource dataSource,
                          String[] gridFields,
                          Boolean[] editable)
Specified by:
setDataSource in interface SubPresentable
Overrides:
setDataSource in class AbstractSubPresentable

bind

public void bind()

getAddClickedHandlerRegistration

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

getDataArrivedHandlerRegistration

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

getEditCompletedHandlerRegistration

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

getRemovedClickedHandlerRegistration

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

getRowDoubleClickedHandlerRegistration

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

getSelectionChangedHandlerRegistration

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

getEditDialogTitle

public String getEditDialogTitle()

setEditDialogTitle

public void setEditDialogTitle(String editDialogTitle)

getGridFields

public String[] getGridFields()

setGridFields

public void setGridFields(String[] gridFields)

getInitialValues

public Map<String,Object> getInitialValues()

setInitialValues

public void setInitialValues(Map<String,Object> initialValues)


Copyright © 2013. All Rights Reserved.