public class UserRolePresenter extends Object implements SubPresentable
Modifier and Type | Field and Description |
---|---|
protected AbstractDynamicDataSource |
abstractDynamicDataSource |
protected com.smartgwt.client.data.Record |
associatedRecord |
protected String[] |
availableToTypes |
protected Boolean |
disabled |
protected UserRoleDisplay |
display |
protected EntitySearchDialog |
searchDialog |
Constructor and Description |
---|
UserRolePresenter(UserRoleDisplay display,
EntitySearchDialog searchDialog) |
Modifier and Type | Method and Description |
---|---|
void |
bind() |
void |
disable() |
void |
enable() |
com.smartgwt.client.widgets.Canvas |
getDisplay() |
boolean |
load(com.smartgwt.client.data.Record associatedRecord,
AbstractDynamicDataSource associatedDataSource) |
boolean |
load(com.smartgwt.client.data.Record associatedRecord,
AbstractDynamicDataSource abstractDynamicDataSource,
com.smartgwt.client.data.DSCallback cb) |
void |
setDataSource(ListGridDataSource dataSource,
String[] gridFields,
Boolean[] editable) |
void |
setExpansionDataSource(ListGridDataSource dataSource,
String[] gridFields,
Boolean[] editable) |
void |
setReadOnly(Boolean readOnly) |
void |
setStartState() |
protected UserRoleDisplay display
protected com.smartgwt.client.data.Record associatedRecord
protected AbstractDynamicDataSource abstractDynamicDataSource
protected Boolean disabled
protected EntitySearchDialog searchDialog
protected String[] availableToTypes
public UserRolePresenter(UserRoleDisplay display, EntitySearchDialog searchDialog)
public com.smartgwt.client.widgets.Canvas getDisplay()
getDisplay
in interface SubPresentable
public void setDataSource(ListGridDataSource dataSource, String[] gridFields, Boolean[] editable)
setDataSource
in interface SubPresentable
public void setExpansionDataSource(ListGridDataSource dataSource, String[] gridFields, Boolean[] editable)
public void setStartState()
setStartState
in interface SubPresentable
public void enable()
enable
in interface SubPresentable
public void disable()
disable
in interface SubPresentable
public void setReadOnly(Boolean readOnly)
setReadOnly
in interface SubPresentable
public boolean load(com.smartgwt.client.data.Record associatedRecord, AbstractDynamicDataSource associatedDataSource)
load
in interface SubPresentable
public boolean load(com.smartgwt.client.data.Record associatedRecord, AbstractDynamicDataSource abstractDynamicDataSource, com.smartgwt.client.data.DSCallback cb)
load
in interface SubPresentable
public void bind()
bind
in interface SubPresentable
Copyright © 2013. All rights reserved.