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

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

public class SimpleMapStructurePresenter
extends java.lang.Object
implements SubPresentable

Author:
jfischer

Field Summary
protected  AbstractDynamicDataSource abstractDynamicDataSource
           
protected  com.smartgwt.client.data.Record associatedRecord
           
protected  java.lang.Boolean disabled
           
protected  GridStructureDisplay display
           
protected  java.lang.String[] gridFields
           
protected  java.util.Map<java.lang.String,java.lang.Object> initialValues
           
 
Constructor Summary
SimpleMapStructurePresenter(GridStructureDisplay display, java.util.Map<java.lang.String,java.lang.Object> initialValues)
           
 
Method Summary
 void bind()
           
 void disable()
           
 void enable()
           
 void load(com.smartgwt.client.data.Record associatedRecord, AbstractDynamicDataSource abstractDynamicDataSource, com.smartgwt.client.data.DSCallback cb)
           
 void setDataSource(ListGridDataSource dataSource, java.lang.String[] gridFields, java.lang.Boolean[] editable)
           
 void setReadOnly(java.lang.Boolean readOnly)
           
 void setStartState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

protected GridStructureDisplay display

initialValues

protected java.util.Map<java.lang.String,java.lang.Object> initialValues

gridFields

protected java.lang.String[] gridFields

associatedRecord

protected com.smartgwt.client.data.Record associatedRecord

abstractDynamicDataSource

protected AbstractDynamicDataSource abstractDynamicDataSource

disabled

protected java.lang.Boolean disabled
Constructor Detail

SimpleMapStructurePresenter

public SimpleMapStructurePresenter(GridStructureDisplay display,
                                   java.util.Map<java.lang.String,java.lang.Object> initialValues)
Method Detail

setDataSource

public void setDataSource(ListGridDataSource dataSource,
                          java.lang.String[] gridFields,
                          java.lang.Boolean[] editable)
Specified by:
setDataSource in interface SubPresentable

setStartState

public void setStartState()
Specified by:
setStartState in interface SubPresentable

enable

public void enable()
Specified by:
enable in interface SubPresentable

disable

public void disable()
Specified by:
disable in interface SubPresentable

setReadOnly

public void setReadOnly(java.lang.Boolean readOnly)
Specified by:
setReadOnly in interface SubPresentable

load

public void load(com.smartgwt.client.data.Record associatedRecord,
                 AbstractDynamicDataSource abstractDynamicDataSource,
                 com.smartgwt.client.data.DSCallback cb)
Specified by:
load in interface SubPresentable

bind

public void bind()
Specified by:
bind in interface SubPresentable


Copyright © 2011. All Rights Reserved.