|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Panel com.google.gwt.user.client.ui.SimplePanel com.vaadin.terminal.gwt.client.ui.SimpleFocusablePanel com.vaadin.terminal.gwt.client.ui.FocusableScrollPanel
public class FocusableScrollPanel
A scrollhandlers similar to ScrollPanel
.
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 | |
---|---|
FocusableScrollPanel()
|
|
FocusableScrollPanel(boolean useFakeFocusElement)
|
Method Summary | |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler handler)
|
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)
|
Methods inherited from class com.vaadin.terminal.gwt.client.ui.SimpleFocusablePanel |
---|
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, focus |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
---|
add, getContainerElement, getWidget, iterator, remove, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, 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 |
---|
public FocusableScrollPanel()
public FocusableScrollPanel(boolean useFakeFocusElement)
Method Detail |
---|
public void setWidget(com.google.gwt.user.client.ui.Widget w)
setWidget
in interface com.google.gwt.user.client.ui.HasOneWidget
setWidget
in class com.google.gwt.user.client.ui.SimplePanel
public void setFocus(boolean focus)
setFocus
in class SimpleFocusablePanel
public void setTabIndex(int tabIndex)
setTabIndex
in class SimpleFocusablePanel
public com.google.gwt.event.shared.HandlerRegistration addScrollHandler(com.google.gwt.event.dom.client.ScrollHandler handler)
addScrollHandler
in interface com.google.gwt.event.dom.client.HasScrollHandlers
public 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.ScrollHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |