본문 바로가기

프로그래밍/JAVA

[swt] 이벤트

기본 swt.widgets 패키지

java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.swt.widgets.Decorations
org.eclipse.swt.widgets.Shell


리스너 : org.eclipse.swt.events.TypedListener , org.eclipse.swt.widgets.Listener

이벤트 : org.eclipse.swt.events.TypedEvent


Widget

DisposeListener : DisposeEvent : SWT.Dispose



Control

ControlListener : ControlEvent : SWT.Move, SWT.Resize

DragDetectListener : DragDetectEvent : SWT.DragDetect

FocusListener : FocusEvent : SWT.FocusIn , SWT.FocusOut

GestureListener : GestureEvent : SWT.Gesture

HelpListener : HelpEvent : SWT.Help

KeyListener : KeyEvent : SWT.KeyPressed, SWT.KeyReleased


MenuListener : MenuEvent : SWT.hide, SWT.Show

MenuDetectListener : MenuDetectEvent


MouseListener : MouseEvent : SWT.MouseDoubleClick, SWT.MouseDown, SWT.MouseUp

MouseMoveListener : MouseEvent : SWT.MouseMove

MouseTrackListener : MouseEvent : SWT.MouseEnter, SWT.MouseExit, SWT.MouseHover

MouseWheelListener : MouseEvent : SWT.MouseWheel


PaintListener : PaintEvent : SWT.Paint


TouchListener : TouchEvent : SWT.Touch

TraverseListener : TraverseEvent : SWT.Traverse




Button,Link,Scale, .....

SelectionListener : SelectionEvent : SWT.DefaultSelection, SWT.Selection


Text, StyledText, Combo, CCombo

ModifyListener : ModifyEvent : 


Tree, TableTree

TreeListener : TreeEvent : SWT.Collapse, SWT.Expand


Shell

ShellListener : ShellEvent : SWT.Activate, SWT.Close, SWT.Deactivate, SWT.Deiconify



Adapter

MouseAdapter

KeyAdapter

ControlAdapter

FocusAdapter

MenuAdapter

SelectionAdapter

ShellAdapter

TreeAdapter



메시지 전달

org.eclipse.swt.widgets.Widget.addListener( int type, Listener listener);

org.eclipse.swt.widgets.Widget.notifyListeners( int type, Event event );


'프로그래밍 > JAVA' 카테고리의 다른 글

jni 관련~  (2) 2014.04.16
AES 암호화  (0) 2014.03.27
[OSGi] 서비스 등록 및 해제  (0) 2014.03.21
[eclipse] eclipse 4 platform  (0) 2014.03.17
Annotation  (0) 2014.03.15
[eclipse] Extention Points  (0) 2014.03.14
[eclipse] simple plug-in example  (0) 2014.03.13
Apache HttpClient 관련 정리  (0) 2014.03.11
[JAVA TV] MHP 배경이미지 처리  (0) 2013.12.27
[JAVA TV] 타이머  (0) 2013.12.27