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

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

public class SWTSkinObjectExpandItem
extends SWTSkinObjectContainer
implements org.eclipse.swt.events.ExpandListener

Author:
TuxPaper

Field Summary
 
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
SWTSkinObjectExpandItem(SWTSkin skin, SWTSkinProperties properties, String sID, String sConfigID, SWTSkinObject parent)
           
 
Method Summary
 void dispose()
           
 boolean fillsHeight()
           
 org.eclipse.swt.widgets.ExpandItem getExpandItem()
           
 boolean isExpanded()
           
 void itemCollapsed(org.eclipse.swt.events.ExpandEvent e)
           
 void itemExpanded(org.eclipse.swt.events.ExpandEvent e)
           
 void relayout()
           
protected  void resizeComposite()
           
 void setExpanded(boolean expand)
           
 void setText(String text)
           
 String switchSuffix(String suffix, int level, boolean walkUp, boolean walkDown)
           
 
Methods inherited from class com.aelitis.azureus.ui.swt.skin.SWTSkinObjectContainer
childAdded, createComposite, getChildren, getComposite, getPropogation, obfusticatedImage, oldgetChildren, setControl, setDebugAndChildren, setIsVisible, setPropogation, setViewID, superSetIsVisible
 
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, paintControl, paintControl, removeListener, setAlwaysHookPaintListener, setBackground, setData, setDebug, setDefaultVisibility, setObfusticatedImageGenerator, setProperties, setSkinView, setTooltipID, setVisible, switchSuffix, switchSuffix, toString, triggerListeners, triggerListeners
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SWTSkinObjectExpandItem

public SWTSkinObjectExpandItem(SWTSkin skin,
                               SWTSkinProperties properties,
                               String sID,
                               String sConfigID,
                               SWTSkinObject parent)
Method Detail

relayout

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

resizeComposite

protected void resizeComposite()

getExpandItem

public org.eclipse.swt.widgets.ExpandItem getExpandItem()

isExpanded

public boolean isExpanded()

setExpanded

public void setExpanded(boolean expand)

itemCollapsed

public void itemCollapsed(org.eclipse.swt.events.ExpandEvent e)
Specified by:
itemCollapsed in interface org.eclipse.swt.events.ExpandListener

itemExpanded

public void itemExpanded(org.eclipse.swt.events.ExpandEvent e)
Specified by:
itemExpanded in interface org.eclipse.swt.events.ExpandListener

switchSuffix

public String switchSuffix(String suffix,
                           int level,
                           boolean walkUp,
                           boolean walkDown)
Specified by:
switchSuffix in interface SWTSkinObject
Overrides:
switchSuffix in class SWTSkinObjectContainer

setText

public void setText(String text)

fillsHeight

public boolean fillsHeight()

dispose

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