|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UISWTViewEvent
A UI SWT View Event triggered by the UISWTViewEventListener
UISWTViewEventListener
,
UISWTInstance.addView(String, String, UISWTViewEventListener)
Field Summary | |
---|---|
static java.lang.String[] |
DEBUG_TYPES
|
static int |
TYPE_CLOSE
Triggered when the parent view is about to be closed |
static int |
TYPE_CREATE
Triggered before view is initialize in order to allow any set up before initialization |
static int |
TYPE_DATASOURCE_CHANGED
Triggered when the datasource related to this view change. |
static int |
TYPE_DESTROY
Triggered when the parent view is about to be destroyed |
static int |
TYPE_FOCUSGAINED
Focus Gained |
static int |
TYPE_FOCUSLOST
Focus Lost |
static int |
TYPE_INITIALIZE
Initialize your view. |
static int |
TYPE_LANGUAGEUPDATE
Language has changed. |
static int |
TYPE_OBFUSCATE
Triggered when the UI needs a privacy sensitive view. |
static int |
TYPE_REFRESH
Triggered on user-specified intervals. |
Method Summary | |
---|---|
java.lang.Object |
getData()
Get the data |
int |
getType()
Get the type. |
UISWTView |
getView()
Get the View |
Field Detail |
---|
static final java.lang.String[] DEBUG_TYPES
static final int TYPE_CREATE
This is the only time that setting UISWTView.setControlType(int)
has any effect.
return true from UISWTViewEventListener.eventOccurred(UISWTViewEvent)
if creation was successfull. If you want only one instance of your view,
or if there's any reason you can't create, return false, and an existing
view will be used, if one is present.
static final int TYPE_DATASOURCE_CHANGED
Usually called after TYPE_CREATE, but before TYPE_INITIALIZE
getData() will return an Object[] array, or null
static final int TYPE_INITIALIZE
getData() will return a SWT Composite or AWT Container for you to place object in.
static final int TYPE_FOCUSGAINED
static final int TYPE_FOCUSLOST
TYPE_FOCUSLOST may not be called before TYPE_DESTROY
static final int TYPE_REFRESH
Caller is the GUI thread
static final int TYPE_LANGUAGEUPDATE
static final int TYPE_DESTROY
TYPE_FOCUSLOST may not be called before TYPE_DESTROY
static final int TYPE_CLOSE
Return false to abort close
static final int TYPE_OBFUSCATE
Currently, getData() will return a map, with "image" key containing Image
Method Detail |
---|
int getType()
java.lang.Object getData()
UISWTView getView()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |