public class ItemsDisplayerPanel
extends com.google.gwt.user.client.ui.Composite
ItemsDisplayerPanel
is the entry point classModifier and Type | Field and Description |
---|---|
List<ResultItem> |
currentDisplayedItems |
com.google.gwt.user.client.ui.DialogBox |
loading
loading gif as transparent popup
|
static ItemsDisplayerPanel |
singleton |
Constructor and Description |
---|
ItemsDisplayerPanel(Controller c) |
Modifier and Type | Method and Description |
---|---|
void |
addRecord(ResultItem toadd) |
void |
addSingleResult(ResultObj result,
int i,
int from,
boolean isLastOne) |
void |
clear() |
void |
displayQuery(String toDisplay) |
void |
displayresults(Vector<ResultObj> results,
int from,
int to,
String currTotal,
boolean normalResults) |
static ItemsDisplayerPanel |
get() |
void |
removeSplasmessage() |
void |
showCollectionListbox(com.google.gwt.user.client.ui.ListBox listbox) |
void |
updateSize()
updateSize
|
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
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
public static ItemsDisplayerPanel singleton
public List<ResultItem> currentDisplayedItems
public com.google.gwt.user.client.ui.DialogBox loading
public ItemsDisplayerPanel(Controller c)
c
- the controller instancepublic static ItemsDisplayerPanel get()
public void updateSize()
public void removeSplasmessage()
public void displayQuery(String toDisplay)
toDisplay
- the query to displaypublic void addRecord(ResultItem toadd)
public void displayresults(Vector<ResultObj> results, int from, int to, String currTotal, boolean normalResults)
public void addSingleResult(ResultObj result, int i, int from, boolean isLastOne)
result
- public void clear()
public void showCollectionListbox(com.google.gwt.user.client.ui.ListBox listbox)
listbox
- : listbox with collection namesCopyright © 2014. All Rights Reserved.