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

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

public class SWTSkinUtils
extends java.lang.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(java.lang.String sAlign, int def)
           
static int getTileMode(java.lang.String sTileMode)
           
static void setVisibility(SWTSkin skin, java.lang.String configID, java.lang.String viewID, boolean visible)
           
static void setVisibility(SWTSkin skin, java.lang.String configID, java.lang.String viewID, boolean visible, boolean save, boolean fast)
           
static void setVisibility(SWTSkin skin, java.lang.String configID, SWTSkinObject skinObject, org.eclipse.swt.graphics.Point destSize, boolean save, boolean fast, java.lang.Runnable runAfterSlide)
           
static void slide(SWTSkinObject skinObject, org.eclipse.swt.layout.FormData fd, org.eclipse.swt.graphics.Point destSize, java.lang.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(java.lang.String sAlign,
                               int def)

getTileMode

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

setVisibility

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

setVisibility

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

setVisibility

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

slide

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

findBrowserSO

public static SWTSkinObjectBrowser findBrowserSO(SWTSkinObject so)