public class FocusableScrollPanel extends SimpleFocusablePanel implements com.google.gwt.event.dom.client.HasScrollHandlers, com.google.gwt.event.dom.client.ScrollHandler
ScrollPanel.| Constructor and Description |
|---|
FocusableScrollPanel() |
FocusableScrollPanel(boolean useFakeFocusElement) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler handler) |
com.google.gwt.user.client.Element |
getFocusElement() |
int |
getHorizontalScrollPosition()
Gets the horizontal scroll position.
|
int |
getScrollPosition()
Gets the vertical scroll position.
|
void |
onScroll(com.google.gwt.event.dom.client.ScrollEvent event) |
void |
setFocus(boolean focus) |
void |
setHorizontalScrollPosition(int position)
Sets the horizontal scroll position.
|
void |
setScrollPosition(int position)
Sets the vertical scroll position.
|
void |
setTabIndex(int tabIndex) |
void |
setWidget(com.google.gwt.user.client.ui.Widget w) |
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, focusadd, getContainerElement, getWidget, iterator, remove, setWidgetadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic FocusableScrollPanel()
public FocusableScrollPanel(boolean useFakeFocusElement)
public void setWidget(com.google.gwt.user.client.ui.Widget w)
setWidget in interface com.google.gwt.user.client.ui.HasOneWidgetsetWidget in class com.google.gwt.user.client.ui.SimplePanelpublic void setFocus(boolean focus)
setFocus in class SimpleFocusablePanelpublic void setTabIndex(int tabIndex)
setTabIndex in class SimpleFocusablePanelpublic com.google.gwt.event.shared.HandlerRegistration addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler handler)
addScrollHandler in interface com.google.gwt.event.dom.client.HasScrollHandlerspublic int getHorizontalScrollPosition()
public int getScrollPosition()
public void setHorizontalScrollPosition(int position)
position - the new horizontal scroll position, in pixelspublic void setScrollPosition(int position)
position - the new vertical scroll position, in pixelspublic void onScroll(com.google.gwt.event.dom.client.ScrollEvent event)
onScroll in interface com.google.gwt.event.dom.client.ScrollHandlerpublic com.google.gwt.user.client.Element getFocusElement()
Copyright © 2016 Vaadin Ltd. All rights reserved.