The adjustment event emitted by Adjustable objects like Scrollbar and ScrollPane. When the user changes the value of the scrolling component, it receives an instance of AdjustmentEvent.
An unspecified behavior will be caused if the id parameter of any particular AdjustmentEvent instance is not in the range from ADJUSTMENT_FIRST to ADJUSTMENT_LAST.
The type of any AdjustmentEvent instance takes one of the following values:
UNIT_INCREMENT
UNIT_DECREMENT
BLOCK_INCREMENT
BLOCK_DECREMENT
TRACK
Assigning the value different from listed above will cause an unspecified behavior.
The adjustment event emitted by Adjustable objects like Scrollbar and ScrollPane. When the user changes the value of the scrolling component, it receives an instance of AdjustmentEvent. An unspecified behavior will be caused if the id parameter of any particular AdjustmentEvent instance is not in the range from ADJUSTMENT_FIRST to ADJUSTMENT_LAST. The type of any AdjustmentEvent instance takes one of the following values: UNIT_INCREMENT UNIT_DECREMENT BLOCK_INCREMENT BLOCK_DECREMENT TRACK Assigning the value different from listed above will cause an unspecified behavior.
Static Constant.
Marks the first integer id for the range of adjustment event ids.
type: int
Static Constant. Marks the first integer id for the range of adjustment event ids. type: int
Static Constant.
Marks the last integer id for the range of adjustment event ids.
type: int
Static Constant. Marks the last integer id for the range of adjustment event ids. type: int
Static Constant.
The adjustment value changed event.
type: int
Static Constant. The adjustment value changed event. type: int
Static Constant.
The block decrement adjustment type.
type: int
Static Constant. The block decrement adjustment type. type: int
Static Constant.
The block increment adjustment type.
type: int
Static Constant. The block increment adjustment type. type: int
Static Constant.
The absolute tracking adjustment type.
type: int
Static Constant. The absolute tracking adjustment type. type: int
Static Constant.
The unit decrement adjustment type.
type: int
Static Constant. The unit decrement adjustment type. type: int
Static Constant.
The unit increment adjustment type.
type: int
Static Constant. The unit increment adjustment type. type: int
(->adjustment-event source id type value)
(->adjustment-event source id type value is-adjusting)
Constructor.
Constructs an AdjustmentEvent object with the specified Adjustable source, event type, adjustment type, and value. This method throws an IllegalArgumentException if source is null.
source - The Adjustable object where the event originated - java.awt.Adjustable
id - An integer indicating the type of event. For information on allowable values, see the class description for AdjustmentEvent - int
type - An integer indicating the adjustment type. For information on allowable values, see the class description for AdjustmentEvent - int
value - The current value of the adjustment - int
is-adjusting - A boolean that equals true if the event is one of a series of multiple adjusting events, otherwise false - boolean
throws: java.lang.IllegalArgumentException - if source is null
Constructor. Constructs an AdjustmentEvent object with the specified Adjustable source, event type, adjustment type, and value. This method throws an IllegalArgumentException if source is null. source - The Adjustable object where the event originated - `java.awt.Adjustable` id - An integer indicating the type of event. For information on allowable values, see the class description for AdjustmentEvent - `int` type - An integer indicating the adjustment type. For information on allowable values, see the class description for AdjustmentEvent - `int` value - The current value of the adjustment - `int` is-adjusting - A boolean that equals true if the event is one of a series of multiple adjusting events, otherwise false - `boolean` throws: java.lang.IllegalArgumentException - if source is null
(get-adjustable this)
Returns the Adjustable object where this event originated.
returns: the Adjustable object where this event originated - java.awt.Adjustable
Returns the Adjustable object where this event originated. returns: the Adjustable object where this event originated - `java.awt.Adjustable`
(get-adjustment-type this)
Returns the type of adjustment which caused the value changed event. It will have one of the following values:
UNIT_INCREMENT UNIT_DECREMENT BLOCK_INCREMENT BLOCK_DECREMENT TRACK
returns: one of the adjustment values listed above - int
Returns the type of adjustment which caused the value changed event. It will have one of the following values: UNIT_INCREMENT UNIT_DECREMENT BLOCK_INCREMENT BLOCK_DECREMENT TRACK returns: one of the adjustment values listed above - `int`
(get-value this)
Returns the current value in the adjustment event.
returns: the current value in the adjustment event - int
Returns the current value in the adjustment event. returns: the current value in the adjustment event - `int`
(get-value-is-adjusting? this)
Returns true if this is one of multiple adjustment events.
returns: true if this is one of multiple
adjustment events, otherwise returns false - boolean
Returns true if this is one of multiple adjustment events. returns: true if this is one of multiple adjustment events, otherwise returns false - `boolean`
(param-string this)
Description copied from class: AWTEvent
returns: a string representation of this event - java.lang.String
Description copied from class: AWTEvent returns: a string representation of this event - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close