介绍
AdjustmentEvent类指调整可调对象发出的事件。
类的声明
以下是声明的java.awt.event.AdjustmentEvent类:
public class AdjustmentEvent extends AWTEvent
字段域
以下是java.awt.Component的类的字段:
- 
		
static int ADJUSTMENT_FIRST -- 标志着第一个整数ID为调整事件ID的范围。
 - 
		
static int ADJUSTMENT_LAST -- 标志着最后一个整数ID为调整事件ID的范围。
 - 
		
static int ADJUSTMENT_VALUE_CHANGED -- 调整值改变事件。
 - 
		
static int BLOCK_DECREMENT -- 块递减调整类型。
 - 
		
static int BLOCK_INCREMENT -- 块增量调整类型。
 - 
		
static int TRACK -- 绝对跟踪调整型。
 - 
		
static int UNIT_DECREMENT -- 单位递减调整类型。
 - 
		
static int UNIT_INCREMENT -- 单位增量调整类型。
 
类的构造函数
| S.N. | 构造函数与说明 | 
|---|---|
| 1 | 
				AdjustmentEvent(Adjustable source, int id, int type, int value)  Constructs an AdjustmentEvent object with the specified Adjustable source, event type, adjustment type, and value.  | 
		
| 2 | 
				AdjustmentEvent(Adjustable source, int id, int type, int value, boolean isAdjusting)  Constructs an AdjustmentEvent object with the specified Adjustable source, event type, adjustment type, and value.  | 
		
类方法
| S.N. | 方法和说明 | 
|---|---|
| 1 | 
				Adjustable getAdjustable()  Returns the Adjustable object where this event originated.  | 
		
| 2 | 
				int getAdjustmentType()  Returns the type of adjustment which caused the value changed event.  | 
		
| 3 | 
				int getValue()  Returns the current value in the adjustment event.  | 
		
| 4 | 
				boolean getValueIsAdjusting()  Returns true if this is one of multiple adjustment events.  | 
		
| 5 | 
				String paramString()  Returns a string representing the state of this Event.  | 
		
继承的方法
这个接口继承的方法从以下类:
- 
		
java.awt.AWTEvent
 - 
		
java.util.EventObject
 - 
		
java.lang.Object
 
						上一篇:
								AWT WindowEvent类
												下一篇:
								AWT ComponentEvent类
												
						
						
					
					
					