Package com.biglybt.ui.swt.skin
Interface SWTSkinObjectListener
-
- All Known Implementing Classes:
BaseMDI
,DeviceInfoArea
,SBC_ActivityTableView
,SBC_ActivityView
,SBC_AllTrackersView
,SBC_ArchivedDownloadsView
,SBC_ChatOverview
,SBC_DashboardView
,SBC_DevicesView
,SBC_DiskOpsView
,SBC_DownloadHistoryView
,SBC_GenericBrowsePage
,SBC_LibraryTableView
,SBC_LibraryTableView_Big
,SBC_LibraryView
,SBC_SubscriptionResultsView
,SBC_TagDiscovery
,SBC_TagsOverview
,SBC_TorrentDetailsView
,SearchResultsTabArea
,SideBar
,SkinView
,SWTSkinObjectAdapter
,TabbedMDI
,ToolBarView
,TopBarView
,WelcomeView
public interface SWTSkinObjectListener
Allows monitoring ofSWTSkinObject
's events
-
-
Field Summary
Fields Modifier and Type Field Description static int
EVENT_CREATE_REQUEST
skinObject will be null, params will be an array { View ID, Config ID } function who creates the object should return a SWTSkinObjectstatic int
EVENT_CREATED
Skin Object was created.static int
EVENT_DATASOURCE_CHANGED
static int
EVENT_DESTROY
Skin Object was destroyedstatic int
EVENT_HIDE
Skin Object was hiddenstatic int
EVENT_LANGUAGE_CHANGE
skinObject needs to update any textstatic int
EVENT_OBFUSCATE
static int
EVENT_SELECT
Skin Object was selected (activated)static int
EVENT_SHOW
Skin Object was shownstatic java.lang.String[]
NAMES
Friendly names of events, useful for debug
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
eventOccured(SWTSkinObject skinObject, int eventType, java.lang.Object params)
Called when an event occurs
-
-
-
Field Detail
-
EVENT_SHOW
static final int EVENT_SHOW
Skin Object was shown- See Also:
- Constant Field Values
-
EVENT_HIDE
static final int EVENT_HIDE
Skin Object was hidden- See Also:
- Constant Field Values
-
EVENT_SELECT
static final int EVENT_SELECT
Skin Object was selected (activated)- See Also:
- Constant Field Values
-
EVENT_DESTROY
static final int EVENT_DESTROY
Skin Object was destroyed- See Also:
- Constant Field Values
-
EVENT_CREATED
static final int EVENT_CREATED
Skin Object was created. All children are guaranteed to be created.- See Also:
- Constant Field Values
-
EVENT_CREATE_REQUEST
static final int EVENT_CREATE_REQUEST
skinObject will be null, params will be an array { View ID, Config ID } function who creates the object should return a SWTSkinObject- See Also:
- Constant Field Values
-
EVENT_LANGUAGE_CHANGE
static final int EVENT_LANGUAGE_CHANGE
skinObject needs to update any text- See Also:
- Constant Field Values
-
EVENT_DATASOURCE_CHANGED
static final int EVENT_DATASOURCE_CHANGED
- See Also:
- Constant Field Values
-
EVENT_OBFUSCATE
static final int EVENT_OBFUSCATE
- See Also:
- Constant Field Values
-
NAMES
static final java.lang.String[] NAMES
Friendly names of events, useful for debug
-
-
Method Detail
-
eventOccured
java.lang.Object eventOccured(SWTSkinObject skinObject, int eventType, java.lang.Object params)
Called when an event occurs- Parameters:
skinObject
- skin object the event occurred oneventType
- EVENT_* constantparams
- Any parameters the event needs to send you
-
-