鍍金池/ 教程/ Java/ SWING AdjustmentEvent事件處理
Swing JRadioButton
Swing Layout布局
Swing JTextField
Swing JLabel
Swing開發(fā)環(huán)境安裝
Swing JComponent類
SWING ActionEvent事件類
Swing JScrollBar
Swing教程首頁
Swing JFileChooser
SWING ContainerEvent事件處理類
Swing AdjustmentListener接口
Swing WindowAdapter類
SWING ComponentListener接口
Swing JMenuBar類
Swing JPanel類及實例
Swing
SWING AdjustmentEvent事件處理
Swing JWindow類及實例
Swing介紹
Swing MouseMotionAdapter類
SWING WindowEvent事件類
Swing ItemListener接口
SWING MouseEvent事件類
Swing JMenu類
SWING KeyEvent事件類
Swing MouseMotionListener接口
Swing JProgressBar
SWING AWTEvent事件類
Swing JRadioButtonMenuItem類及例子
Swing KeyAdapter類
SWING ActionListener接口
Swing LayoutManager接口
SWING MouseMotionEvent事件處理
Swing Component類
Swing Container類
Swing CardLayout布局
Swing MouseAdapter類
Swing JSlider
Swing KeyListener接口
Swing FocusAdapter類
Swing JColorChooser
Swing ImageIcon
Swing JComboBox
Swing GroupLayout布局類
Swing JOptionPane
Swing GridBagLayout布局類
Swing JMenuItem類
Swing MouseListener Interface
Swing事件適配器
SWING ComponentEvent處理類
SWING PaintEvent事件類
Swing FlowLayout布局類
SWING Event事件類
Swing FocusListener接口
Swing控件
Swing JButton
Swing JCheckBox
Swing SpringLayout布局類
Swing容器
Swing事件處理
Swing事件監(jiān)聽器
Swing Menu菜單類
Swing JList
Swing ContainerListener接口
Swing LayoutManager2接口
Swing JFrame類和實例
Swing JTextArea
SWING InputEvent事件類
Swing BorderLayout布局
Swing WindowListener接口
Swing JCheckboxMenuItem類及例子
Swing JSpinner
Swing GridLayout布局類
Swing JPopupMenu類及實例

SWING AdjustmentEvent事件處理

AdjustmentEvent類指調(diào)整可調(diào)對象發(fā)出的事件。

類聲明

以下是聲明 java.awt.event.AdjustmentEvent類:

public class AdjustmentEvent
   extends AWTEvent

字段域

以下是java.awt.Component類的字段:

  • static int ADJUSTMENT_FIRST -- Marks the first integer id for the range of adjustment event ids.

  • static int ADJUSTMENT_LAST -- Marks the last integer id for the range of adjustment event ids.

  • static int ADJUSTMENT_VALUE_CHANGED -- The adjustment value changed event.

  • static int BLOCK_DECREMENT -- The block decrement adjustment type.

  • static int BLOCK_INCREMENT -- The block increment adjustment type.

  • static int TRACK -- The absolute tracking adjustment type.

  • static int UNIT_DECREMENT -- The unit decrement adjustment type.

  • static int UNIT_INCREMENT -- The unit increment adjustment type.

類構(gòu)造函數(shù)

S.N. 構(gòu)造函數(shù) & 描述
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