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

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

public class SimpleMapStructurePresenter
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[] gridFields
           
protected  Map<String,Object> initialValues
           
protected  com.google.gwt.event.shared.HandlerRegistration removeClickedHandlerRegistration
           
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
SimpleMapStructurePresenter(SimpleMapStructurePresenter template)
           
SimpleMapStructurePresenter(String prefix, GridStructureDisplay display, Map<String,Object> initialValues)
           
SimpleMapStructurePresenter(String prefix, GridStructureDisplay display, String[] availableToTypes, 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[] getGridFields()
           
 Map<String,Object> getInitialValues()
           
 com.google.gwt.event.shared.HandlerRegistration getRemoveClickedHandlerRegistration()
           
 com.google.gwt.event.shared.HandlerRegistration getSelectionChangedHandlerRegistration()
           
 void setDataSource(ListGridDataSource dataSource, String[] gridFields, Boolean[] editable)
           
 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

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

removeClickedHandlerRegistration

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

addClickedHandlerRegistration

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

SimpleMapStructurePresenter

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

SimpleMapStructurePresenter

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

SimpleMapStructurePresenter

public SimpleMapStructurePresenter(SimpleMapStructurePresenter 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()

getRemoveClickedHandlerRegistration

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

getSelectionChangedHandlerRegistration

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

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.