org.gcube.portlets.user.collectionexplorer.client.panels
Class ItemsDisplayerPanel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.gcube.portlets.user.collectionexplorer.client.panels.ItemsDisplayerPanel
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

public class ItemsDisplayerPanel
extends com.google.gwt.user.client.ui.Composite

ItemsDisplayerPanel is the entry point class

Version:
September 2010 (0.1)
Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it

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
 List<ResultItem> currentDisplayedItems
           
 com.google.gwt.user.client.ui.DialogBox loading
          loading gif as transparent popup
static ItemsDisplayerPanel singleton
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ItemsDisplayerPanel(Controller c)
           
 
Method Summary
 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
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, 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, onLoad, 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
 

Field Detail

singleton

public static ItemsDisplayerPanel singleton

currentDisplayedItems

public List<ResultItem> currentDisplayedItems

loading

public com.google.gwt.user.client.ui.DialogBox loading
loading gif as transparent popup

Constructor Detail

ItemsDisplayerPanel

public ItemsDisplayerPanel(Controller c)
Parameters:
c - the controller instance
Method Detail

get

public static ItemsDisplayerPanel get()
Returns:
.

updateSize

public void updateSize()
updateSize


removeSplasmessage

public void removeSplasmessage()

displayQuery

public void displayQuery(String toDisplay)
Parameters:
toDisplay - the query to display

addRecord

public void addRecord(ResultItem toadd)

displayresults

public void displayresults(Vector<ResultObj> results,
                           int from,
                           int to,
                           String currTotal,
                           boolean normalResults)

addSingleResult

public void addSingleResult(ResultObj result,
                            int i,
                            int from,
                            boolean isLastOne)
Parameters:
result -

clear

public void clear()

showCollectionListbox

public void showCollectionListbox(com.google.gwt.user.client.ui.ListBox listbox)
Parameters:
listbox - : listbox with collection names


Copyright © 2014. All Rights Reserved.