com.aelitis.azureus.ui.swt.views.skin
Class SkinViewManager

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.views.skin.SkinViewManager

public class SkinViewManager
extends Object

Manages a list of SkinViews currently in use by the app

Author:
TuxPaper

Nested Class Summary
static interface SkinViewManager.SkinViewManagerListener
           
 
Constructor Summary
SkinViewManager()
           
 
Method Summary
static void add(SkinView skinView)
           
static void addListener(Class cla, SkinViewManager.SkinViewManagerListener l)
           
static void addListener(SkinViewManager.SkinViewManagerListener l)
          Listen in on SkinView adds
static SkinView getByClass(Class<?> cla)
          Gets the first SkinView created of the specified class
static SkinView getBySkinObjectID(String id)
          Get the SkinView related to a SkinObjectID
static SkinView getByViewID(String viewID)
          Get the SkinView related to a View ID
static SkinView[] getMultiByClass(Class<?> cla)
          Return all added SkinViews of a certain class
static void remove(SkinView skinView)
           
static void RemoveListener(SkinViewManager.SkinViewManagerListener l)
           
static void triggerViewAddedListeners(SkinView skinView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SkinViewManager

public SkinViewManager()
Method Detail

add

public static void add(SkinView skinView)
Parameters:
key -
skinView -

remove

public static void remove(SkinView skinView)

getByClass

public static SkinView getByClass(Class<?> cla)
Gets the first SkinView created of the specified class

Parameters:
cla -
Returns:

getMultiByClass

public static SkinView[] getMultiByClass(Class<?> cla)
Return all added SkinViews of a certain class

Parameters:
cla -
Returns:

getBySkinObjectID

public static SkinView getBySkinObjectID(String id)
Get the SkinView related to a SkinObjectID

Parameters:
id -
Returns:

getByViewID

public static SkinView getByViewID(String viewID)
Get the SkinView related to a View ID

Parameters:
viewID -
Returns:

addListener

public static void addListener(SkinViewManager.SkinViewManagerListener l)
Listen in on SkinView adds

Parameters:
l -

addListener

public static void addListener(Class cla,
                               SkinViewManager.SkinViewManagerListener l)

RemoveListener

public static void RemoveListener(SkinViewManager.SkinViewManagerListener l)

triggerViewAddedListeners

public static void triggerViewAddedListeners(SkinView skinView)