Important Note
This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Control | |
| pack-priv long | |
| pack-priv long | |
| pack-priv long | |
| pack-priv long | |
| pack-priv TabFolder | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TabItem(TabFolder
a composite control which will be the parent of the new instance (cannot be null) parent, int the style of control to construct style, int the zero-relative index to store the receiver in its parent index)Constructs a new instance of this class given its parent
(which must be a |
| Modifier and Type | Method and Description |
|---|---|
| protected void | checkSubclass()
Overrides org. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv long | |
| public Rectangle | Returns: the receiver's bounding rectangleReturns a rectangle describing the receiver's size and location relative to its parent. |
| pack-priv Rectangle | |
| public Control | Returns: the controlReturns the control that is used to fill the client area of the tab folder when the user selects the tab item. |
| public TabFolder | |
| public String | Returns: the receiver's tool tip textReturns the receiver's tool tip text, or null if it has not been set. |
| pack-priv void | gtk_css_provider_load_from_css(long
the GtkStyleContext belonging to the widget which the CSS is to be applied to styleContext, String Java string representing the CSS css)
|
| pack-priv long | gtk_enter_notify_event(long widget, long event)
Overrides org. |
| pack-priv long | gtk_mnemonic_activate(long widget, long arg1)
Overrides org. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | setControl(Control
the new control (or null) control)Sets the control that is used to fill the client area of the tab folder when the user selects the tab item. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | setImage(Image
the image to display on the receiver (may be null) image)Overrides org. |
| pack-priv void | |
| public void | setText(String
the new text string)Overrides org. |
| public void | setToolTipText(String
the new tool tip text (or null) string)Sets the receiver's tool tip text to the argument, which may be null indicating that the default tool tip for the control will be shown. |
| control | back to summary |
|---|---|
| pack-priv Control control | |
| cssProvider | back to summary |
|---|---|
| pack-priv long cssProvider | |
| imageHandle | back to summary |
|---|---|
| pack-priv long imageHandle | |
| labelHandle | back to summary |
|---|---|
| pack-priv long labelHandle | |
| pageHandle | back to summary |
|---|---|
| pack-priv long pageHandle | |
| parent | back to summary |
|---|---|
| pack-priv TabFolder parent | |
| toolTipText | back to summary |
|---|---|
| pack-priv String toolTipText | |
| TabItem | back to summary |
|---|---|
| public TabItem(TabFolder parent, int style) Constructs a new instance of this class given its parent
(which must be a
The style value is either one of the style constants defined in
class
| |
| TabItem | back to summary |
|---|---|
| public TabItem(TabFolder parent, int style, int index) Constructs a new instance of this class given its parent
(which must be a
The style value is either one of the style constants defined in
class
| |
| checkSubclass | back to summary |
|---|---|
| protected void checkSubclass() Overrides org. Doc from org. Checks that this class can be subclassed.
The SWT class library is intended to be subclassed
only at specific, controlled points (most notably,
Important Note By providing an implementation of this method that allows a subclass of a class which does not normally allow subclassing to be created, the implementer agrees to be fully responsible for the fact that any such subclass will likely fail between SWT releases and will be strongly platform specific. No support is provided for user-written classes which are implemented in this fashion. The ability to subclass outside of the allowed SWT classes is intended purely to enable those not on the SWT development team to implement patches in order to get around specific limitations in advance of when those limitations can be addressed by the team. Subclassing should not be attempted without an intimate and detailed understanding of the hierarchy.
| |
| createWidget | back to summary |
|---|---|
| pack-priv void createWidget(int index) Overrides org.
| |
| deregister | back to summary |
|---|---|
| pack-priv void deregister() Overrides org.
| |
| destroyWidget | back to summary |
|---|---|
| pack-priv void destroyWidget() Overrides org.
| |
| dpiChanged | back to summary |
|---|---|
| pack-priv long dpiChanged(long object, long arg0) Overrides org.
| |
| getBounds | back to summary |
|---|---|
| public Rectangle getBounds() Returns a rectangle describing the receiver's size and location relative to its parent.
| |
| getBoundsInPixels | back to summary |
|---|---|
| pack-priv Rectangle getBoundsInPixels() | |
| getControl | back to summary |
|---|---|
| public Control getControl() Returns the control that is used to fill the client area of
the tab folder when the user selects the tab item. If no
control has been set, return
| |
| getParent | back to summary |
|---|---|
| public TabFolder getParent() Returns the receiver's parent, which must be a
| |
| getToolTipText | back to summary |
|---|---|
| public String getToolTipText() Returns the receiver's tool tip text, or null if it has not been set.
| |
| gtk_css_provider_load_from_css | back to summary |
|---|---|
pack-priv void gtk_css_provider_load_from_css(long styleContext, String css)
| |
| gtk_enter_notify_event | back to summary |
|---|---|
| pack-priv long gtk_enter_notify_event(long widget, long event) Overrides org.
| |
| gtk_mnemonic_activate | back to summary |
|---|---|
| pack-priv long gtk_mnemonic_activate(long widget, long arg1) Overrides org.
| |
| hookEvents | back to summary |
|---|---|
| pack-priv void hookEvents() Overrides org.
| |
| register | back to summary |
|---|---|
| pack-priv void register() Overrides org.
| |
| release | back to summary |
|---|---|
| pack-priv void release(boolean destroy) Overrides org.
| |
| releaseHandle | back to summary |
|---|---|
| pack-priv void releaseHandle() Overrides org.
| |
| releaseParent | back to summary |
|---|---|
| pack-priv void releaseParent() Overrides org.
| |
| setControl | back to summary |
|---|---|
| public void setControl(Control control) Sets the control that is used to fill the client area of the tab folder when the user selects the tab item.
| |
| setFontDescription | back to summary |
|---|---|
| pack-priv void setFontDescription(long font) | |
| setForegroundGdkRGBA | back to summary |
|---|---|
| pack-priv void setForegroundGdkRGBA(long handle, GdkRGBA rgba) | |
| setForegroundRGBA | back to summary |
|---|---|
| pack-priv void setForegroundRGBA(GdkRGBA rgba) | |
| setImage | back to summary |
|---|---|
| public void setImage(Image image) Overrides org. Doc from org. Sets the receiver's image to the argument, which may be null indicating that no image should be displayed. | |
| setOrientation | back to summary |
|---|---|
| pack-priv void setOrientation(boolean create) Overrides org.
| |
| setText | back to summary |
|---|---|
| public void setText(String string) Overrides org. Sets the receiver's text. The string may include the mnemonic character. Mnemonics are indicated by an '&' that causes the next character to be the mnemonic. When the user presses a key sequence that matches the mnemonic, a selection event occurs. On most platforms, the mnemonic appears underlined but may be emphasised in a platform specific manner. The mnemonic indicator character '&' can be escaped by doubling it in the string, causing a single '&' to be displayed.
| |
| setToolTipText | back to summary |
|---|---|
| public void setToolTipText(String string) Sets the receiver's tool tip text to the argument, which may be null indicating that the default tool tip for the control will be shown. For a control that has a default tool tip, such as the Tree control on Windows, setting the tool tip text to an empty string replaces the default, causing no tool tip text to be shown. The mnemonic indicator (character '&') is not displayed in a tool tip. To display a single '&' in the tool tip, the character '&' can be escaped by doubling it in the string. Note This operation is a hint and behavior is platform specific, on Windows for CJK-style mnemonics of the form " (&C)" at the end of the tooltip text are not shown in tooltip.
| |