Package org.opencms.gwt.client.ui
Class CmsScrollPanelImpl
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.google.gwt.user.client.ui.ScrollPanel
org.opencms.gwt.client.ui.CmsScrollPanel
org.opencms.gwt.client.ui.CmsScrollPanelImpl
- All Implemented Interfaces:
com.google.gwt.event.dom.client.HasScrollHandlers,com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.logical.shared.HasResizeHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.AcceptsOneWidget,com.google.gwt.user.client.ui.HasHorizontalScrolling,com.google.gwt.user.client.ui.HasOneWidget,com.google.gwt.user.client.ui.HasScrolling,com.google.gwt.user.client.ui.HasVerticalScrolling,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.HasWidgets,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget,com.google.gwt.user.client.ui.IsWidget,com.google.gwt.user.client.ui.ProvidesResize,com.google.gwt.user.client.ui.RequiresResize,com.google.gwt.user.client.ui.SourcesScrollEvents,Iterable<com.google.gwt.user.client.ui.Widget>,I_CmsDescendantResizeHandler
Scroll panel implementation with custom scroll bars. Works in all browsers but IE7.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencms.gwt.client.ui.CmsScrollPanel
CmsScrollPanel.ResizeButton, CmsScrollPanel.ResizeEventPreviewHandlerNested 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.DebugIdImplEnabledNested 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 org.opencms.gwt.client.ui.CmsScrollPanel
m_previewHandlerRegistrationFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.gwt.user.client.ui.VerticalScrollbarReturns the vertical scroll bar.Iterator<com.google.gwt.user.client.ui.Widget> iterator()protected voidonAttach()voidonBrowserEvent(com.google.gwt.user.client.Event event) protected voidonLoad()voidThis method should be called when a descendant widget changes its size.protected voidonUnload()voidsetResizable(boolean resize) Sets the scrollpanel resizeable.Methods inherited from class org.opencms.gwt.client.ui.CmsScrollPanel
addResizeHandler, enableFocusedScrolling, ensureFocusedScrolling, onDetach, remove, setDefaultHeight, setNewHeight, setStartParametersMethods inherited from class com.google.gwt.user.client.ui.ScrollPanel
addScrollHandler, addScrollListener, ensureVisible, getContainerElement, getHorizontalScrollPosition, getMaximumHorizontalScrollPosition, getMaximumVerticalScrollPosition, getMinimumHorizontalScrollPosition, getMinimumVerticalScrollPosition, getScrollableElement, getScrollPosition, getVerticalScrollPosition, isTouchScrollingDisabled, onResize, removeScrollListener, scrollToBottom, scrollToLeft, scrollToRight, scrollToTop, setAlwaysShowScrollBars, setHeight, setHorizontalScrollPosition, setScrollPosition, setSize, setTouchScrollingDisabled, setVerticalScrollPosition, setWidthMethods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, setWidget, setWidgetMethods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeMethods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, removeFromParent, setLayoutData, sinkEvents, unsinkEventsMethods 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, setPixelSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEventMethods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidgetMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CmsScrollPanelImpl
public CmsScrollPanelImpl()Constructor.
-
-
Method Details
-
iterator
-
onBrowserEvent
- Specified by:
onBrowserEventin interfacecom.google.gwt.user.client.EventListener- Overrides:
onBrowserEventin classcom.google.gwt.user.client.ui.Widget- See Also:
-
onResizeDescendant
Description copied from interface:I_CmsDescendantResizeHandlerThis method should be called when a descendant widget changes its size.- Specified by:
onResizeDescendantin interfaceI_CmsDescendantResizeHandler- Overrides:
onResizeDescendantin classCmsScrollPanel- See Also:
-
setResizable
Description copied from class:CmsScrollPanelSets the scrollpanel resizeable.- Overrides:
setResizablein classCmsScrollPanel- Parameters:
resize- true if the scrollpanel should be resizeable.- See Also:
-
getVerticalScrollBar
Returns the vertical scroll bar.- Returns:
- the vertical scroll bar
-
onAttach
- Overrides:
onAttachin classCmsScrollPanel- See Also:
-
onLoad
- Overrides:
onLoadin classcom.google.gwt.user.client.ui.Widget- See Also:
-
onUnload
- Overrides:
onUnloadin classcom.google.gwt.user.client.ui.Widget- See Also:
-