Class SkinView
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectAdapter
com.biglybt.ui.swt.views.skin.SkinView
- All Implemented Interfaces:
SWTSkinObjectListener
- Direct Known Subclasses:
BarViewParent, 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_LibraryView, SBC_SubscriptionResultsView, SBC_TagDiscovery, SBC_TagsOverview, SBC_TorrentDetailsView, SearchResultsTabArea, ToolBarView, WelcomeView
Converts
SWTSkinObjectListener events to method calls, and
ensures we only "show" (initialize) once.
Available SkinViews are managed by SkinViewManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate BaseMdiEntryprivate booleanprotected SWTSkinprotected SWTSkinObjectprivate booleanFields inherited from interface SWTSkinObjectListener
EVENT_CREATE_REQUEST, EVENT_CREATED, EVENT_DATASOURCE_CHANGED, EVENT_DESTROY, EVENT_HIDE, EVENT_LANGUAGE_CHANGE, EVENT_OBFUSCATE, EVENT_SELECT, EVENT_SHOW, NAMES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SWTSkingetSkin()final SWTSkinObjectgetSkinObject(String viewID) booleanbooleanfinal voidskinObjectCreated(SWTSkinObject skinObject, Object params) Skin Object was created.skinObjectDestroyed(SWTSkinObject skinObject, Object params) Skin Object was destroyedskinObjectHidden(SWTSkinObject skinObject, Object params) Skin Object was hiddenabstract ObjectskinObjectInitialShow(SWTSkinObject skinObject, Object params) skinObjectShown(SWTSkinObject skinObject, Object params) Skin Object was shownMethods inherited from class SWTSkinObjectAdapter
dataSourceChanged, eventOccured, skinObjectSelected, updateLanguage
-
Field Details
-
shownOnce
private boolean shownOnce -
visible
private boolean visible -
soMain
-
skin
-
disposed
private boolean disposed -
mdiEntry
-
-
Constructor Details
-
SkinView
public SkinView()
-
-
Method Details
-
isVisible
public boolean isVisible()- Returns:
- the visible
-
skinObjectShown
Description copied from class:SWTSkinObjectAdapterSkin Object was shown- Overrides:
skinObjectShownin classSWTSkinObjectAdapter
-
skinObjectHidden
Description copied from class:SWTSkinObjectAdapterSkin Object was hidden- Overrides:
skinObjectHiddenin classSWTSkinObjectAdapter
-
skinObjectDestroyed
Description copied from class:SWTSkinObjectAdapterSkin Object was destroyed- Overrides:
skinObjectDestroyedin classSWTSkinObjectAdapter
-
isDisposed
public boolean isDisposed() -
skinObjectInitialShow
- Parameters:
skinObject-params-- Returns:
-
getMainSkinObject
-
skinObjectCreated
Description copied from class:SWTSkinObjectAdapterSkin Object was created. All children are guaranteed to be created.- Overrides:
skinObjectCreatedin classSWTSkinObjectAdapter
-
setMainSkinObject
-
getSkin
-
getSkinObject
-
getMdiEntry
-