public class LocationPanel extends com.google.gwt.user.client.ui.Composite implements LocationPanelSelectEventHandler, TagPanel.TagResizeEventHandler, com.google.gwt.user.client.ui.RequiresResize, com.google.gwt.event.logical.shared.ResizeHandler
LocationPanel class.
Constructor and Description |
---|
LocationPanel()
Constructor for LocationPanel.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addAllTags(Collection<String> tags)
addAllTags
|
void |
clearTagPanel()
clearTagPanel
|
static String |
getUserAgent() |
void |
onLocationSelected(LocationPanelSelectEvent event)
onLocationSelected
|
void |
onResize()
onResize
|
void |
onResize(com.google.gwt.event.logical.shared.ResizeEvent event) |
void |
onTagPanelResize()
onTagPanelResize
|
void |
resizeDockPanel()
resizeDockPanel
|
void |
selectTag(String tag)
selectTag
|
void |
setEventBus(com.google.gwt.event.shared.HandlerManager eventBus)
setEventBus
|
void |
showApplicationFilters(boolean isApplicationView)
showApplicationFilters
|
void |
showApplicationList()
Switches view to the Pageable Application List
|
void |
showLocationList()
Switches view to Pageable Location List
|
void |
updateApplicationList(List<ApplicationInfo> appList)
updateApplicationList
|
void |
updateApplicationNames(Set<String> allApplicationNames)
updateApplicationNames
|
void |
updateLocationList(List<LocationInfo> visibleLocations)
updateLocationList
|
void |
updateSelectedApplications(Set<ApplicationInfo> selectedApplications)
updateSelectedApplications
|
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
public void setEventBus(com.google.gwt.event.shared.HandlerManager eventBus)
setEventBus
eventBus
- a HandlerManager
object.public void onLocationSelected(LocationPanelSelectEvent event)
onLocationSelected
onLocationSelected
in interface LocationPanelSelectEventHandler
event
- a LocationPanelSelectEvent
object.public void showLocationList()
public void showApplicationList()
public void updateSelectedApplications(Set<ApplicationInfo> selectedApplications)
updateSelectedApplications
selectedApplications
- a Set
object.public void updateApplicationNames(Set<String> allApplicationNames)
updateApplicationNames
allApplicationNames
- a Set
object.public void updateApplicationList(List<ApplicationInfo> appList)
updateApplicationList
appList
- a ArrayList
object.public void updateLocationList(List<LocationInfo> visibleLocations)
updateLocationList
visibleLocations
- a ArrayList
object.public void clearTagPanel()
clearTagPanel
public boolean addAllTags(Collection<String> tags)
addAllTags
tags
- a Collection
object.public void showApplicationFilters(boolean isApplicationView)
showApplicationFilters
isApplicationView
- a boolean.public void resizeDockPanel()
resizeDockPanel
public void onTagPanelResize()
onTagPanelResize
onTagPanelResize
in interface TagPanel.TagResizeEventHandler
public void onResize()
onResize
onResize
in interface com.google.gwt.user.client.ui.RequiresResize
public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
onResize
in interface com.google.gwt.event.logical.shared.ResizeHandler
public static String getUserAgent()
Copyright © 2019. All rights reserved.