AdjustmentEventNameAdjustmentEvent
DescriptionAdjustmentEvents are generated by objects that implement the Adjustable interface. Scrollbar is one example of such an object. Class Definition
public class java.awt.event.AdjustmentEvent extends java.awt.AWTEvent { // Constants public final static int ADJUSTMENT_FIRST; public final static int ADJUSTMENT_LAST; public final static int ADJUSTMENT_VALUE_CHANGED; public final static int BLOCK_DECREMENT; public final static int BLOCK_INCREMENT; public final static int TRACK; public final static int UNIT_DECREMENT; public final static int UNIT_INCREMENT; // Constructors public AdjustmentEvent (Adjustable source, int id, int type, int value); // Instance Methods public Adjustable getAdjustable(); public int getAdjustmentType(); public int getValue(); public String paramString(); } ConstantsADJUSTMENT_FIRSTpublic final static int ADJUSTMENT_FIRSTSpecifies the beginning range of adjustment event ID values. ADJUSTMENT_LASTpublic final static int ADJUSTMENT_LASTSpecifies the ending range of adjustment event ID values. ADJUSTMENT_VALUE_CHANGEDpublic final static int ADJUSTMENT_VALUE_CHANGEDEvent type ID for value changed. BLOCK_DECREMENTpublic final static int BLOCK_DECREMENTAdjustment type for block decrement. BLOCK_INCREMENTpublic final static int BLOCK_INCREMENTAdjustment type for block increment. TRACKpublic final static int TRACKAdjustment type for tracking. UNIT_DECREMENTpublic final static int UNIT_DECREMENTAdjustment type for unit decrement. UNIT_INCREMENTpublic final static int UNIT_INCREMENTAdjustment type for unit increment. ConstructorsAdjustmentEventpublic AdjustmentEvent (Adjustable source, int id, int type, int value)
Instance MethodsgetAdjustablepublic Adjustable getAdjustable()
getAdjustmentTypepublic int getAdjustmentType()
getValuepublic int getValue()
paramStringpublic String paramString()
See AlsoAdjustable, AdjustmentListener, AWTEvent, Scrollbar |
|