public int getOrientation()
Returns the orientation of this scrollbar.
getOrientation
in interface Adjustable
Adjustable.HORIZONTAL
or Adjustable.VERTICAL
public void setMinimum(int min)
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable
interface.
setMinimum
in interface Adjustable
min
- the minimum value
AWTError
- Always throws an error when called.
public int getMinimum()
Gets the minimum value of the adjustable object.
getMinimum
in interface Adjustable
public void setMaximum(int max)
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable
interface.
setMaximum
in interface Adjustable
max
- the maximum value
AWTError
- Always throws an error when called.
public int getMaximum()
Gets the maximum value of the adjustable object.
getMaximum
in interface Adjustable
public void setUnitIncrement(int u)
Sets the unit value increment for the adjustable object.
setUnitIncrement
in interface Adjustable
u
- the unit increment
public int getUnitIncrement()
Gets the unit value increment for the adjustable object.
getUnitIncrement
in interface Adjustable
public void setBlockIncrement(int b)
Sets the block value increment for the adjustable object.
setBlockIncrement
in interface Adjustable
b
- the block increment
public int getBlockIncrement()
Gets the block value increment for the adjustable object.
getBlockIncrement
in interface Adjustable
public void setVisibleAmount(int v)
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable
interface.
setVisibleAmount
in interface Adjustable
v
- the length of the indicator
AWTError
- Always throws an error when called.
public int getVisibleAmount()
Gets the length of the proportional indicator.
getVisibleAmount
in interface Adjustable
public void setValueIsAdjusting(boolean b)
Sets the valueIsAdjusting
property.
b
- new adjustment-in-progress status
public boolean getValueIsAdjusting()
Returns true if the value is in the process of changing as a result of actions being taken by the user.
valueIsAdjusting
property
public void setValue(int v)
If the value supplied is less than the current minimum or greater than the current maximum, then one of those values is substituted, as appropriate.
setValue
in interface Adjustable
v
- the new value of the scrollbar
public int getValue()
Gets the current value of the adjustable object.
getValue
in interface Adjustable
Adds the specified adjustment listener to receive adjustment events from this
ScrollPaneAdjustable
. If
l
is
null
, no exception is thrown and no action is performed.
Refer to AWT Threading Issues for details on AWT's threading model.
addAdjustmentListener
in interface Adjustable
l
- the adjustment listener.
Removes the specified adjustment listener so that it no longer receives adjustment events from this
ScrollPaneAdjustable
. If
l
is
null
, no exception is thrown and no action is performed.
Refer to AWT Threading Issues for details on AWT's threading model.
removeAdjustmentListener
in interface Adjustable
l
- the adjustment listener.
Returns an array of all the adjustment listeners registered on this ScrollPaneAdjustable
.
ScrollPaneAdjustable
's AdjustmentListener
s or an empty array if no adjustment listeners are currently registered
Returns a string representation of this scrollbar and its values.
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
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4