com.sage.swt.client.widget
Class FinderAdvancedSearchPopup

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 com.sage.swt.client.widget.AbstractSwtWidget
                  extended by com.sage.swt.client.widget.SwtPopupForm
                      extended by com.sage.swt.client.widget.FinderAdvancedSearchPopup
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.gen2.commonevent.shared.HasBeforeOpenHandlers<FinderAdvancedSearchPopup>, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IsWidget, HasPropertyChangeHandlers, PropertyBag, BehavesAsDialogBox, ContainsDeclarativeLayout, ContainsInstanceLoader, BeforePopupClosedHandler, SwtEventSource, HasAfterWidgetKeyChangedHandlers, HasBeforeWidgetKeyChangedHandlers, HasCancellableSwtPopupFormClosedHandlers, HasPopupFormSetupHandlers, HasSwtPopupFormClosedHandlers, SwtWidget, HasFinderValueSelectionHandlers, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>

public class FinderAdvancedSearchPopup
extends SwtPopupForm
implements HasFinderValueSelectionHandlers, com.google.gwt.gen2.commonevent.shared.HasBeforeOpenHandlers<FinderAdvancedSearchPopup>

This is a popup that is used for the advanced search functions of the finder. It includes a query panel for setting various filters and a table that will show the results of the filtering of the original search results.


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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
FinderAdvancedSearchPopup(FinderPropertyValue value, DataSource dataSource, WidgetKey widgetKey, SwtErrorStack errorStack, InstanceContext instanceContext)
          Constructor for FinderAdvancedSearchPopup
FinderAdvancedSearchPopup(FinderPropertyValue value, DataSource dataSource, WidgetKey widgetKey, SwtErrorStack errorStack, InstanceContext instanceContext, boolean appendAdvancedColumns)
          Constructor that builds all the components of the advanced search popup and refreshes the information.
 
Method Summary
 com.google.gwt.event.shared.HandlerRegistration addBeforeOpenHandler(com.google.gwt.gen2.commonevent.shared.BeforeOpenHandler<FinderAdvancedSearchPopup> handler)
           
 com.google.gwt.event.shared.HandlerRegistration addFinderValueSelectionHandler(FinderValueSelectionHandler handler)
          Adds a FinderValueSelectionHandler handler.
 com.google.gwt.user.client.ui.Widget buildNoDataWidget()
          Build the No Data exists widget.
 void hide()
          Hides (closes) the popup form.
 void setFilter(com.sage.swt.common.filter.QueryExpression filter)
           
 void show()
          Shows (opens) the popup form and starts loading its contents.
 void showCentered()
          Shows (opens) the popup form in the center of the browser's client area and starts loading the popup form's contents.
 
Methods inherited from class com.sage.swt.client.widget.SwtPopupForm
add, addActionFactory, addBeforeSwtPopupFormClosedHandler, addPopupFormSetupHandler, addSwtPopupFormClosedHandler, clear, fireSetupPopupWidgets, getCaption, getDesignerTooltip, getDesignerTypeName, getEvent, getEvents, getLayout, getProperties, getWidget, getWidgetCreator, isShowing, iterator, onBeforePopupClosed, onClose, remove, setCaption, setCaption, setCloseButtonVisible, setElementID, setHeight, setHelpButtonVisible, setInstanceLoader, setLayout, setPopupPosition, setPropertyValue, setTitle, setupPropertyDefaultValues, setVisible, setWidth
 
Methods inherited from class com.sage.swt.client.widget.AbstractSwtWidget
addAfterWidgetKeyChangedHandler, addBeforeWidgetKeyChangedHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addPropertyChangeHandler, changeAlignmentInParent, forceBrowserRepaint, getDatasourceID, getDefaultProperties, getDesignerCategory, getErrorStack, getHelpID, getHorizontalAlignmentInParent, getInstanceContext, getPreferenceBinding, getPreferenceStoreID, getPropertyDefaultValue, getPropertyValue, getSymbolID, getTitle, getVerticalAlignmentInParent, getWidgetHelper, getWidgetKey, isEnabled, isVisible, setClientProperty, setDatasourceID, setDefaultPropertyValue, setEnabled, setHelpID, setHorizontalAlignmentInParent, setInstanceContext, setPreferenceBinding, setPreferenceStoreID, setPropertyDefaultValue, setSymbolID, setupAlignmentInParentProperties, setupDefaultAlignmentInParentProperties, setupDefaultHeightProperty, setupDefaultWidthProperty, setVerticalAlignmentInParent, setWidgetKey
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
initWidget, isAttached, onAttach, onBrowserEvent, onDetach, 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, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

FinderAdvancedSearchPopup

public FinderAdvancedSearchPopup(FinderPropertyValue value,
                                 DataSource dataSource,
                                 WidgetKey widgetKey,
                                 SwtErrorStack errorStack,
                                 InstanceContext instanceContext,
                                 boolean appendAdvancedColumns)
Constructor that builds all the components of the advanced search popup and refreshes the information.

Parameters:
value - Holds the definitions of the columns that should be shown in the search table
dataSource - DataSource which is used as a data provider for advanced search
widgetKey - Unique widget identifier
errorStack - Error stacks
instanceContext - Instance context of the widget
appendAdvancedColumns - specify whether to appendAdvancedColumns

FinderAdvancedSearchPopup

public FinderAdvancedSearchPopup(FinderPropertyValue value,
                                 DataSource dataSource,
                                 WidgetKey widgetKey,
                                 SwtErrorStack errorStack,
                                 InstanceContext instanceContext)
Constructor for FinderAdvancedSearchPopup

Parameters:
value - FinderPropertyValue
dataSource - DataSource
widgetKey - WidgetKey
errorStack - SwtErrorStack
instanceContext - InstanceContext
Method Detail

addBeforeOpenHandler

public com.google.gwt.event.shared.HandlerRegistration addBeforeOpenHandler(com.google.gwt.gen2.commonevent.shared.BeforeOpenHandler<FinderAdvancedSearchPopup> handler)
Specified by:
addBeforeOpenHandler in interface com.google.gwt.gen2.commonevent.shared.HasBeforeOpenHandlers<FinderAdvancedSearchPopup>

addFinderValueSelectionHandler

public com.google.gwt.event.shared.HandlerRegistration addFinderValueSelectionHandler(FinderValueSelectionHandler handler)
Description copied from interface: HasFinderValueSelectionHandlers
Adds a FinderValueSelectionHandler handler.

Specified by:
addFinderValueSelectionHandler in interface HasFinderValueSelectionHandlers
Parameters:
handler - the value selected from finder handler
Returns:
HandlerRegistration used to remove this handler

hide

public void hide()
Description copied from class: SwtPopupForm
Hides (closes) the popup form.

Overrides:
hide in class SwtPopupForm

show

public void show()
Description copied from class: SwtPopupForm
Shows (opens) the popup form and starts loading its contents.

Overrides:
show in class SwtPopupForm

showCentered

public void showCentered()
Description copied from class: SwtPopupForm
Shows (opens) the popup form in the center of the browser's client area and starts loading the popup form's contents.

Overrides:
showCentered in class SwtPopupForm

setFilter

public void setFilter(com.sage.swt.common.filter.QueryExpression filter)
Parameters:
filter - QueryExpression to apply to the results displayed by the FinderAdvancedSearchPopup

buildNoDataWidget

public com.google.gwt.user.client.ui.Widget buildNoDataWidget()
Build the No Data exists widget.

Returns:
Widget


Copyright © 2011 Sage Software, Inc. All rights reserved.