Package com.biglybt.ui.swt.views.skin
Class SkinViewManager
java.lang.Object
com.biglybt.ui.swt.views.skin.SkinViewManager
Manages a list of SkinViews currently in use by the app
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
Listen in on SkinView addsstatic void
static SkinView
getByClass
(Class<?> cla) Gets the first SkinView created of the specified classstatic SkinView
Get the SkinView related to a SkinObjectIDstatic SkinView
getByViewID
(String viewID) Get the SkinView related to a View IDstatic SkinView[]
getMultiByClass
(Class<?> cla) Return all added SkinViews of a certain classstatic void
static void
static void
triggerViewAddedListeners
(SkinView skinView)
-
Field Details
-
mapSkinViews
-
mon_skinViews
-
skinIDs
Map SkinObjectID to skin view -
skinViewIDs
-
listeners
-
-
Constructor Details
-
SkinViewManager
public SkinViewManager()
-
-
Method Details
-
add
- Parameters:
skinView
-key
-
-
remove
-
getByClass
Gets the first SkinView created of the specified class- Parameters:
cla
-- Returns:
-
getMultiByClass
Return all added SkinViews of a certain class- Parameters:
cla
-- Returns:
-
getBySkinObjectID
Get the SkinView related to a SkinObjectID- Parameters:
id
-- Returns:
-
getByViewID
Get the SkinView related to a View ID- Parameters:
viewID
-- Returns:
-
addListener
Listen in on SkinView adds- Parameters:
l
-
-
addListener
-
RemoveListener
-
triggerViewAddedListeners
-