org.gcube.portlets.user.results.client.panels
Class RecordsPanel

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.results.client.panels.RecordsPanel
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 RecordsPanel
extends com.google.gwt.user.client.ui.Composite

RecordsPanel class is the UI Component where the records are visible

Version:
January 2009 (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
           
static int HEADERPART_HEIGHT
           
static int HEADERPART_WIDTH
           
 com.google.gwt.user.client.ui.DialogBox loading
          loading gif as transparent popup
static RecordsPanel singleton
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
RecordsPanel(Controller c, FlexTableRowDragController dragController)
           
 
Method Summary
 void addNextPreviousButtons()
           
 void addRecord(ResultItem toadd)
           
 void clear()
           
 void displayFieldValues(Vector<ResultObj> results, int from, int to, String currTotal)
           
 void displayQuery(String toDisplay)
           
 void displayresults(Vector<ResultObj> results, int from, int to, String currTotal, boolean normalResults)
           
static RecordsPanel get()
           
 void showCollectionListbox(com.google.gwt.user.client.ui.ListBox listbox)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement
 
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

HEADERPART_HEIGHT

public static final int HEADERPART_HEIGHT
See Also:
Constant Field Values

HEADERPART_WIDTH

public static final int HEADERPART_WIDTH

singleton

public static RecordsPanel singleton

currentDisplayedItems

public List<ResultItem> currentDisplayedItems

loading

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

Constructor Detail

RecordsPanel

public RecordsPanel(Controller c,
                    FlexTableRowDragController dragController)
Parameters:
c - the controller instance
Method Detail

get

public static RecordsPanel get()
Returns:
.

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)

displayFieldValues

public void displayFieldValues(Vector<ResultObj> results,
                               int from,
                               int to,
                               String currTotal)
Parameters:
results -
from -
to -
currTotal -

addNextPreviousButtons

public void addNextPreviousButtons()

clear

public void clear()

showCollectionListbox

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


Copyright © 2013. All Rights Reserved.