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 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
 Object dataSourceChanged(SWTSkinObject skinObject, Object params)
           
 Object eventOccured(SWTSkinObject skinObject, int eventType, Object params)
          Called when an event occurs
 Object skinObjectCreated(SWTSkinObject skinObject, Object params)
          Skin Object was created.
 Object skinObjectDestroyed(SWTSkinObject skinObject, Object params)
          Skin Object was destroyed
 Object skinObjectHidden(SWTSkinObject skinObject, Object params)
          Skin Object was hidden
 Object skinObjectSelected(SWTSkinObject skinObject, Object params)
          Skin Object was selected (activated)
 Object skinObjectShown(SWTSkinObject skinObject, Object params)
          Skin Object was shown
 Object updateLanguage(SWTSkinObject skinObject, 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 Object skinObjectShown(SWTSkinObject skinObject,
                              Object params)
Skin Object was shown


skinObjectHidden

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


skinObjectSelected

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


skinObjectDestroyed

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


skinObjectCreated

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


updateLanguage

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


dataSourceChanged

public Object dataSourceChanged(SWTSkinObject skinObject,
                                Object params)

eventOccured

public Object eventOccured(SWTSkinObject skinObject,
                           int eventType,
                           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