| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final PlatformLogger | |
| pack-priv XScrollbar |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private int | getDefaultDimension()
Returns default size of scrollbar on the platform Currently uses hardcoded values |
| public Dimension | getMinimumSize()
Overrides sun. Implements java. Compute the minimum size for the scrollbar. |
| public void | |
| public void | handleJavaMouseEvent(MouseEvent mouseEvent)
Overrides sun.
|
| public void | layout()
Overrides sun. Implements java. Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements. |
| public void | notifyValue(XScrollbar obj, int type, int value, boolean isAdjusting)
Implements sun. The value has changed. |
| pack-priv void | |
| public void | preInit(XCreateWindowParams params)
Overrides sun. Called before window creation, descendants should override to initialize the data, initialize params. |
| public void | |
| public void | setLineIncrement(int l)
Implements java. Sets the line increment of the scrollbar. |
| public void | setPageIncrement(int p)
Implements java. Sets the page increment of the scrollbar. |
| public void | |
| public void | setValues(int value, int visible, int minimum, int maximum)
Implements java. Sets the parameters for the scrollbar. |
| DEFAULT_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_LENGTH | |
| DEFAULT_WIDTH_LINUX | back to summary |
|---|---|
| private static final int DEFAULT_WIDTH_LINUX | |
| DEFAULT_WIDTH_SOLARIS | back to summary |
|---|---|
| private static final int DEFAULT_WIDTH_SOLARIS | |
| log | back to summary |
|---|---|
| private static final PlatformLogger log | |
| tsb | back to summary |
|---|---|
| pack-priv XScrollbar tsb | |
| XScrollbarPeer | back to summary |
|---|---|
| pack-priv XScrollbarPeer(Scrollbar target) Create a scrollbar. | |
| getDefaultDimension | back to summary |
|---|---|
| private int getDefaultDimension() Returns default size of scrollbar on the platform Currently uses hardcoded values | |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize() Overrides sun. Implements java. Compute the minimum size for the scrollbar.
| |
| handleJavaKeyEvent | back to summary |
|---|---|
| public void handleJavaKeyEvent(KeyEvent event) Overrides sun.
| |
| handleJavaMouseEvent | back to summary |
|---|---|
| public void handleJavaMouseEvent(MouseEvent mouseEvent) | |
| layout | back to summary |
|---|---|
| public void layout() Overrides sun. Implements java. Doc from java. Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements. For instance, a lightweight Checkbox needs to layout the box, as well as the text label.
| |
| notifyValue | back to summary |
|---|---|
| public void notifyValue(XScrollbar obj, int type, int value, boolean isAdjusting) Implements sun. The value has changed.
| |
| paintPeer | back to summary |
|---|---|
| pack-priv void paintPeer(final Graphics g) Overrides sun. Paint the scrollbar.
| |
| preInit | back to summary |
|---|---|
| public void preInit(XCreateWindowParams params) Overrides sun. Doc from sun. Called before window creation, descendants should override to initialize the data, initialize params.
| |
| repaintScrollbarRequest | back to summary |
|---|---|
| public void repaintScrollbarRequest(XScrollbar sb) Implements sun.
| |
| setLineIncrement | back to summary |
|---|---|
| public void setLineIncrement(int l) Implements java. Doc from java. Sets the line increment of the scrollbar.
| |
| setPageIncrement | back to summary |
|---|---|
| public void setPageIncrement(int p) Implements java. Doc from java. Sets the page increment of the scrollbar.
| |
| setValue | back to summary |
|---|---|
| public void setValue(int value) | |
| setValues | back to summary |
|---|---|
| public void setValues(int value, int visible, int minimum, int maximum) Implements java. Doc from java. Sets the parameters for the scrollbar.
| |