Package com.biglybt.ui.swt.skin
Class SWTSkinObjectContainer
- java.lang.Object
-
- com.biglybt.ui.swt.skin.SWTSkinObjectBasic
-
- com.biglybt.ui.swt.skin.SWTSkinObjectContainer
-
- All Implemented Interfaces:
ObfuscateImage
,PluginUISWTSkinObject
,SWTSkinObject
,java.util.EventListener
,org.eclipse.swt.events.PaintListener
,org.eclipse.swt.internal.SWTEventListener
- Direct Known Subclasses:
SWTSkinObjectExpandBar
,SWTSkinObjectExpandItem
,SWTSkinObjectTab
,SWTSkinObjectTabFolder
public class SWTSkinObjectContainer extends SWTSkinObjectBasic
A SWTSkinObject that contains other SWTSkinObjects
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectBasic
SWTSkinObjectBasic.GradientInfo
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
bPropogate
(package private) boolean
bPropogateDown
private int
minHeight
private int
minWidth
private java.lang.String[]
sTypeParams
-
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
Constructors Constructor Description SWTSkinObjectContainer(SWTSkin skin, SWTSkinProperties properties, java.lang.String sID, java.lang.String sConfigID, SWTSkinObject parent)
SWTSkinObjectContainer(SWTSkin skin, SWTSkinProperties properties, java.lang.String sID, java.lang.String sConfigID, java.lang.String[] sTypeParams, SWTSkinObject parent)
SWTSkinObjectContainer(SWTSkin skin, SWTSkinProperties properties, org.eclipse.swt.widgets.Control control, java.lang.String sID, java.lang.String sConfigID, java.lang.String type, SWTSkinObject parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
childAdded(SWTSkinObject soChild)
protected org.eclipse.swt.widgets.Composite
createComposite(org.eclipse.swt.widgets.Composite createOn)
SWTSkinObject[]
getChildren()
org.eclipse.swt.widgets.Composite
getComposite()
boolean
getPropogation()
org.eclipse.swt.graphics.Image
obfuscatedImage(org.eclipse.swt.graphics.Image image)
private void
obfuscatedImage(org.eclipse.swt.widgets.Composite c, org.eclipse.swt.graphics.Image image)
SWTSkinObject[]
oldgetChildren()
void
setControl(org.eclipse.swt.widgets.Control control)
void
setDebugAndChildren(boolean b)
protected boolean
setIsVisible(boolean visible, boolean walkup)
void
setPropogation(boolean propogate)
protected void
setViewID(java.lang.String viewID)
protected boolean
superSetIsVisible(boolean visible, boolean walkup)
java.lang.String
switchSuffix(java.lang.String suffix, int level, boolean walkUp, boolean walkDown)
-
Methods inherited from class com.biglybt.ui.swt.skin.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, triggerListeners
-
-
-
-
Constructor Detail
-
SWTSkinObjectContainer
public SWTSkinObjectContainer(SWTSkin skin, SWTSkinProperties properties, java.lang.String sID, java.lang.String sConfigID, java.lang.String[] sTypeParams, SWTSkinObject parent)
-
SWTSkinObjectContainer
public SWTSkinObjectContainer(SWTSkin skin, SWTSkinProperties properties, java.lang.String sID, java.lang.String sConfigID, SWTSkinObject parent)
-
SWTSkinObjectContainer
public SWTSkinObjectContainer(SWTSkin skin, SWTSkinProperties properties, org.eclipse.swt.widgets.Control control, java.lang.String sID, java.lang.String sConfigID, java.lang.String type, SWTSkinObject parent)
-
-
Method Detail
-
createComposite
protected org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite createOn)
-
setControl
public void setControl(org.eclipse.swt.widgets.Control control)
- Overrides:
setControl
in classSWTSkinObjectBasic
-
setViewID
protected void setViewID(java.lang.String viewID)
- Overrides:
setViewID
in classSWTSkinObjectBasic
-
getChildren
public SWTSkinObject[] getChildren()
-
oldgetChildren
public SWTSkinObject[] oldgetChildren()
-
getComposite
public org.eclipse.swt.widgets.Composite getComposite()
-
switchSuffix
public java.lang.String switchSuffix(java.lang.String suffix, int level, boolean walkUp, boolean walkDown)
- Specified by:
switchSuffix
in interfaceSWTSkinObject
- Overrides:
switchSuffix
in classSWTSkinObjectBasic
-
setPropogation
public void setPropogation(boolean propogate)
-
getPropogation
public boolean getPropogation()
-
setDebugAndChildren
public void setDebugAndChildren(boolean b)
-
superSetIsVisible
protected boolean superSetIsVisible(boolean visible, boolean walkup)
-
setIsVisible
protected boolean setIsVisible(boolean visible, boolean walkup)
- Overrides:
setIsVisible
in classSWTSkinObjectBasic
-
childAdded
public void childAdded(SWTSkinObject soChild)
-
obfuscatedImage
public org.eclipse.swt.graphics.Image obfuscatedImage(org.eclipse.swt.graphics.Image image)
- Specified by:
obfuscatedImage
in interfaceObfuscateImage
- Overrides:
obfuscatedImage
in classSWTSkinObjectBasic
-
obfuscatedImage
private void obfuscatedImage(org.eclipse.swt.widgets.Composite c, org.eclipse.swt.graphics.Image image)
-
-