com.aelitis.azureus.ui.swt.skin
Class SWTSkinObjectAdapter

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
All Implemented Interfaces:
SWTSkinObjectListener
Direct Known Subclasses:
SkinView

public class SWTSkinObjectAdapter
extends java.lang.Object
implements SWTSkinObjectListener

Converts SWTSkinObjectListener events to method calls

Author:
TuxPaper

Field Summary
 
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
SWTSkinObjectAdapter()
           
 
Method Summary
 java.lang.Object dataSourceChanged(SWTSkinObject skinObject, java.lang.Object params)
           
 java.lang.Object eventOccured(SWTSkinObject skinObject, int eventType, java.lang.Object params)
          Called when an event occurs
 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
 java.lang.Object skinObjectSelected(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was selected (activated)
 java.lang.Object skinObjectShown(SWTSkinObject skinObject, java.lang.Object params)
          Skin Object was shown
 java.lang.Object updateLanguage(SWTSkinObject skinObject, java.lang.Object params)
          skinObject needs to update any text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTSkinObjectAdapter

public SWTSkinObjectAdapter()
Method Detail

skinObjectShown

public java.lang.Object skinObjectShown(SWTSkinObject skinObject,
                                        java.lang.Object params)
Skin Object was shown


skinObjectHidden

public java.lang.Object skinObjectHidden(SWTSkinObject skinObject,
                                         java.lang.Object params)
Skin Object was hidden


skinObjectSelected

public java.lang.Object skinObjectSelected(SWTSkinObject skinObject,
                                           java.lang.Object params)
Skin Object was selected (activated)


skinObjectDestroyed

public java.lang.Object skinObjectDestroyed(SWTSkinObject skinObject,
                                            java.lang.Object params)
Skin Object was destroyed


skinObjectCreated

public java.lang.Object skinObjectCreated(SWTSkinObject skinObject,
                                          java.lang.Object params)
Skin Object was created. All children are guaranteed to be created.


updateLanguage

public java.lang.Object updateLanguage(SWTSkinObject skinObject,
                                       java.lang.Object params)
skinObject needs to update any text


dataSourceChanged

public java.lang.Object dataSourceChanged(SWTSkinObject skinObject,
                                          java.lang.Object params)

eventOccured

public java.lang.Object eventOccured(SWTSkinObject skinObject,
                                     int eventType,
                                     java.lang.Object params)
Description copied from interface: SWTSkinObjectListener
Called when an event occurs

Specified by:
eventOccured in interface SWTSkinObjectListener
Parameters:
skinObject - skin object the event occurred on
eventType - EVENT_* constant
params - Any parameters the event needs to send you