com.sencha.gxt.widget.core.client.grid.filters
Class RangeMenu<M,V extends Number>

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.sencha.gxt.widget.core.client.Component
              extended by com.sencha.gxt.widget.core.client.container.Container
                  extended by com.sencha.gxt.widget.core.client.container.InsertContainer
                      extended by com.sencha.gxt.widget.core.client.menu.Menu
                          extended by com.sencha.gxt.widget.core.client.grid.filters.RangeMenu<M,V>
All Implemented Interfaces:
HasAttachHandlers, HasBeforeSelectionHandlers<Item>, HasResizeHandlers, HasSelectionHandlers<Item>, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, InsertPanel, InsertPanel.ForIsWidget, IsWidget, AddEvent.HasAddHandlers, BeforeAddEvent.HasBeforeAddHandlers, BeforeHideEvent.HasBeforeHideHandlers, BeforeRemoveEvent.HasBeforeRemoveHandlers, BeforeShowContextMenuEvent.HasBeforeShowContextMenuHandler, BeforeShowEvent.HasBeforeShowHandlers, BlurEvent.HasBlurHandlers, ContainerHandler.HasContainerHandlers, DisableEvent.HasDisableHandlers, EnableEvent.HasEnableHandlers, FocusEvent.HasFocusHandlers, HideEvent.HasHideHandlers, MoveEvent.HasMoveHandlers, RemoveEvent.HasRemoveHandlers, ShowContextMenuEvent.HasShowContextMenuHandler, ShowEvent.HasShowHandlers, HasFocusSupport, HasItemId, Iterable<Widget>

public class RangeMenu<M,V extends Number>
extends Menu


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sencha.gxt.widget.core.client.menu.Menu
Menu.MenuAppearance
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
InsertPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
RangeMenu(NumericFilter<M,V> filter)
           
 
Method Summary
 List<com.sencha.gxt.widget.core.client.grid.filters.RangeMenu.RangeItem> getRangeItems()
          Returns the menu's range items.
 List<FilterConfig> getValue()
          Returns the menu's value.
 void setEmptyText(String emptyText)
           
 void setFieldWidth(int width)
           
 void setRangeItems(List<com.sencha.gxt.widget.core.client.grid.filters.RangeMenu.RangeItem> rangeItems)
          Sets the menu's range items (defaults to EQUAL, GREATERTHAN, LESSTHAN).
 void setValue(List<FilterConfig> values)
          Sets the menu's values
 
Methods inherited from class com.sencha.gxt.widget.core.client.menu.Menu
addBeforeSelectionHandler, addSelectionHandler, getDefaultAlign, getMaxHeight, getMinWidth, getParentItem, getSubMenuAlign, hide, hide, isConstrainViewport, isEnableScrolling, isFocusOnShow, isVisible, onBrowserEvent, setActiveItem, setConstrainViewport, setDefaultAlign, setEnableScrolling, setFocusOnShow, setMaxHeight, setMinWidth, setSubMenuAlign, show, show, show, showAt
 
Methods inherited from class com.sencha.gxt.widget.core.client.container.InsertContainer
insert, insert
 
Methods inherited from class com.sencha.gxt.widget.core.client.container.Container
add, add, addAddHandler, addBeforeAddHandler, addBeforeRemoveHandler, addContainerHandler, addRemoveHandler, clear, disable, enable, findWidget, getItemByItemId, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, iterator, remove, remove, remove
 
Methods inherited from class com.sencha.gxt.widget.core.client.Component
addBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disableEvents, enableEvents, fireEvent, focus, getData, getElement, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getShadow, getStateId, getToolTip, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isRendered, isStateful, isVisible, mask, mask, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setPagePosition, setPixelSize, setPosition, setShadow, setSize, setStateful, setStateId, setTabIndex, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmask
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
 
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel
add
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Constructor Detail

RangeMenu

public RangeMenu(NumericFilter<M,V> filter)
Method Detail

getRangeItems

public List<com.sencha.gxt.widget.core.client.grid.filters.RangeMenu.RangeItem> getRangeItems()
Returns the menu's range items.

Returns:
the range items

setFieldWidth

public void setFieldWidth(int width)

getValue

public List<FilterConfig> getValue()
Returns the menu's value.

Returns:
the value

setEmptyText

public void setEmptyText(String emptyText)

setRangeItems

public void setRangeItems(List<com.sencha.gxt.widget.core.client.grid.filters.RangeMenu.RangeItem> rangeItems)
Sets the menu's range items (defaults to EQUAL, GREATERTHAN, LESSTHAN).

Parameters:
rangeItems - the range items

setValue

public void setValue(List<FilterConfig> values)
Sets the menu's values

Parameters:
values - the values


Copyright © 2012. All Rights Reserved.