@Dependent @Templated public class PreferencesEditorItemView extends Object implements org.jboss.errai.ui.client.local.api.IsElement, PreferencesEditorItemPresenter.View
| Constructor and Description |
|---|
PreferencesEditorItemView() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getNewPreferenceValue() |
void |
init(PreferencesEditorItemPresenter presenter) |
boolean |
isAllUsersScopeSelected() |
boolean |
isComponentScopeSelected() |
boolean |
isEntireApplicationScopeSelected() |
boolean |
isUserScopeSelected() |
void |
onAllUsersButtonClick(com.google.gwt.user.client.Event event) |
void |
onComponentButtonClick(com.google.gwt.user.client.Event event) |
void |
onEntireApplicationButtonClick(com.google.gwt.user.client.Event event) |
void |
onUserButtonClick(com.google.gwt.user.client.Event event) |
void |
setAllUsersScopeSelected(boolean selected) |
void |
setComponentScopeSelected(boolean selected) |
void |
setComponentTitle(String componentTitle) |
void |
setEntireApplicationScopeSelected(boolean selected) |
void |
setKey(String label) |
void |
setUserScopeSelected(boolean selected) |
void |
setValue(Object value) |
void |
setViewMode(ViewMode viewMode) |
public void init(PreferencesEditorItemPresenter presenter)
init in interface UberElement<PreferencesEditorItemPresenter>public void setKey(String label)
setKey in interface PreferencesEditorItemPresenter.Viewpublic void setValue(Object value)
setValue in interface PreferencesEditorItemPresenter.Viewpublic void setComponentTitle(String componentTitle)
setComponentTitle in interface PreferencesEditorItemPresenter.Viewpublic Object getNewPreferenceValue()
getNewPreferenceValue in interface PreferencesEditorItemPresenter.Viewpublic void setViewMode(ViewMode viewMode)
setViewMode in interface PreferencesEditorItemPresenter.Viewpublic void setUserScopeSelected(boolean selected)
setUserScopeSelected in interface PreferencesEditorItemPresenter.Viewpublic void setAllUsersScopeSelected(boolean selected)
setAllUsersScopeSelected in interface PreferencesEditorItemPresenter.Viewpublic void setComponentScopeSelected(boolean selected)
setComponentScopeSelected in interface PreferencesEditorItemPresenter.Viewpublic void setEntireApplicationScopeSelected(boolean selected)
setEntireApplicationScopeSelected in interface PreferencesEditorItemPresenter.Viewpublic boolean isUserScopeSelected()
isUserScopeSelected in interface PreferencesEditorItemPresenter.Viewpublic boolean isAllUsersScopeSelected()
isAllUsersScopeSelected in interface PreferencesEditorItemPresenter.Viewpublic boolean isComponentScopeSelected()
isComponentScopeSelected in interface PreferencesEditorItemPresenter.Viewpublic boolean isEntireApplicationScopeSelected()
isEntireApplicationScopeSelected in interface PreferencesEditorItemPresenter.View@SinkNative(value=1) @EventHandler(value="user-button") public void onUserButtonClick(com.google.gwt.user.client.Event event)
@SinkNative(value=1) @EventHandler(value="all-users-button") public void onAllUsersButtonClick(com.google.gwt.user.client.Event event)
@SinkNative(value=1) @EventHandler(value="component-button") public void onComponentButtonClick(com.google.gwt.user.client.Event event)
@SinkNative(value=1) @EventHandler(value="entire-application-button") public void onEntireApplicationButtonClick(com.google.gwt.user.client.Event event)
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.