Package com.biglybt.ui.swt.skin
Class SWTSkinObjectExpandItem
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectBasic
com.biglybt.ui.swt.skin.SWTSkinObjectContainer
com.biglybt.ui.swt.skin.SWTSkinObjectExpandItem
- All Implemented Interfaces:
ObfuscateImage,PluginUISWTSkinObject,SWTSkinObject,EventListener,org.eclipse.swt.events.ExpandListener,org.eclipse.swt.events.PaintListener,org.eclipse.swt.internal.SWTEventListener
public class SWTSkinObjectExpandItem
extends SWTSkinObjectContainer
implements org.eclipse.swt.events.ExpandListener
-
Nested Class Summary
Nested classes/interfaces inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectBasic
SWTSkinObjectBasic.GradientInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Compositeprivate booleanprivate org.eclipse.swt.widgets.ExpandItemprivate booleanprivate booleanFields inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectContainer
bPropogate, bPropogateDownFields inherited from class com.biglybt.ui.swt.skin.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
ConstructorsConstructorDescriptionSWTSkinObjectExpandItem(SWTSkin skin, SWTSkinProperties properties, String sID, String sConfigID, SWTSkinObject parent) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoiddispose()booleanorg.eclipse.swt.widgets.ExpandItembooleanvoiditemCollapsed(org.eclipse.swt.events.ExpandEvent e) voiditemExpanded(org.eclipse.swt.events.ExpandEvent e) voidrelayout()protected voidvoidsetExpanded(boolean expand) private voidsetExpandedVariable(boolean expand) voidprivate voidswitchSuffix(String suffix, int level, boolean walkUp, boolean walkDown) Methods inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectContainer
childAdded, createComposite, getChildren, getComposite, getPropogation, obfuscatedImage, oldgetChildren, setControl, setDebugAndChildren, setIsVisible, setPropogation, setViewID, superSetIsVisibleMethods inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectBasic
addListener, equals, getConfigID, getControl, getData, getDefaultVisibility, getListeners, getParent, getProperties, getSkin, getSkinObjectID, getSkinView, getSuffix, getTooltipID, getType, getViewID, isAlwaysHookPaintListener, isDebug, isDisposed, isVisible, layoutComplete, paintControl, paintControl, removeListener, setAlwaysHookPaintListener, setBackground, setData, setDebug, setDefaultVisibility, setObfuscatedImageGenerator, setProperties, setSkinView, setTooltipID, setVisible, switchSuffix, switchSuffix, toString, triggerListeners, triggerListeners
-
Field Details
-
expandItem
private org.eclipse.swt.widgets.ExpandItem expandItem -
expanded
private boolean expanded -
textOverride
private boolean textOverride -
composite
private org.eclipse.swt.widgets.Composite composite -
fillHeight
private boolean fillHeight
-
-
Constructor Details
-
SWTSkinObjectExpandItem
public SWTSkinObjectExpandItem(SWTSkin skin, SWTSkinProperties properties, String sID, String sConfigID, SWTSkinObject parent)
-
-
Method Details
-
createExpandItem
private void createExpandItem() -
relayout
public void relayout()- Specified by:
relayoutin interfaceSWTSkinObject- Overrides:
relayoutin classSWTSkinObjectBasic
-
resizeComposite
protected void resizeComposite() -
getExpandItem
public org.eclipse.swt.widgets.ExpandItem getExpandItem() -
isExpanded
public boolean isExpanded() -
setExpandedVariable
private void setExpandedVariable(boolean expand) -
setExpanded
public void setExpanded(boolean expand) -
itemCollapsed
public void itemCollapsed(org.eclipse.swt.events.ExpandEvent e) - Specified by:
itemCollapsedin interfaceorg.eclipse.swt.events.ExpandListener
-
itemExpanded
public void itemExpanded(org.eclipse.swt.events.ExpandEvent e) - Specified by:
itemExpandedin interfaceorg.eclipse.swt.events.ExpandListener
-
switchSuffix
- Specified by:
switchSuffixin interfaceSWTSkinObject- Overrides:
switchSuffixin classSWTSkinObjectContainer
-
setText
-
setText
- Parameters:
text-- Since:
- 3.1.1.1
-
fillsHeight
public boolean fillsHeight() -
dispose
public void dispose()- Specified by:
disposein interfaceSWTSkinObject- Overrides:
disposein classSWTSkinObjectBasic
-