Java™ Platform
Standard Ed. 8
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
java.awt
Class ScrollPaneAdjustable
-
-
Method Summary
All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method |
Description |
void |
addAdjustmentListener(AdjustmentListener l) |
Adds the specified adjustment listener to receive adjustment
events from this ScrollPaneAdjustable.
|
AdjustmentListener[] |
getAdjustmentListeners() |
Returns an array of all the adjustment listeners
registered on this ScrollPaneAdjustable.
|
int |
getBlockIncrement() |
Gets the block value increment for the adjustable object.
|
int |
getMaximum() |
Gets the maximum value of the adjustable object.
|
int |
getMinimum() |
Gets the minimum value of the adjustable object.
|
int |
getOrientation() |
Returns the orientation of this scrollbar.
|
int |
getUnitIncrement() |
Gets the unit value increment for the adjustable object.
|
int |
getValue() |
Gets the current value of the adjustable object.
|
boolean |
getValueIsAdjusting() |
Returns true if the value is in the process of changing as a
result of actions being taken by the user.
|
int |
getVisibleAmount() |
Gets the length of the proportional indicator.
|
String |
paramString() |
Returns a string representing the state of this scrollbar.
|
void |
removeAdjustmentListener(AdjustmentListener l) |
Removes the specified adjustment listener so that it no longer
receives adjustment events from this ScrollPaneAdjustable.
|
void |
setBlockIncrement(int b) |
Sets the block value increment for the adjustable object.
|
void |
setMaximum(int max) |
This method should NOT be called by user code.
|
void |
setMinimum(int min) |
This method should NOT be called by user code.
|
void |
setUnitIncrement(int u) |
Sets the unit value increment for the adjustable object.
|
void |
setValue(int v) |
Sets the value of this scrollbar to the specified value.
|
void |
setValueIsAdjusting(boolean b) |
Sets the valueIsAdjusting property.
|
void |
setVisibleAmount(int v) |
This method should NOT be called by user code.
|
String |
toString() |
Returns a string representation of this scrollbar and its values.
|
-
-
Method Detail
-
paramString
public String paramString()
Returns a string representing the state of this scrollbar.
This method is intended to be used only for debugging purposes,
and the content and format of the returned string may vary
between implementations. The returned string may be empty but
may not be null.
- Returns:
- the parameter string of this scrollbar.
Java™ Platform
Standard Ed. 8
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.