This class represents the state of a horizontal or vertical scrollbar of a ScrollPane. Objects of this class are returned by ScrollPane methods.
This class represents the state of a horizontal or vertical scrollbar of a ScrollPane. Objects of this class are returned by ScrollPane methods.
(add-adjustment-listener this l)
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.
l - the adjustment listener. - java.awt.event.AdjustmentListener
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. l - the adjustment listener. - `java.awt.event.AdjustmentListener`
(get-adjustment-listeners this)
Returns an array of all the adjustment listeners registered on this ScrollPaneAdjustable.
returns: all of this ScrollPaneAdjustable's
AdjustmentListeners
or an empty array if no adjustment
listeners are currently registered - java.awt.event.AdjustmentListener[]
Returns an array of all the adjustment listeners registered on this ScrollPaneAdjustable. returns: all of this ScrollPaneAdjustable's AdjustmentListeners or an empty array if no adjustment listeners are currently registered - `java.awt.event.AdjustmentListener[]`
(get-block-increment this)
Description copied from interface: Adjustable
returns: the block value increment for the adjustable object - int
Description copied from interface: Adjustable returns: the block value increment for the adjustable object - `int`
(get-maximum this)
Description copied from interface: Adjustable
returns: the maximum value of the adjustable object - int
Description copied from interface: Adjustable returns: the maximum value of the adjustable object - `int`
(get-minimum this)
Description copied from interface: Adjustable
returns: the minimum value of the adjustable object - int
Description copied from interface: Adjustable returns: the minimum value of the adjustable object - `int`
(get-orientation this)
Returns the orientation of this scrollbar.
returns: the orientation of this scrollbar, either
Adjustable.HORIZONTAL or
Adjustable.VERTICAL - int
Returns the orientation of this scrollbar. returns: the orientation of this scrollbar, either Adjustable.HORIZONTAL or Adjustable.VERTICAL - `int`
(get-unit-increment this)
Description copied from interface: Adjustable
returns: the unit value increment for the adjustable object - int
Description copied from interface: Adjustable returns: the unit value increment for the adjustable object - `int`
(get-value this)
Description copied from interface: Adjustable
returns: the current value of the adjustable object - int
Description copied from interface: Adjustable returns: the current value of the adjustable object - `int`
(get-value-is-adjusting? this)
Returns true if the value is in the process of changing as a result of actions being taken by the user.
returns: the value of the valueIsAdjusting property - boolean
Returns true if the value is in the process of changing as a result of actions being taken by the user. returns: the value of the valueIsAdjusting property - `boolean`
(get-visible-amount this)
Description copied from interface: Adjustable
returns: the length of the proportional indicator - int
Description copied from interface: Adjustable returns: the length of the proportional indicator - `int`
(param-string this)
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.lang.String
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.lang.String`
(remove-adjustment-listener this l)
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.
l - the adjustment listener. - java.awt.event.AdjustmentListener
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. l - the adjustment listener. - `java.awt.event.AdjustmentListener`
(set-block-increment this b)
Description copied from interface: Adjustable
b - the block increment - int
Description copied from interface: Adjustable b - the block increment - `int`
(set-maximum this max)
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable interface.
max - the maximum value - int
throws: java.awt.AWTError - Always throws an error when called.
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable interface. max - the maximum value - `int` throws: java.awt.AWTError - Always throws an error when called.
(set-minimum this min)
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable interface.
min - the minimum value - int
throws: java.awt.AWTError - Always throws an error when called.
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable interface. min - the minimum value - `int` throws: java.awt.AWTError - Always throws an error when called.
(set-unit-increment this u)
Description copied from interface: Adjustable
u - the unit increment - int
Description copied from interface: Adjustable u - the unit increment - `int`
(set-value this v)
Sets the value of this scrollbar to the specified value.
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.
v - the new value of the scrollbar - int
Sets the value of this scrollbar to the specified value. 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. v - the new value of the scrollbar - `int`
(set-value-is-adjusting this b)
Sets the valueIsAdjusting property.
b - new adjustment-in-progress status - boolean
Sets the valueIsAdjusting property. b - new adjustment-in-progress status - `boolean`
(set-visible-amount this v)
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable interface.
v - the length of the indicator - int
throws: java.awt.AWTError - Always throws an error when called.
This method should NOT be called by user code. This method is public for this class to properly implement Adjustable interface. v - the length of the indicator - `int` throws: java.awt.AWTError - Always throws an error when called.
(to-string this)
Returns a string representation of this scrollbar and its values.
returns: a string representation of this scrollbar. - java.lang.String
Returns a string representation of this scrollbar and its values. returns: a string representation of this scrollbar. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close