Package com.biglybt.ui.swt.pif
Interface UISWTViewEvent
- All Known Implementing Classes:
UISWTViewEventImpl
public interface UISWTViewEvent
A UI SWT View Event triggered by the UISWTViewEventListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]
static final int
Deprecated.Not called.static final int
Triggered before view is initialize in order to allow any set up before initializationstatic final int
Triggered when the datasource related to this view change.static final int
Triggered when the view is about to be destroyedstatic final int
Deprecated.UseTYPE_SHOWN
static final int
Deprecated.UseTYPE_HIDDEN
static final int
View has been hidden.static final int
Initialize your view.static final int
Language has changed.static final int
Triggered when the UI needs a privacy sensitive view.static final int
Triggered when the view is initially instantiated.static final int
Triggered on user-specified intervals.static final int
View has been shown. -
Method Summary
-
Field Details
-
DEBUG_TYPES
-
TYPE_CREATE
static final int TYPE_CREATETriggered before view is initialize in order to allow any set up before initializationThis 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.- Since:
- 2.3.0.6
- See Also:
-
TYPE_DATASOURCE_CHANGED
static final int TYPE_DATASOURCE_CHANGEDTriggered when the datasource related to this view change.Usually called after TYPE_CREATE, but before TYPE_INITIALIZE
getData() will return an Object[] array, or null
- Since:
- 2.3.0.6
- See Also:
-
TYPE_INITIALIZE
static final int TYPE_INITIALIZEInitialize your view.getData() will return a SWT Composite or AWT Container for you to place object in.
- Since:
- 2.3.0.6
- See Also:
-
TYPE_FOCUSGAINED
static final int TYPE_FOCUSGAINEDDeprecated.UseTYPE_SHOWN
View has been shown. Erroneously named TYPE_FOCUSGAINED. When this view is already show, but not focused, changing focus to this view will NOT trigger this event.- Since:
- Azureus 2.3.0.6
- See Also:
-
TYPE_SHOWN
static final int TYPE_SHOWNView has been shown. Same ID asTYPE_FOCUSGAINED
- Since:
- BiglyBT 2.1.0.1
- See Also:
-
TYPE_FOCUSLOST
static final int TYPE_FOCUSLOSTDeprecated.UseTYPE_HIDDEN
View has been hidden. Erroneously named TYPE_FOCUSLOST. Losing the focus, but maintaining visibility will not trigger this event.TYPE_FOCUSLOST is called before TYPE_DESTROY
- Since:
- Azureus 2.3.0.6
- See Also:
-
TYPE_HIDDEN
static final int TYPE_HIDDENView has been hidden. . Same ID asTYPE_FOCUSLOST
- Since:
- BiglyBT 2.1.0.1
- See Also:
-
TYPE_REFRESH
static final int TYPE_REFRESHTriggered on user-specified intervals. Plugins should update any live information at this time.Caller is the GUI thread
- Since:
- 2.3.0.6
- See Also:
-
TYPE_LANGUAGEUPDATE
static final int TYPE_LANGUAGEUPDATELanguage has changed. Plugins should update their text to the new language. To determine the new language, use Locale.getDefault()- Since:
- 2.3.0.6
- See Also:
-
TYPE_DESTROY
static final int TYPE_DESTROYTriggered when the view is about to be destroyedTYPE_FOCUSLOST may not be called before TYPE_DESTROY
- Since:
- 2.3.0.6
- See Also:
-
TYPE_CLOSE
static final int TYPE_CLOSEDeprecated.Not called. UseTYPE_DESTROY
Triggered when the view is about to be closed- Since:
- 2.5.0.1
- See Also:
-
TYPE_OBFUSCATE
static final int TYPE_OBFUSCATETriggered when the UI needs a privacy sensitive view.Currently, getData() will return a map, with "image" key containing Image
- Since:
- 4.7.0.3
- See Also:
-
TYPE_PRE_CREATE
static final int TYPE_PRE_CREATETriggered when the view is initially instantiated. Required for the rare occurrence when early initialisation is absolutely required. Before you ask note that the TYPE_CREATE event can be delayed...- See Also:
-
-
Method Details