java::awt::event::AdjustmentEvent Class Reference

Inheritance diagram for java::awt::event::AdjustmentEvent:

Inheritance graph
java::awt::AWTEventjava::util::EventObjectjava::lang::Object
[legend]
Collaboration diagram for java::awt::event::AdjustmentEvent:

Collaboration graph
java::awt::AWTEventjava::util::EventObjectjava::lang::Objectjava::lang::ObjectRefjava::lang::Interfacejava::lang::Comparable
[legend]

List of all members.


Detailed Description

The adjustment event emitted by Adjustable objects.

See also:
java.awt.Adjustable

AdjustmentListener

Author:
Amy Fowler
Version:
1.25 01/23/03
Since:
1.1

Public Types

enum  ADJUSTMENT_EVENT_ID { ADJUSTMENT_FIRST = 601, ADJUSTMENT_VALUE_CHANGED = ADJUSTMENT_FIRST, ADJUSTMENT_LAST = ADJUSTMENT_VALUE_CHANGED }
enum  ADJUSTMENT_TYPE {
  TRACK = 0, UNIT_INCREMENT, UNIT_DECREMENT, BLOCK_INCREMENT,
  BLOCK_DECREMENT
}

Public Member Functions

 AdjustmentEvent (const Ref< Adjustable > &source=0, jint id=ADJUSTMENT_VALUE_CHANGED, jint type=0, jint value=0, jboolean isAdjusting=false)
virtual String paramString () const
 Returns a parameter string identifying this action event.

Protected Attributes

Ref< Adjustableadjustable
 The adjustable object that fired the event.
jint adjustmentType
 The adjustmentType describes how the adjustable object value has changed.
jint value
 value will contain the new value of the adjustable object.
jboolean isAdjusting
 The isAdjusting is true if the event is one of the series of multiple adjustment events.

Member Enumeration Documentation

enum java::awt::event::AdjustmentEvent::ADJUSTMENT_EVENT_ID

Enumerator:
ADJUSTMENT_FIRST  The first number in the range of ids used for text events.
ADJUSTMENT_VALUE_CHANGED  This event id indicates that object's text changed.
ADJUSTMENT_LAST  The last number in the range of ids used for text events.

enum java::awt::event::AdjustmentEvent::ADJUSTMENT_TYPE

Enumerator:
TRACK  The absolute tracking adjustment type.
UNIT_INCREMENT  The unit increment adjustment type.
UNIT_DECREMENT  The unit decrement adjustment type.
BLOCK_INCREMENT  The block increment adjustment type.
BLOCK_DECREMENT  The block decrement adjustment type.


Constructor & Destructor Documentation

java::awt::event::AdjustmentEvent::AdjustmentEvent ( const Ref< Adjustable > &  source = 0,
jint  id = ADJUSTMENT_VALUE_CHANGED,
jint  type = 0,
jint  value = 0,
jboolean  isAdjusting = false 
)


Member Function Documentation

virtual String java::awt::event::AdjustmentEvent::paramString (  )  const [virtual]

Returns a parameter string identifying this action event.

This method is useful for event-logging and for debugging.

Returns:
a string identifying the event and its associated command

Reimplemented from java::awt::AWTEvent.


Member Data Documentation

Ref<Adjustable> java::awt::event::AdjustmentEvent::adjustable [protected]

The adjustable object that fired the event.

See also:
getAdjustable

jint java::awt::event::AdjustmentEvent::adjustmentType [protected]

The adjustmentType describes how the adjustable object value has changed.

This value can be increased/decreased by a block or unit amount where the block is associated with page increments/decrements, and a unit is associated with line increments/decrements.

See also:
getAdjustmentType

jint java::awt::event::AdjustmentEvent::value [protected]

value will contain the new value of the adjustable object.

This value will always be in a range associated adjustable object.

See also:
getValue

jboolean java::awt::event::AdjustmentEvent::isAdjusting [protected]

The isAdjusting is true if the event is one of the series of multiple adjustment events.

Since:
1.4
See also:
getValueIsAdjusting


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:13 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3