@Dependent public class EntitiesExplorerViewImpl extends com.google.gwt.user.client.ui.Composite implements EntitiesExplorerView
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
EntitiesExplorerView.ViewCallback, EntitiesExplorerView.ViewContext
Constructor and Description |
---|
EntitiesExplorerViewImpl() |
Modifier and Type | Method and Description |
---|---|
EntitiesExplorerView |
clear()
Clears the view.
|
EntitiesExplorerView |
clearSearch()
Clears the current search.
|
EntitiesExplorerView |
configure(String entityType,
EntitiesList.View entitiesListView)
Configures the explorer's list widget.
|
void |
init() |
void |
onCreateButtonClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onRefreshButtonClick(com.google.gwt.event.dom.client.ClickEvent event) |
EntitiesExplorerView |
show(EntitiesExplorerView.ViewContext context,
EntitiesExplorerView.ViewCallback callback)
Shows the list.
|
EntitiesExplorerView |
showMessage(org.gwtbootstrap3.client.ui.constants.LabelType labelType,
String message)
Shows a meesage in the entities explorer view.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
@PostConstruct public void init()
public EntitiesExplorerView configure(String entityType, EntitiesList.View entitiesListView)
EntitiesExplorerView
Configures the explorer's list widget.
configure
in interface EntitiesExplorerView
entityType
- A string that represents the current exploring type for the entities (eg: user, group). Used in buttons and texts in the explorer.entitiesListView
- The view for entities list widget.public EntitiesExplorerView show(EntitiesExplorerView.ViewContext context, EntitiesExplorerView.ViewCallback callback)
EntitiesExplorerView
Shows the list.
show
in interface EntitiesExplorerView
context
- The view context.callback
- The view callback methods.public EntitiesExplorerView showMessage(org.gwtbootstrap3.client.ui.constants.LabelType labelType, String message)
EntitiesExplorerView
Shows a meesage in the entities explorer view. No entities will be displayed, just the message.
showMessage
in interface EntitiesExplorerView
labelType
- The type of the label for the message.message
- The message.public EntitiesExplorerView clearSearch()
EntitiesExplorerView
Clears the current search.
clearSearch
in interface EntitiesExplorerView
public EntitiesExplorerView clear()
EntitiesExplorerView
Clears the view.
clear
in interface EntitiesExplorerView
@UiHandler(value="createButton") public void onCreateButtonClick(com.google.gwt.event.dom.client.ClickEvent event)
@UiHandler(value="refreshButton") public void onRefreshButtonClick(com.google.gwt.event.dom.client.ClickEvent event)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.