CODEDRAGON ㆍDevelopment/Java
이벤트 리스너 종류
· ActionListener는 버튼, 리스트, 메뉴, 텍스트상자 등에 의해 발생되는 이벤트를 처리합니다.
· AdjustmentListener는 스크롤바의 움직임에 의해 발생되는 이벤트를 처리합니다.
· ItemListener는 초이스, 체크박스, 메뉴항목의 체크박스, 리스트에 의해 발생되는 이벤트를 처리합니다.
· TextListener는 텍스트상자와 다중텍스트상자에 의해 발생되는 이벤트를 처리합니다.
|
이벤트 |
리스너 |
컴포넌트 |
|
ActionEvent |
ActionListener |
Button |
|
ActionEvent |
ActionListener |
List |
|
ActionEvent |
ActionListener |
MenuItem |
|
ActionEvent |
ActionListener |
TextField |
|
AdjustmentEvent |
AdjustmentListener |
Scrollbar |
|
ItemEvent |
ItemListener |
Choice |
|
ItemEvent |
ItemListener |
Checkbox |
|
ItemEvent |
ItemListener |
CheckboxMenuItem |
|
ItemEvent |
ItemListener |
List |
|
TextEvent |
TextListener |
TextField |
|
TextEvent |
TextListener |
TextArea |
'Development > Java' 카테고리의 다른 글
| ActionEvent, ActionEvent클래스의 주요 멤버필드, ActionEvent클래스의 주요 메소드, ActionListener, ActionListener 인테페이스의 주요 메서드 (0) | 2017.10.19 |
|---|---|
| ActionListener vs TextListener (TextField) (0) | 2017.10.19 |
| 이벤트 리스너(Event Linstenr), 이벤트 리스너 관련 메소드 (0) | 2017.10.19 |
| 이벤트 클래스, 이벤트 클래스의 상속 구조도, 이벤트 종류 및 설명 (0) | 2017.10.19 |
| 이벤트 핸들러 연결방법 2 가지 - 클래스의 인스턴스 생성 후 사용, 인라인(inline) 인스턴스 생성 기법 사용 (0) | 2017.10.19 |