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

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

public class SWTSkinButtonUtility
extends Object

Simple encapsulation of SWTSkinObjectContainer that provides typical button funtionality


Nested Class Summary
static class SWTSkinButtonUtility.ButtonListenerAdapter
           
 
Constructor Summary
SWTSkinButtonUtility(SWTSkinObject skinObject)
           
SWTSkinButtonUtility(SWTSkinObject skinObject, String imageViewID)
           
 
Method Summary
 void addSelectionListener(SWTSkinButtonUtility.ButtonListenerAdapter listener)
           
 SWTSkinObject getSkinObject()
           
 boolean isDisabled()
           
 void setDisabled(boolean disabled)
           
 void setImage(String id)
           
 void setTextID(String id)
           
 void setTooltipID(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTSkinButtonUtility

public SWTSkinButtonUtility(SWTSkinObject skinObject)

SWTSkinButtonUtility

public SWTSkinButtonUtility(SWTSkinObject skinObject,
                            String imageViewID)
Method Detail

isDisabled

public boolean isDisabled()

setDisabled

public void setDisabled(boolean disabled)

addSelectionListener

public void addSelectionListener(SWTSkinButtonUtility.ButtonListenerAdapter listener)

getSkinObject

public SWTSkinObject getSkinObject()

setTextID

public void setTextID(String id)

setImage

public void setImage(String id)

setTooltipID

public void setTooltipID(String id)