Class PWTab
java.lang.Object
org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer
org.eclipse.nebula.widgets.opal.preferencewindow.PWTab
public class PWTab extends PWContainer
Instance of this class are tabs
-
Constructor Summary
Constructors Constructor Description PWTab(org.eclipse.swt.graphics.Image image, java.lang.String text)Constructor -
Method Summary
Modifier and Type Method Description PWContaineradd(PWContainer element)Add a container to the current elementPWContaineradd(PWWidget widget)Add a widget to the current elementvoidbuild(org.eclipse.swt.widgets.Composite parent)Build the content of the containerorg.eclipse.swt.graphics.ImagegetImage()java.lang.StringgetText()
-
Constructor Details
-
PWTab
PWTab(org.eclipse.swt.graphics.Image image, java.lang.String text)Constructor- Parameters:
image- image associated to the tabtext- text associated to the tab
-
-
Method Details
-
add
Description copied from class:PWContainerAdd a container to the current element- Specified by:
addin classPWContainer- Parameters:
element- element to add- Returns:
- the container
- See Also:
PWContainer.add(org.eclipse.nebula.widgets.opal.preferencewindow.PWContainer)
-
add
Description copied from class:PWContainerAdd a widget to the current element- Specified by:
addin classPWContainer- Parameters:
widget- widget to add- Returns:
- the container
-
build
public void build(org.eclipse.swt.widgets.Composite parent)Description copied from class:PWContainerBuild the content of the container- Specified by:
buildin classPWContainer- Parameters:
parent- parent composite
-
getImage
public org.eclipse.swt.graphics.Image getImage()- Returns:
- the image associate to this tab
-
getText
public java.lang.String getText()- Returns:
- the text associated to this tab
-