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 PWContainer
add(PWContainer element)
Add a container to the current elementPWContainer
add(PWWidget widget)
Add a widget to the current elementvoid
build(org.eclipse.swt.widgets.Composite parent)
Build the content of the containerorg.eclipse.swt.graphics.Image
getImage()
java.lang.String
getText()
-
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:PWContainer
Add a container to the current element- Specified by:
add
in 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:PWContainer
Add a widget to the current element- Specified by:
add
in classPWContainer
- Parameters:
widget
- widget to add- Returns:
- the container
-
build
public void build(org.eclipse.swt.widgets.Composite parent)Description copied from class:PWContainer
Build the content of the container- Specified by:
build
in 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
-