com.aelitis.azureus.ui.swt.skin
Interface SWTSkinObject

All Superinterfaces:
PluginUISWTSkinObject
All Known Subinterfaces:
SWTSkinObjectText
All Known Implementing Classes:
SWTSkinObjectBasic, SWTSkinObjectBrowser, SWTSkinObjectButton, SWTSkinObjectCheckbox, SWTSkinObjectCombo, SWTSkinObjectContainer, SWTSkinObjectExpandBar, SWTSkinObjectExpandItem, SWTSkinObjectImage, SWTSkinObjectImage2, SWTSkinObjectSash, SWTSkinObjectSeparator, SWTSkinObjectSlider, SWTSkinObjectTab, SWTSkinObjectTabFolder, SWTSkinObjectText1, SWTSkinObjectText2, SWTSkinObjectTextbox, SWTSkinObjectToggle

public interface SWTSkinObject
extends PluginUISWTSkinObject

Author:
TuxPaper

Method Summary
 void addListener(SWTSkinObjectListener listener)
           
 void dispose()
           
 java.lang.String getConfigID()
          Retrieve the Config ID which is ID in the skin config file.
 org.eclipse.swt.widgets.Control getControl()
          Retrieve the associated SWT Control used by the skin object
 java.lang.Object getData(java.lang.String id)
           
 boolean getDefaultVisibility()
           
 SWTSkinObjectListener[] getListeners()
           
 SWTSkinObject getParent()
           
 SWTSkinProperties getProperties()
           
 SWTSkin getSkin()
           
 java.lang.String getSkinObjectID()
          Retrieve the Skin Object ID that represents this object.
 SkinView getSkinView()
           
 java.lang.String getSuffix()
           
 java.lang.String getTooltipID(boolean walkup)
           
 java.lang.String getType()
          Retrieve the type of widget.
 java.lang.String getViewID()
           
 boolean isDebug()
           
 boolean isDisposed()
           
 boolean isVisible()
           
 void layoutComplete()
           
 void relayout()
           
 void removeListener(SWTSkinObjectListener listener)
           
 void setBackground(java.lang.String sConfigID, java.lang.String sSuffix)
           
 void setData(java.lang.String id, java.lang.Object data)
           
 void setDebug(boolean b)
           
 void setDefaultVisibility()
           
 void setObfusticatedImageGenerator(ObfusticateImage obfusticatedImageGenerator)
           
 void setProperties(SWTSkinProperties skinProperties)
           
 void setSkinView(SkinView sv)
           
 void setTooltipID(java.lang.String id)
           
 void setVisible(boolean visible)
           
 java.lang.String switchSuffix(java.lang.String suffix)
          Convenience method for switching suffix using defaults
 java.lang.String switchSuffix(java.lang.String suffix, int level, boolean walkUp)
           
 java.lang.String switchSuffix(java.lang.String suffix, int level, boolean walkUp, boolean walkDown)
           
 void triggerListeners(int eventType)
           
 void triggerListeners(int eventType, java.lang.Object params)
           
 

Method Detail

getControl

org.eclipse.swt.widgets.Control getControl()
Retrieve the associated SWT Control used by the skin object

Returns:
SWT Control

getType

java.lang.String getType()
Retrieve the type of widget.

Returns:
TODO Move widget types to SWTSkinObject

getSkinObjectID

java.lang.String getSkinObjectID()
Retrieve the Skin Object ID that represents this object. Typically the same as getConfigID(), however, may be different if a config id is used to make independant copies

Returns:
An unique Skin Object ID

getConfigID

java.lang.String getConfigID()
Retrieve the Config ID which is ID in the skin config file.

Returns:
Config ID

getParent

SWTSkinObject getParent()

getSkin

SWTSkin getSkin()

setVisible

void setVisible(boolean visible)

isVisible

boolean isVisible()

setDefaultVisibility

void setDefaultVisibility()

setBackground

void setBackground(java.lang.String sConfigID,
                   java.lang.String sSuffix)
Parameters:
sConfigID -
sSuffix -

switchSuffix

java.lang.String switchSuffix(java.lang.String suffix,
                              int level,
                              boolean walkUp)
Parameters:
suffix -
level -
walkUp - TODO
Returns:
TODO

switchSuffix

java.lang.String switchSuffix(java.lang.String suffix,
                              int level,
                              boolean walkUp,
                              boolean walkDown)

switchSuffix

java.lang.String switchSuffix(java.lang.String suffix)
Convenience method for switching suffix using defaults

Parameters:
suffix -
Returns:

getSuffix

java.lang.String getSuffix()
Returns:

setProperties

void setProperties(SWTSkinProperties skinProperties)
Parameters:
properties -

getProperties

SWTSkinProperties getProperties()
Returns:

addListener

void addListener(SWTSkinObjectListener listener)

removeListener

void removeListener(SWTSkinObjectListener listener)

getListeners

SWTSkinObjectListener[] getListeners()
Returns:

getViewID

java.lang.String getViewID()

triggerListeners

void triggerListeners(int eventType)
Parameters:
eventType -

triggerListeners

void triggerListeners(int eventType,
                      java.lang.Object params)
Parameters:
eventType -
params -

dispose

void dispose()
Since:
3.0.1.3

setTooltipID

void setTooltipID(java.lang.String id)
Parameters:
id -
Since:
3.0.4.3

getDefaultVisibility

boolean getDefaultVisibility()
Returns:
Since:
3.0.5.3

getData

java.lang.Object getData(java.lang.String id)

setData

void setData(java.lang.String id,
             java.lang.Object data)

isDisposed

boolean isDisposed()
Returns:
Since:
3.1.1.1

isDebug

boolean isDebug()
Returns:
Since:
3.1.1.1

getTooltipID

java.lang.String getTooltipID(boolean walkup)
Parameters:
walkup -
Returns:
Since:
3.1.1.1

setDebug

void setDebug(boolean b)
Parameters:
b -
Since:
3.1.1.1

relayout

void relayout()

layoutComplete

void layoutComplete()

setObfusticatedImageGenerator

void setObfusticatedImageGenerator(ObfusticateImage obfusticatedImageGenerator)

getSkinView

SkinView getSkinView()

setSkinView

void setSkinView(SkinView sv)