Additional top-level class in compilation unit: XScrollRepeater.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| public static final int | |
| public static final int | |
| private static final int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| private boolean | |
| pack-priv Polygon | |
| pack-priv int | |
| private XScrollRepeater | |
| private int | |
| private static PlatformLogger | |
| private int | |
| private int | |
| private static final int | |
| pack-priv int | |
| private boolean | |
| private int | |
| private boolean | |
| private Rectangle | |
| pack-priv XScrollbarClient | |
| private static XScrollRepeater | scroller
The thread that asynchronously tells the scrollbar to scroll. |
| pack-priv Polygon | |
| pack-priv Point | |
| private int | |
| private int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract boolean | |
| pack-priv void | |
| private int | |
| protected Rectangle | |
| protected Polygon | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| private double | |
| protected abstract Rectangle | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| public void | |
| private void | |
| pack-priv boolean | |
| pack-priv boolean | |
| public boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| protected abstract void | |
| pack-priv void | |
| pack-priv synchronized void | setBlockIncrement(int
is the block size for increment or decrement of the value blockSize)Sets the block increment for this scrollbar. |
| pack-priv synchronized void | setMaximum(int
the maximum value of the scrollbar newMaximum)Sets the maximum value for this Scrollbar. |
| pack-priv synchronized void | setMinimum(int
the minimum value of the scrollbar newMinimum)Sets the minimum value for this Scrollbar. |
| public void | |
| public void | |
| pack-priv synchronized void | setUnitIncrement(int
is the unit size for increment or decrement of the value unitSize)Sets the unit increment for this scrollbar. |
| pack-priv synchronized void | setValue(int
the new value of the Scrollbar. If this value is
below the current minimum or above the current maximum minus
the visible amount, it becomes the new one of those values,
respectively. newValue)Sets the value of this Scrollbar to the specified value. |
| pack-priv synchronized void | setValues(int
is the position in the current window. value, int is the amount visible per page visible, int is the minimum value of the scrollbar minimum, int is the maximum value of the scrollbar maximum)Sets the values for this Scrollbar. |
| pack-priv synchronized void | setValues(int
is the position in the current window. value, int is the amount visible per page visible, int is the minimum value of the scrollbar minimum, int is the maximum value of the scrollbar maximum, int is the unit size for increment or decrement of the value unitSize, int blockSize)Sets param of this Scrollbar to the specified values. |
| pack-priv synchronized void | setVisibleAmount(int
the amount visible per page newAmount)Sets the visible amount of this Scrollbar, which is the range of values represented by the width of the scroll bar's bubble. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public String |
| alignment | back to summary |
|---|---|
| pack-priv int alignment | |
| ALIGNMENT_HORIZONTAL | back to summary |
|---|---|
| public static final int ALIGNMENT_HORIZONTAL | |
| ALIGNMENT_VERTICAL | back to summary |
|---|---|
| public static final int ALIGNMENT_VERTICAL | |
| ARROW_IND | back to summary |
|---|---|
| private static final int ARROW_IND | |
| arrowArea | back to summary |
|---|---|
| pack-priv int arrowArea | |
| barLength | back to summary |
|---|---|
| pack-priv int barLength | |
| barWidth | back to summary |
|---|---|
| pack-priv int barWidth | |
| dragging | back to summary |
|---|---|
| private boolean dragging | |
| firstArrow | back to summary |
|---|---|
| pack-priv Polygon firstArrow | |
| height | back to summary |
|---|---|
| pack-priv int height | |
| i_scroller | back to summary |
|---|---|
| private XScrollRepeater i_scroller | |
| line | back to summary |
|---|---|
| private int line | |
| log | back to summary |
|---|---|
| private static PlatformLogger log | |
| max | back to summary |
|---|---|
| private int max | |
| min | back to summary |
|---|---|
| private int min | |
| MIN_THUMB_H | back to summary |
|---|---|
| private static final int MIN_THUMB_H | |
| mode | back to summary |
|---|---|
| pack-priv int mode | |
| needsRepaint | back to summary |
|---|---|
| private boolean needsRepaint | |
| page | back to summary |
|---|---|
| private int page | |
| pressed | back to summary |
|---|---|
| private boolean pressed | |
| prevThumb | back to summary |
|---|---|
| private Rectangle prevThumb | |
| sb | back to summary |
|---|---|
| pack-priv XScrollbarClient sb | |
| scroller | back to summary |
|---|---|
| private static XScrollRepeater scroller The thread that asynchronously tells the scrollbar to scroll.
| |
| secondArrow | back to summary |
|---|---|
| pack-priv Polygon secondArrow | |
| thumbOffset | back to summary |
|---|---|
| pack-priv Point thumbOffset | |
| val | back to summary |
|---|---|
| private int val | |
| vis | back to summary |
|---|---|
| private int vis | |
| width | back to summary |
|---|---|
| pack-priv int width | |
| XScrollbar | back to summary |
|---|---|
| public XScrollbar(int alignment, XScrollbarClient sb) | |
| beforeThumb | back to summary |
|---|---|
| pack-priv abstract boolean beforeThumb(int x, int y) | |
| calculateArrowWidth | back to summary |
|---|---|
| pack-priv void calculateArrowWidth() | |
| calculateCursorOffset | back to summary |
|---|---|
| private int calculateCursorOffset(int x, int y) | |
| calculateThumbRect | back to summary |
|---|---|
| protected Rectangle calculateThumbRect() Method to calculate the scroll thumb's size and position. This is based on CalcSliderRect in ScrollBar.c of Motif source. If we ever cache the thumb rect, we'll need to use a clone in isInThumb(). | |
| createArrowShape | back to summary |
|---|---|
| protected Polygon createArrowShape(boolean vertical, boolean up) Creates oriented directed arrow | |
| getArrowAreaWidth | back to summary |
|---|---|
| pack-priv int getArrowAreaWidth() Width of the area reserved for arrow | |
| getArrowWidth | back to summary |
|---|---|
| pack-priv int getArrowWidth() Width of the arrow image | |
| getBlockIncrement | back to summary |
|---|---|
| pack-priv int getBlockIncrement() Gets the block increment for this scrollbar. | |
| getMaximum | back to summary |
|---|---|
| pack-priv int getMaximum() Returns the maximum value of this Scrollbar.
| |
| getMinimum | back to summary |
|---|---|
| pack-priv int getMinimum() Returns the minimum value of this Scrollbar.
| |
| getScaleFactor | back to summary |
|---|---|
| private double getScaleFactor() Returns the scale factor for the thumbArea ( thumbAreaH / (max - min)).
| |
| getThumbArea | back to summary |
|---|---|
| protected abstract Rectangle getThumbArea() Gets the area of the scroll track | |
| getUnitIncrement | back to summary |
|---|---|
| pack-priv int getUnitIncrement() Gets the unit increment for this scrollbar. | |
| getValue | back to summary |
|---|---|
| pack-priv int getValue() Returns the current value of this Scrollbar.
| |
| getVisibleAmount | back to summary |
|---|---|
| pack-priv int getVisibleAmount() Returns the visible amount of this Scrollbar. | |
| handleMouseEvent | back to summary |
|---|---|
| public void handleMouseEvent(int id, int modifiers, int x, int y) | |
| handleTrackEvent | back to summary |
|---|---|
| private void handleTrackEvent(int x, int y, boolean isAdjusting) | |
| isInArrow | back to summary |
|---|---|
| pack-priv boolean isInArrow(int x, int y) | |
| isInThumb | back to summary |
|---|---|
| pack-priv boolean isInThumb(int x, int y) Is x,y in the scroll thumb? If we ever cache the thumb rect, we may need to clone the result of calculateThumbRect(). | |
| needsRepaint | back to summary |
|---|---|
| public boolean needsRepaint() | |
| notifyValue | back to summary |
|---|---|
| pack-priv void notifyValue(int v) | |
| notifyValue | back to summary |
|---|---|
| pack-priv void notifyValue(int v, final boolean isAdjusting) | |
| paint | back to summary |
|---|---|
| pack-priv void paint(Graphics g, Color[] colors, boolean paintAll) paint the scrollbar | |
| paintArrows | back to summary |
|---|---|
| pack-priv void paintArrows(Graphics2D g, Color background, Color darkShadow, Color lightShadow) | |
| rebuildArrows | back to summary |
|---|---|
| protected abstract void rebuildArrows() | |
| scroll | back to summary |
|---|---|
| pack-priv void scroll() Scroll one unit.
| |
| setBlockIncrement | back to summary |
|---|---|
| pack-priv synchronized void setBlockIncrement(int blockSize) Sets the block increment for this scrollbar. This is the value that will be added (subtracted) when the user hits the block down (up) gadgets.
| |
| setMaximum | back to summary |
|---|---|
| pack-priv synchronized void setMaximum(int newMaximum) Sets the maximum value for this Scrollbar.
| |
| setMinimum | back to summary |
|---|---|
| pack-priv synchronized void setMinimum(int newMinimum) Sets the minimum value for this Scrollbar.
| |
| setMode | back to summary |
|---|---|
| public void setMode(int mode) The set method for mode property. See 6243382 for more information | |
| setSize | back to summary |
|---|---|
| public void setSize(int width, int height) | |
| setUnitIncrement | back to summary |
|---|---|
| pack-priv synchronized void setUnitIncrement(int unitSize) Sets the unit increment for this scrollbar. This is the value that will be added (subtracted) when the user hits the unit down (up) gadgets.
| |
| setValue | back to summary |
|---|---|
| pack-priv synchronized void setValue(int newValue) Sets the value of this Scrollbar to the specified value.
| |
| setValues | back to summary |
|---|---|
| pack-priv synchronized void setValues(int value, int visible, int minimum, int maximum) Sets the values for this Scrollbar. This method enforces the same constraints as in java.awt.Scrollbar:
| |
| setValues | back to summary |
|---|---|
| pack-priv synchronized void setValues(int value, int visible, int minimum, int maximum, int unitSize, int blockSize) Sets param of this Scrollbar to the specified values.
| |
| setVisibleAmount | back to summary |
|---|---|
| pack-priv synchronized void setVisibleAmount(int newAmount) Sets the visible amount of this Scrollbar, which is the range of values represented by the width of the scroll bar's bubble.
| |
| startScrolling | back to summary |
|---|---|
| pack-priv void startScrolling() Tell the scroller to start scrolling. | |
| startScrollingInstance | back to summary |
|---|---|
| pack-priv void startScrollingInstance() Tell the instance scroller to start scrolling. See 6243382 for more information | |
| stopScrollingInstance | back to summary |
|---|---|
| pack-priv void stopScrollingInstance() Tell the instance scroller to stop scrolling. See 6243382 for more information | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |