| java.lang.Object com.sun.svg.component.SVGHorizontalScrollBar
SVGHorizontalScrollBar | public class SVGHorizontalScrollBar (Code) | | The convention for a scroll bar is that the background element has the 'bkg' suffix
(e.g., "myScrollBar.bkg") and the thumb element has the suffix 'thumb'
(e.g., "myScrollBar.thumb").
|
Method Summary | |
public void | hookSkin(Document doc) Hooks this scroll bar with a new skin. | public void | setThumbPosition(float pos) Parameters: pos - the desired thumb position in the [0, 1] interval. |
BACKGROUND_SUFFIX | final static String BACKGROUND_SUFFIX(Code) | | |
idPrefix | protected String idPrefix(Code) | | The scroll bar's id prefix, i.e., the prefix used for all of the
scrollbar component ids.
|
maxTranslate | protected float maxTranslate(Code) | | The max position of the thumb along the x-axis
|
minTranslate | protected float minTranslate(Code) | | The min position of the thumb along the x-axis
|
pos | protected float pos(Code) | | The current scrollbar position.
|
svg | protected SVGSVGElement svg(Code) | | The document's root svg element.
|
thumb | protected SVGLocatableElement thumb(Code) | | The scroll bar thumb
|
thumbTxf | protected SVGMatrix thumbTxf(Code) | | The thumb's initial transform.
|
SVGHorizontalScrollBar | public SVGHorizontalScrollBar(String idPrefix)(Code) | | Parameters: idPrefix - the scrollBar id prefix. |
hookSkin | public void hookSkin(Document doc)(Code) | | Hooks this scroll bar with a new skin.
Parameters: doc - - the new skin content. |
setThumbPosition | public void setThumbPosition(float pos)(Code) | | Parameters: pos - the desired thumb position in the [0, 1] interval. If the value is out of range, itis clipped to the valid range. |
|
|