public class SpeciesSearchFormPanel
extends com.extjs.gxt.ui.client.widget.ContentPanel
| Modifier and Type | Class and Description |
|---|---|
static class |
SpeciesSearchFormPanel.SEARCHTYPE
The Enum SEARCHTYPE.
|
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.user.client.ui.Button |
buttQueryExample |
protected com.google.gwt.user.client.ui.Button |
buttQuerySearch |
protected com.google.gwt.user.client.ui.Button |
buttSimpleExample |
protected com.google.gwt.user.client.ui.Button |
buttSimpleSearch |
protected com.google.gwt.user.client.ui.Button |
buttSimpleStopSearch |
protected com.extjs.gxt.ui.client.widget.form.CheckBox |
checkValidateOccurrences |
protected com.google.gwt.event.shared.EventBus |
eventBus |
protected static String |
EXSEARCH |
static int |
NORTHHEIGHT |
protected com.extjs.gxt.ui.client.widget.form.TextField<String> |
searchField |
protected com.extjs.gxt.ui.client.widget.form.SimpleComboBox<String> |
searchType |
protected com.extjs.gxt.ui.client.widget.form.SimpleComboBox<String> |
searchTypeResults |
com.extjs.gxt.ui.client.widget.form.TextArea |
textArea |
bbarStyle, bodStyle, body, bwrap, bwrapStyle, collapseStyle, fbar, footerStyle, frame, head, headerStyle, headerTextStyle, tbarStyleattachChildren, enableLayout, layoutExecuted, layoutNeeded, layoutOnAttach, layoutOnChangeadjustSize, cacheSizes, ensureVisibilityOnSizing, height, lastSize, layer, shim, widthafterRender, attachables, baseStyle, disabled, disabledStyle, disableTextSelection, dummy, focusable, hidden, mask, maskMessage, maskMessageStyleName, monitorWindowResize, rendered, resizeHandler, setElementRender, stateId, swallowEvents, toolTip, windowResizeDelay, windowResizeTask| Constructor and Description |
|---|
SpeciesSearchFormPanel(com.google.gwt.event.shared.EventBus eventBus)
Instantiates a new species search form panel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activeButtonSearch(boolean bool)
Active button search.
|
protected void |
bind()
Bind.
|
protected void |
disableSearch()
Disable search.
|
protected void |
enableSearch()
Enable search.
|
SpeciesCapability |
getSelectedCapability()
Gets the selected capability.
|
boolean |
getValueCheckValidateOcccurrences()
Gets the value check validate occcurrences.
|
protected void |
init()
Inits the.
|
protected void |
search()
Search.
|
protected void |
search(String searchTerm,
Number upperBoundLongitude,
Number upperBoundLatitude,
Number lowerBoundLongitude,
Number lowerBoundLatitude,
Date fromDate,
Date toDate,
List<DataSourceModel> listDataSources,
String groupRank,
SpeciesCapability resultType,
List<DataSourceModel> listDataSourceForSynonyms,
List<DataSourceModel> listDataSourceForUnfold)
Search.
|
protected void |
searchByQuery(String query)
Search by query.
|
void |
setValueCheckValidateOcccurrences(boolean bool)
Sets the value check validate occcurrences.
|
void |
setVisibleCheckValidateOcccurrences(boolean bool)
Sets the visible check validate occcurrences.
|
void |
switchSearchType(SpeciesSearchFormPanel.SEARCHTYPE searchType)
Switch search type.
|
void |
visibleButtonStopSearch(boolean bool)
Visible button stop search.
|
addButton, adjustBodySize, afterCollapse, afterExpand, collapse, createStyles, doAttachChildren, doDetachChildren, expand, getAnimCollapse, getBody, getBodyBorder, getBodyStyle, getBottomComponent, getButtonAlign, getButtonBar, getCollapseBtn, getCollapsible, getElement, getFrame, getFrameHeight, getFrameSize, getFrameWidth, getHeader, getHeading, getIcon, getInnerHeight, getInnerWidth, getLayoutTarget, getMinButtonWidth, getTitleCollapse, getTitleText, getTopComponent, initTools, isCollapsed, isExpanded, isFooter, isHeaderVisible, isHideCollapseTool, layoutBars, notifyHide, notifyShow, onClick, onCollapse, onComponentEvent, onDisable, onEnable, onExpand, onRender, onResize, remove, setAnimCollapse, setBodyBorder, setBodyStyle, setBodyStyleName, setBottomComponent, setButtonAlign, setCollapsible, setExpanded, setFooter, setFrame, setHeaderVisible, setHeading, setHideCollapseTool, setIcon, setIconStyle, setInsetBorder, setMinButtonWidth, setTitleCollapse, setTopComponent, setUrladd, add, addText, findComponent, getLayout, getWindowResizeDelay, insert, insert, isLayoutOnChange, isMonitorWindowResize, layout, layout, onBlur, onFocus, remove, removeAll, setLayout, setLayoutData, setLayoutOnChange, setMonitorWindowResize, setWindowResizeDelayaddScrollListener, afterRender, getHScrollPosition, getScrollMode, getVScrollPosition, removeScrollListener, scrollIntoView, setHScrollPosition, setScrollMode, setVScrollPositionadd, adjustIndex, adopt, createContainerEvent, disable, doLayout, doLayout, enable, findItem, getItem, getItemByItemId, getItemCount, getItems, getWidget, indexOf, insert, isLayoutNeeded, iterator, onAfterLayout, onAttach, onBeforeLayoutExcecuted, onInsert, onLayoutExcecuted, onRemove, orphan, remove, removeAll, scrollIntoView, setLayoutNeeded, wrapWidgetadjustPosition, adjustSize, createComponentEvent, getBounds, getHeight, getHeight, getPosition, getPositionEl, getResizeEl, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, hideShadow, hideShim, hideUnders, isAutoHeight, isAutoWidth, isDeferHeight, isShim, onHide, onPosition, onShow, onUnload, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShadowOffset, setShadowPosition, setShim, setSize, setSize, setWidth, setWidth, sync, syncSizeaddAttachable, addListener, addPlugin, addStyleName, addStyleOnOver, addWidgetListener, applyState, assertAfterRender, assertPreRender, beforeRender, blur, clearState, createObservable, disableContextMenu, disableEvents, disableTextSelection, el, enableEvents, fireEvent, fireEvent, fireEvent, fly, focus, frame, getAriaSupport, getBaseStyle, getBorders, getContextMenu, getData, getElement, getFocusEl, getFocusSupport, getHideMode, getId, getItemId, getListeners, getModel, getObservable, getPlugins, getState, getStateId, getTabIndex, getTitle, getToolTip, hasListeners, hasListeners, hide, hideToolTip, initState, isDisabledEvents, isDisableTextSelection, isEnabled, isMasked, isRendered, isStateful, isVisible, isVisible, mask, mask, mask, onBrowserEvent, onDetach, onDetachHelper, onEnsureDebugId, onHideContextMenu, onLoad, onRightClick, onShowContextMenu, onWindowResize, previewEvent, recalculate, removeAllListeners, removeAttachagle, removeFromParent, removeListener, removeStyleName, removeStyleOnOver, removeSwallow, removeToolTip, removeWidgetListener, render, render, repaint, saveState, setAriaRole, setAriaState, setAriaSupport, setBorders, setContextMenu, setData, setEl, setElement, setElement, setEnabled, setFiresEvents, setHideMode, setId, setIntStyleAttribute, setItemId, setModel, setParent, setStateful, setStateId, setStyleAttribute, setStyleName, setTabIndex, setTitle, setToolTip, setToolTip, setVisible, setZIndex, show, sinkEvents, swallowEvent, swallowEvent, toString, unframe, unmaskaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, setLayoutData, unsinkEventsaddStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, resolvePotentialElement, setElement, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEventprotected static final String EXSEARCH
protected com.google.gwt.user.client.ui.Button buttSimpleSearch
protected com.google.gwt.user.client.ui.Button buttQuerySearch
protected com.google.gwt.user.client.ui.Button buttQueryExample
protected com.google.gwt.user.client.ui.Button buttSimpleExample
protected com.google.gwt.user.client.ui.Button buttSimpleStopSearch
protected com.extjs.gxt.ui.client.widget.form.SimpleComboBox<String> searchType
protected com.extjs.gxt.ui.client.widget.form.SimpleComboBox<String> searchTypeResults
protected com.google.gwt.event.shared.EventBus eventBus
protected com.extjs.gxt.ui.client.widget.form.TextField<String> searchField
public static final int NORTHHEIGHT
public com.extjs.gxt.ui.client.widget.form.TextArea textArea
protected com.extjs.gxt.ui.client.widget.form.CheckBox checkValidateOccurrences
public SpeciesSearchFormPanel(com.google.gwt.event.shared.EventBus eventBus)
eventBus - the event buspublic SpeciesCapability getSelectedCapability()
public void switchSearchType(SpeciesSearchFormPanel.SEARCHTYPE searchType)
searchType - the search typeprotected void init()
public boolean getValueCheckValidateOcccurrences()
public void setValueCheckValidateOcccurrences(boolean bool)
bool - the new value check validate occcurrencespublic void setVisibleCheckValidateOcccurrences(boolean bool)
bool - the new visible check validate occcurrencespublic void activeButtonSearch(boolean bool)
bool - the boolpublic void visibleButtonStopSearch(boolean bool)
bool - the boolprotected void search()
protected void search(String searchTerm, Number upperBoundLongitude, Number upperBoundLatitude, Number lowerBoundLongitude, Number lowerBoundLatitude, Date fromDate, Date toDate, List<DataSourceModel> listDataSources, String groupRank, SpeciesCapability resultType, List<DataSourceModel> listDataSourceForSynonyms, List<DataSourceModel> listDataSourceForUnfold)
searchTerm - the search termupperBoundLongitude - the upper bound longitudeupperBoundLatitude - the upper bound latitudelowerBoundLongitude - the lower bound longitudelowerBoundLatitude - the lower bound latitudefromDate - the from datetoDate - the to datelistDataSources - the list data sourcesgroupRank - the group rankresultType - the result typelistDataSourceForSynonyms - the list data source for synonymslistDataSourceForUnfold - the list data source for unfoldprotected void searchByQuery(String query)
query - the queryprotected void bind()
protected void enableSearch()
protected void disableSearch()
Copyright © 2020. All Rights Reserved.