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

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
      extended by com.aelitis.azureus.ui.swt.skin.SWTSkinObjectSash
All Implemented Interfaces:
SWTSkinObject, EventListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener, ObfusticateImage, PluginUISWTSkinObject

public class SWTSkinObjectSash
extends SWTSkinObjectBasic

Parameters:

.startpos
Position in pixels of where to start the sash by default

Author:
TuxPaper

Field Summary
protected  String sControlAfter
           
protected  String sControlBefore
           
 
Fields inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
bgColor, BORDER_GRADIENT, BORDER_ROUNDED, BORDER_ROUNDED_FILL, control, customTooltipID, debug, listeners, listeners_mon, painter, parent, properties, sConfigID, sID, skin, suffixes, type
 
Constructor Summary
SWTSkinObjectSash(SWTSkin skin, SWTSkinProperties properties, String sID, String sConfigID, String[] typeParams, SWTSkinObject parent, boolean bVertical)
           
 
Method Summary
 void dispose()
           
 int getAboveSize()
           
protected  void handleShow()
           
protected  void initialize()
           
 boolean isAboveVisible()
           
 void resetWidth()
           
 void setAboveSize(int px)
           
 void setAboveVisible(boolean visible)
           
 void setBelowSize(int px)
           
protected  void setPercent(double pctAbove, org.eclipse.swt.widgets.Control sash, org.eclipse.swt.widgets.Composite above, org.eclipse.swt.widgets.Composite below, boolean bVertical, org.eclipse.swt.widgets.Control parentComposite, int minAbove, int belowMin)
           
 
Methods inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
addListener, equals, getConfigID, getControl, getData, getDefaultVisibility, getListeners, getParent, getProperties, getSkin, getSkinObjectID, getSkinView, getSuffix, getTooltipID, getType, getViewID, hashCode, isAlwaysHookPaintListener, isDebug, isDisposed, isVisible, layoutComplete, obfusticatedImage, paintControl, paintControl, relayout, removeListener, setAlwaysHookPaintListener, setBackground, setControl, setData, setDebug, setDefaultVisibility, setIsVisible, setObfusticatedImageGenerator, setProperties, setSkinView, setTooltipID, setViewID, setVisible, switchSuffix, switchSuffix, switchSuffix, toString, triggerListeners, triggerListeners
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

sControlBefore

protected String sControlBefore

sControlAfter

protected String sControlAfter
Constructor Detail

SWTSkinObjectSash

public SWTSkinObjectSash(SWTSkin skin,
                         SWTSkinProperties properties,
                         String sID,
                         String sConfigID,
                         String[] typeParams,
                         SWTSkinObject parent,
                         boolean bVertical)
Method Detail

initialize

protected void initialize()
Since:
3.1.0.1

dispose

public void dispose()
Specified by:
dispose in interface SWTSkinObject
Overrides:
dispose in class SWTSkinObjectBasic

handleShow

protected void handleShow()
Parameters:
e -
Since:
3.1.0.1

setPercent

protected void setPercent(double pctAbove,
                          org.eclipse.swt.widgets.Control sash,
                          org.eclipse.swt.widgets.Composite above,
                          org.eclipse.swt.widgets.Composite below,
                          boolean bVertical,
                          org.eclipse.swt.widgets.Control parentComposite,
                          int minAbove,
                          int belowMin)
Parameters:
below -
bVertical -
parentComposite -
sash -
above -

setBelowSize

public void setBelowSize(int px)

getAboveSize

public int getAboveSize()

setAboveSize

public void setAboveSize(int px)

resetWidth

public void resetWidth()

isAboveVisible

public boolean isAboveVisible()

setAboveVisible

public void setAboveVisible(boolean visible)