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.Composite
private boolean
private org.eclipse.swt.widgets.ExpandItem
private boolean
private boolean
Fields inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectContainer
bPropogate, bPropogateDown
Fields 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 void
void
dispose()
boolean
org.eclipse.swt.widgets.ExpandItem
boolean
void
itemCollapsed
(org.eclipse.swt.events.ExpandEvent e) void
itemExpanded
(org.eclipse.swt.events.ExpandEvent e) void
relayout()
protected void
void
setExpanded
(boolean expand) private void
setExpandedVariable
(boolean expand) void
private void
switchSuffix
(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, superSetIsVisible
Methods 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:
relayout
in interfaceSWTSkinObject
- Overrides:
relayout
in 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:
itemCollapsed
in interfaceorg.eclipse.swt.events.ExpandListener
-
itemExpanded
public void itemExpanded(org.eclipse.swt.events.ExpandEvent e) - Specified by:
itemExpanded
in interfaceorg.eclipse.swt.events.ExpandListener
-
switchSuffix
- Specified by:
switchSuffix
in interfaceSWTSkinObject
- Overrides:
switchSuffix
in classSWTSkinObjectContainer
-
setText
-
setText
- Parameters:
text
-- Since:
- 3.1.1.1
-
fillsHeight
public boolean fillsHeight() -
dispose
public void dispose()- Specified by:
dispose
in interfaceSWTSkinObject
- Overrides:
dispose
in classSWTSkinObjectBasic
-