Liking cljdoc? Tell your friends :D

jdk.awt.event.AdjustmentEvent

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.
raw docstring

*-adjustment-firstclj

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
raw docstring

*-adjustment-lastclj

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
raw docstring

*-adjustment-value-changedclj

Static Constant.

The adjustment value changed event.

type: int

Static Constant.

The adjustment value changed event.

type: int
raw docstring

*-block-decrementclj

Static Constant.

The block decrement adjustment type.

type: int

Static Constant.

The block decrement adjustment type.

type: int
raw docstring

*-block-incrementclj

Static Constant.

The block increment adjustment type.

type: int

Static Constant.

The block increment adjustment type.

type: int
raw docstring

*-trackclj

Static Constant.

The absolute tracking adjustment type.

type: int

Static Constant.

The absolute tracking adjustment type.

type: int
raw docstring

*-unit-decrementclj

Static Constant.

The unit decrement adjustment type.

type: int

Static Constant.

The unit decrement adjustment type.

type: int
raw docstring

*-unit-incrementclj

Static Constant.

The unit increment adjustment type.

type: int

Static Constant.

The unit increment adjustment type.

type: int
raw docstring

->adjustment-eventclj

(->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
raw docstring

get-adjustableclj

(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`
raw docstring

get-adjustment-typeclj

(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`
raw docstring

get-valueclj

(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`
raw docstring

get-value-is-adjusting?clj

(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`
raw docstring

param-stringclj

(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`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close