org.gcube.portlets.user.searchportlet.client
Class AdvancedSearchPanel
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.gcube.portlets.user.searchportlet.client.AdvancedSearchPanel
- 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 AdvancedSearchPanel
- extends com.google.gwt.user.client.ui.Composite
This panel provides the functionality to search across multiple collections without the need of metadata schema selection
|
Nested Class Summary |
protected class |
AdvancedSearchPanel.SearchField
This class wraps the three fields for a row in the Abstract Search ListBox
for the Type to search TextBox for what to search ListBox |
| 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 |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| 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 |
searchButtons
protected SearchButtons searchButtons
searchPerCollection
protected boolean searchPerCollection
cType
protected String cType
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
singleton
public static AdvancedSearchPanel singleton
searchFieldNo
protected int searchFieldNo
searchFieldActiveNo
protected int searchFieldActiveNo
AdvancedSearchPanel
public AdvancedSearchPanel(SearchAvailabilityType searchStatus)
get
public static AdvancedSearchPanel get()
init
public void init()
addSearchField
public void addSearchField()
- Adds a new searchField to the SearchField panel and update the information to the server.
The first time we create a new SearchField with index 0.
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.