Package com.biglybt.ui.swt.skin
Class SWTSkinObjectTab
- java.lang.Object
-
- com.biglybt.ui.swt.skin.SWTSkinObjectBasic
-
- com.biglybt.ui.swt.skin.SWTSkinObjectContainer
-
- com.biglybt.ui.swt.skin.SWTSkinObjectTab
-
- All Implemented Interfaces:
ObfuscateImage
,PluginUISWTSkinObject
,SWTSkinObject
,java.util.EventListener
,org.eclipse.swt.events.PaintListener
,org.eclipse.swt.internal.SWTEventListener
public class SWTSkinObjectTab extends SWTSkinObjectContainer
-
-
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) SWTSkinObject[]
activeWidgets
(package private) SWTSkinObject
activeWidgetsParent
(package private) SWTSkinTabSet
tabset
-
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
Constructors Constructor Description SWTSkinObjectTab(SWTSkin skin, SWTSkinProperties properties, java.lang.String sID, java.lang.String sConfigID, SWTSkinObject parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getActiveWidgetIDs()
SWTSkinObject[]
getActiveWidgets(boolean create)
SWTSkinObject
getActiveWidgetsParent()
Retrieve the parent skin object to which the active widgets belong to.SWTSkinTabSet
getTabset()
void
setActiveWidgets(SWTSkinObject[] skinObjects)
void
setActiveWidgetsParent(SWTSkinObject activeWidgetsParent)
Sets the parent skin object to which the active widgets belong to.void
setTabset(SWTSkinTabSet tabset)
-
Methods inherited from class com.biglybt.ui.swt.skin.SWTSkinObjectContainer
childAdded, createComposite, getChildren, getComposite, getPropogation, obfuscatedImage, oldgetChildren, setControl, setDebugAndChildren, setIsVisible, setPropogation, setViewID, superSetIsVisible, switchSuffix
-
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
-
-
-
-
Field Detail
-
activeWidgets
SWTSkinObject[] activeWidgets
-
activeWidgetsParent
SWTSkinObject activeWidgetsParent
-
tabset
SWTSkinTabSet tabset
-
-
Constructor Detail
-
SWTSkinObjectTab
public SWTSkinObjectTab(SWTSkin skin, SWTSkinProperties properties, java.lang.String sID, java.lang.String sConfigID, SWTSkinObject parent)
-
-
Method Detail
-
getActiveWidgetIDs
public java.lang.String[] getActiveWidgetIDs()
-
getActiveWidgets
public SWTSkinObject[] getActiveWidgets(boolean create)
-
setActiveWidgets
public void setActiveWidgets(SWTSkinObject[] skinObjects)
-
getActiveWidgetsParent
public SWTSkinObject getActiveWidgetsParent()
Retrieve the parent skin object to which the active widgets belong to.- Returns:
- Parent skin object, or null if it doesn't matter
-
setActiveWidgetsParent
public void setActiveWidgetsParent(SWTSkinObject activeWidgetsParent)
Sets the parent skin object to which the active widgets belong to.This is usefull when there are multiple widgets with the same ID
- Parameters:
activeWidgetsParent
-
-
getTabset
public SWTSkinTabSet getTabset()
-
setTabset
public void setTabset(SWTSkinTabSet tabset)
-
-