charva.awt.event

Class AdjustmentEvent


public class AdjustmentEvent
extends AWTEvent

The adjustment event emitted by Adjustable objects (eg a scrollbar).

Field Summary

Fields inherited from class charva.awt.event.AWTEvent

ACTION_PERFORMED, ADJUSTMENT_EVENT, FOCUS_GAINED, FOCUS_LOST, GARBAGE_COLLECTION, INVOCATION_EVENT, ITEM_STATE_CHANGED, KEY_PRESSED, KEY_TYPED, LIST_SELECTION, MOUSE_EVENT, PAINT_EVENT, RESERVED_ID_MAX, SCROLL_EVENT, SYNC_EVENT, WINDOW_CLOSING, WINDOW_OPENED

Constructor Summary

AdjustmentEvent(Component source_, int value_)
Create a new AdjustmentEvent.

Method Summary

Component
getAdjustable()
int
getValue()

Methods inherited from class charva.awt.event.AWTEvent

getID

Constructor Details

AdjustmentEvent

public AdjustmentEvent(Component source_,
                       int value_)
Create a new AdjustmentEvent.
Parameters:
source_ - The component to which the event must be delivered.
value_ - The value of the adjustable component.

Method Details

getAdjustable

public Component getAdjustable()

getValue

public int getValue()