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

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

public class SWTSkinUtils
extends Object

Author:
TuxPaper

Nested Class Summary
static class SWTSkinUtils.MouseEnterExitListener
           
 
Field Summary
static int TILE_BOTH
           
static int TILE_CENTER_X
           
static int TILE_CENTER_Y
           
static int TILE_NONE
           
static int TILE_X
           
static int TILE_Y
           
 
Constructor Summary
SWTSkinUtils()
           
 
Method Summary
static SWTSkinObjectBrowser findBrowserSO(SWTSkinObject so)
           
static int getAlignment(String sAlign, int def)
           
static int getTileMode(String sTileMode)
           
static void setVisibility(SWTSkin skin, String configID, String viewID, boolean visible)
           
static void setVisibility(SWTSkin skin, String configID, String viewID, boolean visible, boolean save, boolean fast)
           
static void setVisibility(SWTSkin skin, String configID, SWTSkinObject skinObject, org.eclipse.swt.graphics.Point destSize, boolean save, boolean fast, Runnable runAfterSlide)
           
static void slide(SWTSkinObject skinObject, org.eclipse.swt.layout.FormData fd, org.eclipse.swt.graphics.Point destSize, Runnable runOnCompletion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TILE_NONE

public static final int TILE_NONE
See Also:
Constant Field Values

TILE_Y

public static final int TILE_Y
See Also:
Constant Field Values

TILE_X

public static final int TILE_X
See Also:
Constant Field Values

TILE_CENTER_X

public static final int TILE_CENTER_X
See Also:
Constant Field Values

TILE_CENTER_Y

public static final int TILE_CENTER_Y
See Also:
Constant Field Values

TILE_BOTH

public static final int TILE_BOTH
See Also:
Constant Field Values
Constructor Detail

SWTSkinUtils

public SWTSkinUtils()
Method Detail

getAlignment

public static int getAlignment(String sAlign,
                               int def)

getTileMode

public static int getTileMode(String sTileMode)
Parameters:
tileMode -
Returns:

setVisibility

public static void setVisibility(SWTSkin skin,
                                 String configID,
                                 String viewID,
                                 boolean visible)

setVisibility

public static void setVisibility(SWTSkin skin,
                                 String configID,
                                 String viewID,
                                 boolean visible,
                                 boolean save,
                                 boolean fast)

setVisibility

public static void setVisibility(SWTSkin skin,
                                 String configID,
                                 SWTSkinObject skinObject,
                                 org.eclipse.swt.graphics.Point destSize,
                                 boolean save,
                                 boolean fast,
                                 Runnable runAfterSlide)

slide

public static void slide(SWTSkinObject skinObject,
                         org.eclipse.swt.layout.FormData fd,
                         org.eclipse.swt.graphics.Point destSize,
                         Runnable runOnCompletion)

findBrowserSO

public static SWTSkinObjectBrowser findBrowserSO(SWTSkinObject so)