org.gcube.portlets.user.searchportlet.client
Class SearchPreviousResultsPanel

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.searchportlet.client.SearchPreviousResultsPanel
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 SearchPreviousResultsPanel
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
static class SearchPreviousResultsPanel.DescPopUp
           
protected  class SearchPreviousResultsPanel.SearchField
          This class wraps the three fields for a row in the Advanced Search ListBox for the Type to search TextBox for what to search ListBox for the condtion AND/OR
 
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
 com.google.gwt.user.client.ui.RadioButton and
           
 com.google.gwt.user.client.ui.HTML errorMsg
           
 com.google.gwt.user.client.ui.FlowPanel fPanel
           
 com.google.gwt.user.client.ui.ListBox oldResults
           
 com.google.gwt.user.client.ui.RadioButton or
           
protected  SearchButtons searchButtons
           
protected  int searchFieldActiveNo
           
protected  int searchFieldNo
           
 SearchableFieldBean[] searchFields
           
 com.google.gwt.user.client.ui.VerticalPanel searchFieldVerticalPanel
           
 com.google.gwt.user.client.ui.HTML seeFullQuery
           
 com.google.gwt.user.client.ui.HTML seeResults
           
static SearchPreviousResultsPanel singleton
           
 String[] textFields
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SearchPreviousResultsPanel()
           
 
Method Summary
 void addSearchField()
           
 void adjustSize(int width, int height)
           
static SearchPreviousResultsPanel get()
           
 int getSearchFieldNo()
           
protected  com.google.gwt.user.client.ui.VerticalPanel getSearchFieldPanel()
           
 void init()
           
 void removeSearchField(int id)
          Removes the search field with 'id'.
 void setSearchFieldNo(int searchFieldNo)
           
 
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

oldResults

public com.google.gwt.user.client.ui.ListBox oldResults

seeFullQuery

public com.google.gwt.user.client.ui.HTML seeFullQuery

seeResults

public com.google.gwt.user.client.ui.HTML seeResults

searchButtons

protected SearchButtons searchButtons

errorMsg

public com.google.gwt.user.client.ui.HTML errorMsg

and

public com.google.gwt.user.client.ui.RadioButton and

or

public com.google.gwt.user.client.ui.RadioButton or

fPanel

public com.google.gwt.user.client.ui.FlowPanel fPanel

searchFieldVerticalPanel

public com.google.gwt.user.client.ui.VerticalPanel searchFieldVerticalPanel

searchFields

public SearchableFieldBean[] searchFields

textFields

public String[] textFields

singleton

public static SearchPreviousResultsPanel singleton

searchFieldNo

protected int searchFieldNo

searchFieldActiveNo

protected int searchFieldActiveNo
Constructor Detail

SearchPreviousResultsPanel

public SearchPreviousResultsPanel()
Method Detail

get

public static SearchPreviousResultsPanel get()

init

public void init()

addSearchField

public void addSearchField()

removeSearchField

public void removeSearchField(int id)
Removes the search field with 'id'.

Parameters:
id - The index of the search field to delete

getSearchFieldPanel

protected com.google.gwt.user.client.ui.VerticalPanel getSearchFieldPanel()

adjustSize

public void adjustSize(int width,
                       int height)

getSearchFieldNo

public int getSearchFieldNo()

setSearchFieldNo

public void setSearchFieldNo(int searchFieldNo)


Copyright © 2013. All Rights Reserved.