Class SWTSkinObjectExpandItem2
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectBasic
com.biglybt.ui.swt.skin.SWTSkinObjectContainer
com.biglybt.ui.swt.skin.SWTSkinObjectExpandItem2
- All Implemented Interfaces:
ObfuscateImage, PluginUISWTSkinObject, SWTSkinObject, SWTSkinObjectExpandItem, EventListener, org.eclipse.swt.events.PaintListener
public class SWTSkinObjectExpandItem2
extends SWTSkinObjectContainer
implements SWTSkinObjectExpandItem
-
Nested Class Summary
Nested classes/interfaces inherited from class SWTSkinObjectBasic
SWTSkinObjectBasic.GradientInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate SWTSkinObjectExpandBar2private int(package private) static Booleanprivate org.eclipse.swt.widgets.Compositeprivate booleanprivate booleanFields inherited from class SWTSkinObjectContainer
bPropogate, bPropogateDownFields inherited from class SWTSkinObjectBasic
alwaysHookPaintListener, bgColor, BORDER_GRADIENT, BORDER_ROUNDED, BORDER_ROUNDED_FILL, control, customTooltipID, debug, initialized, listeners, listeners_mon, painter, paintListenerHooked, parent, properties, sConfigID, sID, skin, suffixes, type -
Constructor Summary
ConstructorsConstructorDescriptionSWTSkinObjectExpandItem2(SWTSkin skin, SWTSkinProperties properties, String sID, String sConfigID, SWTSkinObject parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprivate StringfixupExpander(String text) private SWTSkinObjectContainerprivate intprivate booleanprivate SWTSkinObjectTextprivate SWTSkinObjectContainerprivate intorg.eclipse.swt.widgets.Compositeprotected booleanprivate voidsetBodyHeight(int h) voidsetExpanded(boolean b) voidsetHeight(int height) voidswitchSuffix(String suffix, int level, boolean walkUp, boolean walkDown) Methods inherited from class SWTSkinObjectContainer
childAdded, createComposite, getChildren, getComposite, getPropogation, obfuscatedImage, oldgetChildren, setControl, setDebugAndChildren, setIsVisible, setPropogation, setViewID, superSetIsVisibleMethods inherited from class SWTSkinObjectBasic
addListener, dispose, equals, getConfigID, getControl, getData, getDefaultVisibility, getListeners, getParent, getProperties, getSkin, getSkinObjectID, getSkinView, getSuffix, getTooltipID, getType, getViewID, isAlwaysHookPaintListener, isDebug, isDisposed, isVisible, layoutComplete, paintControl, paintControl, relayout, removeListener, setAlwaysHookPaintListener, setBackground, setData, setDebug, setDefaultVisibility, setObfuscatedImageGenerator, setProperties, setSkinView, setTooltipID, setVisible, switchSuffix, switchSuffix, toString, triggerListeners, triggerListenersMethods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SWTSkinObjectExpandItem
getComposite, getParent, relayout
-
Field Details
-
canUseExpanderUnicode
-
bar
-
composite
private org.eclipse.swt.widgets.Composite composite -
expanded
private boolean expanded -
fillHeight
private boolean fillHeight -
bodyHeightCache
private int bodyHeightCache
-
-
Constructor Details
-
SWTSkinObjectExpandItem2
public SWTSkinObjectExpandItem2(SWTSkin skin, SWTSkinProperties properties, String sID, String sConfigID, SWTSkinObject parent)
-
-
Method Details
-
getHeaderContainer
-
getHeader
-
getBodyContainer
-
fixupExpander
-
setText
- Specified by:
setTextin interfaceSWTSkinObjectExpandItem
-
getParentComposite
public org.eclipse.swt.widgets.Composite getParentComposite()- Specified by:
getParentCompositein interfaceSWTSkinObjectExpandItem
-
setExpanded
public void setExpanded(boolean b) - Specified by:
setExpandedin interfaceSWTSkinObjectExpandItem
-
getExpanded
private boolean getExpanded() -
setHeight
public void setHeight(int height) - Specified by:
setHeightin interfaceSWTSkinObjectExpandItem
-
setBodyHeight
private void setBodyHeight(int h) -
getHeaderHeight
private int getHeaderHeight() -
getBodyHeight
private int getBodyHeight() -
fillsHeight
protected boolean fillsHeight() -
switchSuffix
- Specified by:
switchSuffixin interfaceSWTSkinObject- Overrides:
switchSuffixin classSWTSkinObjectContainer
-
resizeComposite
protected boolean resizeComposite()
-