|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opennms.features.poller.remote.gwt.client.PageableList
org.opennms.features.poller.remote.gwt.client.PageableApplicationList
public class PageableApplicationList
PageableApplicationList class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
PageableApplicationList()
Constructor for PageableApplicationList. |
|
| Method Summary | |
|---|---|
boolean |
checkIfApplicationIsSelected(String name)
checkIfApplicationIsSelected |
protected com.google.gwt.user.client.ui.Widget |
getListItemWidget(int index)
getListItemWidget |
protected int |
getListSize()
getListSize |
String |
getSelectedApplicationDetailsAsString(String name)
getSelectedApplicationDetailsAsString |
void |
onApplicationDetailsRetrieved(ApplicationDetailsRetrievedEvent event)
onApplicationDetailsRetrieved |
void |
onItemClickHandler(com.google.gwt.event.dom.client.ClickEvent event)
onItemClickHandler |
void |
refreshApplicationListResize()
refreshApplicationListResize |
void |
setEventBus(com.google.gwt.event.shared.HandlerManager eventBus)
setEventBus |
void |
updateList(ArrayList<ApplicationInfo> applications)
TODO: Maybe enhance this so that it only adds/updates/deletes individual items TODO: Don't skip to the front page on every update |
void |
updateSelectedApplications(Set<ApplicationInfo> selectedApplications)
updateSelectedApplications |
| Methods inherited from class org.opennms.features.poller.remote.gwt.client.PageableList |
|---|
addLocationPanelSelectEventHandler, calculateAndSetTotalPages, getAlternateRowStyle, getCellForEvent, getCurrentPageIndex, getTotalListItemsPerPage, onLoad, onNextBtnClick, onPrevBtnClick, refresh, setCurrentPageIndex, showFirstPage, updateListDisplay |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
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, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PageableApplicationList()
Constructor for PageableApplicationList.
| Method Detail |
|---|
public String getSelectedApplicationDetailsAsString(String name)
getSelectedApplicationDetailsAsString
name - a String object.
String object.public boolean checkIfApplicationIsSelected(String name)
checkIfApplicationIsSelected
name - a String object.
public void updateList(ArrayList<ApplicationInfo> applications)
applications - a ArrayList object.protected com.google.gwt.user.client.ui.Widget getListItemWidget(int index)
getListItemWidget
getListItemWidget in class PageableListindex - a int.
Widget object.protected int getListSize()
getListSize
getListSize in class PageableListpublic void onItemClickHandler(com.google.gwt.event.dom.client.ClickEvent event)
onItemClickHandler
onItemClickHandler in class PageableListevent - a ClickEvent object.public void setEventBus(com.google.gwt.event.shared.HandlerManager eventBus)
setEventBus
eventBus - a HandlerManager object.public void onApplicationDetailsRetrieved(ApplicationDetailsRetrievedEvent event)
onApplicationDetailsRetrieved
onApplicationDetailsRetrieved in interface ApplicationDetailsRetrievedEventHandlerevent - a ApplicationDetailsRetrievedEvent object.public void refreshApplicationListResize()
refreshApplicationListResize
public void updateSelectedApplications(Set<ApplicationInfo> selectedApplications)
updateSelectedApplications
selectedApplications - a Set object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||