Class SWTSkinObjectExpandItem1
java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectBasic
com.biglybt.ui.swt.skin.SWTSkinObjectContainer
com.biglybt.ui.swt.skin.SWTSkinObjectExpandItem1
- All Implemented Interfaces:
ObfuscateImage, PluginUISWTSkinObject, SWTSkinObject, SWTSkinObjectExpandItem, EventListener, org.eclipse.swt.events.ExpandListener, org.eclipse.swt.events.PaintListener
public class SWTSkinObjectExpandItem1
extends SWTSkinObjectContainer
implements org.eclipse.swt.events.ExpandListener, SWTSkinObjectExpandItem
-
Nested Class Summary
Nested classes/interfaces inherited from class SWTSkinObjectBasic
SWTSkinObjectBasic.GradientInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.swt.widgets.Compositeprivate booleanprivate org.eclipse.swt.widgets.ExpandItemprivate 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
ConstructorsConstructorDescriptionSWTSkinObjectExpandItem1(SWTSkin skin, SWTSkinProperties properties, String sID, String sConfigID, SWTSkinObject parent) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoiddispose()booleanorg.eclipse.swt.widgets.ExpandItemorg.eclipse.swt.widgets.CompositebooleanvoiditemCollapsed(org.eclipse.swt.events.ExpandEvent e) voiditemExpanded(org.eclipse.swt.events.ExpandEvent e) voidrelayout()protected voidvoidsetExpanded(boolean expand) private voidsetExpandedVariable(boolean expand) voidsetHeight(int h) voidprivate 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, 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, triggerListenersMethods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SWTSkinObjectExpandItem
getComposite, getParent
-
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
-
SWTSkinObjectExpandItem1
public SWTSkinObjectExpandItem1(SWTSkin skin, SWTSkinProperties properties, String sID, String sConfigID, SWTSkinObject parent)
-
-
Method Details
-
createExpandItem
private void createExpandItem() -
relayout
public void relayout()- Specified by:
relayoutin interfaceSWTSkinObject- Specified by:
relayoutin interfaceSWTSkinObjectExpandItem- Overrides:
relayoutin classSWTSkinObjectBasic
-
resizeComposite
protected void resizeComposite() -
getParentComposite
public org.eclipse.swt.widgets.Composite getParentComposite()- Specified by:
getParentCompositein interfaceSWTSkinObjectExpandItem
-
getExpandItem
public org.eclipse.swt.widgets.ExpandItem getExpandItem() -
isExpanded
public boolean isExpanded() -
setExpandedVariable
private void setExpandedVariable(boolean expand) -
setExpanded
public void setExpanded(boolean expand) - Specified by:
setExpandedin interfaceSWTSkinObjectExpandItem
-
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
- Specified by:
setTextin interfaceSWTSkinObjectExpandItem
-
setHeight
public void setHeight(int h) - Specified by:
setHeightin interfaceSWTSkinObjectExpandItem
-
setText
- Parameters:
text-- Since:
- 3.1.1.1
-
fillsHeight
public boolean fillsHeight() -
dispose
public void dispose()- Specified by:
disposein interfaceSWTSkinObject- Overrides:
disposein classSWTSkinObjectBasic
-