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 SubPresentablepublic void setDataSource(ListGridDataSource dataSource, String[] gridFields, Boolean[] editable)
setDataSource in interface SubPresentablepublic void setExpansionDataSource(ListGridDataSource dataSource, String[] gridFields, Boolean[] editable)
public void setStartState()
setStartState in interface SubPresentablepublic void enable()
enable in interface SubPresentablepublic void disable()
disable in interface SubPresentablepublic void setReadOnly(Boolean readOnly)
setReadOnly in interface SubPresentablepublic boolean load(com.smartgwt.client.data.Record associatedRecord,
AbstractDynamicDataSource associatedDataSource)
load in interface SubPresentablepublic boolean load(com.smartgwt.client.data.Record associatedRecord,
AbstractDynamicDataSource abstractDynamicDataSource,
com.smartgwt.client.data.DSCallback cb)
load in interface SubPresentablepublic void bind()
bind in interface SubPresentableCopyright © 2013. All rights reserved.