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

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
      extended by com.aelitis.azureus.ui.swt.views.skin.SkinView
All Implemented Interfaces:
SWTSkinObjectListener
Direct Known Subclasses:
BaseMDI, Browse, DeviceInfoArea, SBC_ActivityTableView, SBC_ActivityView, SBC_ArchivedDownloadsView, SBC_BurnFTUX, SBC_ChatOverview, SBC_DevicesODView, SBC_DevicesView, SBC_DownloadHistoryView, SBC_GenericBrowsePage, SBC_LibraryTableView, SBC_LibraryView, SBC_PlusFTUX, SBC_SubscriptionResultsView, SBC_TagDiscovery, SBC_TagsOverview, SBC_TorrentDetailsView, SearchResultsTabArea, ToolBarView, TopBarView, WelcomeView

public abstract class SkinView
extends SWTSkinObjectAdapter

Converts SWTSkinObjectListener events to method calls, and ensures we only "show" (initialize) once.

Available SkinViews are managed by SkinViewManager

Author:
TuxPaper

Field Summary
protected  SWTSkin skin
           
protected  SWTSkinObject soMain
           
 
Fields inherited from interface com.aelitis.azureus.ui.swt.skin.SWTSkinObjectListener
EVENT_CREATE_REQUEST, EVENT_CREATED, EVENT_DATASOURCE_CHANGED, EVENT_DESTROY, EVENT_HIDE, EVENT_LANGUAGE_CHANGE, EVENT_SELECT, EVENT_SHOW, NAMES
 
Constructor Summary
SkinView()
           
 
Method Summary
 SWTSkinObject getMainSkinObject()
           
 SWTSkin getSkin()
           
 SWTSkinObject getSkinObject(java.lang.String viewID)
           
 boolean isDisposed()
           
 boolean isVisible()
           
 void setMainSkinObject(SWTSkinObject main)
           
 java.lang.Object skinObjectCreated(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was created.
 java.lang.Object skinObjectDestroyed(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was destroyed
 java.lang.Object skinObjectHidden(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was hidden
abstract  java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject, java.lang.Object params)
           
 java.lang.Object skinObjectShown(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was shown
 
Methods inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
dataSourceChanged, eventOccured, skinObjectSelected, updateLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

soMain

protected SWTSkinObject soMain

skin

protected SWTSkin skin
Constructor Detail

SkinView

public SkinView()
Method Detail

isVisible

public boolean isVisible()
Returns:
the visible

skinObjectShown

public java.lang.Object skinObjectShown(SWTSkinObject skinObject,
                                        java.lang.Object params)
Description copied from class: SWTSkinObjectAdapter
Skin Object was shown

Overrides:
skinObjectShown in class SWTSkinObjectAdapter

skinObjectHidden

public java.lang.Object skinObjectHidden(SWTSkinObject skinObject,
                                         java.lang.Object params)
Description copied from class: SWTSkinObjectAdapter
Skin Object was hidden

Overrides:
skinObjectHidden in class SWTSkinObjectAdapter

skinObjectDestroyed

public java.lang.Object skinObjectDestroyed(SWTSkinObject skinObject,
                                            java.lang.Object params)
Description copied from class: SWTSkinObjectAdapter
Skin Object was destroyed

Overrides:
skinObjectDestroyed in class SWTSkinObjectAdapter

isDisposed

public boolean isDisposed()

skinObjectInitialShow

public abstract java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject,
                                                       java.lang.Object params)
Parameters:
skinObject -
params -
Returns:

getMainSkinObject

public SWTSkinObject getMainSkinObject()

skinObjectCreated

public java.lang.Object skinObjectCreated(SWTSkinObject skinObject,
                                          java.lang.Object params)
Description copied from class: SWTSkinObjectAdapter
Skin Object was created. All children are guaranteed to be created.

Overrides:
skinObjectCreated in class SWTSkinObjectAdapter

setMainSkinObject

public final void setMainSkinObject(SWTSkinObject main)

getSkin

public final SWTSkin getSkin()

getSkinObject

public final SWTSkinObject getSkinObject(java.lang.String viewID)