com.itmill.toolkit.terminal.gwt.client.ui
Class IFilterSelect.SuggestionPopup

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.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by com.google.gwt.user.client.ui.PopupPanel
                      extended by com.itmill.toolkit.terminal.gwt.client.ui.IToolkitOverlay
                          extended by com.itmill.toolkit.terminal.gwt.client.ui.IFilterSelect.SuggestionPopup
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.PopupListener, com.google.gwt.user.client.ui.PopupPanel.PositionCallback, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>
Enclosing class:
IFilterSelect

public class IFilterSelect.SuggestionPopup
extends IToolkitOverlay
implements com.google.gwt.user.client.ui.PopupPanel.PositionCallback, com.google.gwt.user.client.ui.PopupListener


Nested Class Summary
 
Nested classes/interfaces inherited from class com.itmill.toolkit.terminal.gwt.client.ui.IToolkitOverlay
IToolkitOverlay.ShadowAnimation
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
 
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
 
Fields inherited from class com.itmill.toolkit.terminal.gwt.client.ui.IToolkitOverlay
CLASSNAME_SHADOW
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Method Summary
 boolean isJustClosed()
           
 void onBrowserEvent(com.google.gwt.user.client.Event event)
           
 void onPopupClosed(com.google.gwt.user.client.ui.PopupPanel sender, boolean autoClosed)
           
 void selectNextItem()
           
 void selectPrevItem()
           
 void setPagingEnabled(boolean paging)
           
 void setPosition(int offsetWidth, int offsetHeight)
           
 void showSuggestions(Collection<IFilterSelect.FilterSelectSuggestion> currentSuggestions, int currentPage, int totalSuggestions)
           
 void updateStyleNames(UIDL uidl)
          Updates style names in suggestion popup to help theme building.
 
Methods inherited from class com.itmill.toolkit.terminal.gwt.client.ui.IToolkitOverlay
setHeight, setPopupPosition, setShadowStyle, setWidth, setZIndex, show, updateShadowSizeAndPosition
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addPopupListener, center, getContainerElement, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, hide, isAnimationEnabled, onDetach, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removePopupListener, setAnimationEnabled, setPopupPositionAndShow, setTitle, setWidget, setVisible
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onAttach, removeFromParent
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

showSuggestions

public void showSuggestions(Collection<IFilterSelect.FilterSelectSuggestion> currentSuggestions,
                            int currentPage,
                            int totalSuggestions)

selectNextItem

public void selectNextItem()

selectPrevItem

public void selectPrevItem()

onBrowserEvent

public void onBrowserEvent(com.google.gwt.user.client.Event event)
Specified by:
onBrowserEvent in interface com.google.gwt.user.client.EventListener
Overrides:
onBrowserEvent in class com.google.gwt.user.client.ui.Widget

setPagingEnabled

public void setPagingEnabled(boolean paging)

setPosition

public void setPosition(int offsetWidth,
                        int offsetHeight)
Specified by:
setPosition in interface com.google.gwt.user.client.ui.PopupPanel.PositionCallback

isJustClosed

public boolean isJustClosed()
Returns:
true if popup was just closed

onPopupClosed

public void onPopupClosed(com.google.gwt.user.client.ui.PopupPanel sender,
                          boolean autoClosed)
Specified by:
onPopupClosed in interface com.google.gwt.user.client.ui.PopupListener

updateStyleNames

public void updateStyleNames(UIDL uidl)
Updates style names in suggestion popup to help theme building.



Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.