zul
Class Scrollbar

java.lang.Object
  extended by zk.Object
      extended by zul.Scrollbar

public class Scrollbar
extends Object

A Scrollbar used to replace browser native scrollbar on Mesh Element to navigate the content, such as Grid/Listbox/Tree.


Field Summary
 DOMElement cave
          The container object for this scrolling that user can scroll the whole content
 Map opts
          The opts of this scrollbar controls.
 DOMElement scroller
          The content inside container object that will be scrolled.
 
Fields inherited from class zk.Object
$class, $oid
 
Method Summary
 
Methods inherited from class zk.Object
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cave

public DOMElement cave
The container object for this scrolling that user can scroll the whole content


scroller

public DOMElement scroller
The content inside container object that will be scrolled.


opts

public Map opts
The opts of this scrollbar controls.

embed

boolean embed

Embed the scrollbar inside container or not.

Default: false

step

int step

Specifies scrolling pixels each time click on scroll-bar arrow.

Default: 20

wheelAmountStep

int wheelAmountStep

Specifies the multiple of step when mouse wheel scrolling.

Default: 3

startPositionX

int startPositionX

Specifies the horizontal scroll-bar start position according to the scrolling area.

Default: 0

startPositionY

int startPositionY

Specifies the vertical scroll-bar start position according to the scrolling area.

Default: 0



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo