Package com.biglybt.ui.swt.pifimpl
Class UISWTViewEventImpl
- java.lang.Object
-
- com.biglybt.ui.swt.pifimpl.UISWTViewEventImpl
-
- All Implemented Interfaces:
UISWTViewEvent
public class UISWTViewEventImpl extends java.lang.Object implements UISWTViewEvent
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Object
data
(package private) int
eventType
(package private) UISWTView
view
-
Fields inherited from interface com.biglybt.ui.swt.pif.UISWTViewEvent
DEBUG_TYPES, TYPE_CLOSE, TYPE_CREATE, TYPE_DATASOURCE_CHANGED, TYPE_DESTROY, TYPE_FOCUSGAINED, TYPE_FOCUSLOST, TYPE_HIDDEN, TYPE_INITIALIZE, TYPE_LANGUAGEUPDATE, TYPE_OBFUSCATE, TYPE_REFRESH, TYPE_SHOWN
-
-
Constructor Summary
Constructors Constructor Description UISWTViewEventImpl(UISWTView view, int eventType, java.lang.Object data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getData()
Get the dataint
getType()
Get the type.UISWTView
getView()
Get the View
-
-
-
Field Detail
-
eventType
int eventType
-
data
java.lang.Object data
-
view
UISWTView view
-
-
Constructor Detail
-
UISWTViewEventImpl
public UISWTViewEventImpl(UISWTView view, int eventType, java.lang.Object data)
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:UISWTViewEvent
Get the type.- Specified by:
getType
in interfaceUISWTViewEvent
- Returns:
- The TYPE_* constant for this event
-
getData
public java.lang.Object getData()
Description copied from interface:UISWTViewEvent
Get the data- Specified by:
getData
in interfaceUISWTViewEvent
- Returns:
- Any data for this event
-
getView
public UISWTView getView()
Description copied from interface:UISWTViewEvent
Get the View- Specified by:
getView
in interfaceUISWTViewEvent
- Returns:
- Information and control over the view
-
-