Shadow styles are hints and may not be honored by the platform. To create a separator label with the default shadow style for the platform, do not specify a shadow style.
Note
Only one of SHADOW_IN, SHADOW_OUT and SHADOW_NONE may be specified. SHADOW_NONE is a HINT. Only one of HORIZONTAL and VERTICAL may be specified. Only one of CENTER, LEFT and RIGHT may be specified.
Important Note
This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv long | |
| pack-priv long | |
| pack-priv Image | |
| pack-priv long | |
| pack-priv long | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv static int | |
| pack-priv Point | computeNativeSize(long h, int wHint, int hHint, boolean changed)
Overrides org. |
| pack-priv Point | computeSizeInPixels(int wHint, int hHint, boolean changed)
Overrides org. |
| pack-priv void | |
| pack-priv void | |
| pack-priv long | |
| pack-priv void | |
| pack-priv long | |
| pack-priv long | |
| public int | Returns: the alignmentReturns a value which describes the position of the text or image in the receiver. |
| pack-priv int | |
| public Image | Returns: the receiver's imageReturns the receiver's image if it has one, or null if it does not. |
| pack-priv String | |
| public String | Returns: the receiver's textReturns the receiver's text, which will be an empty
string if it has never been set or if the receiver is
a |
| private void | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | setAlignment(int
the new alignment alignment)Controls how text and images will be displayed in the receiver. |
| pack-priv void | |
| pack-priv int | setBounds(int x, int y, int width, int height, boolean move, boolean resize)
Overrides org. |
| pack-priv void | |
| pack-priv void | |
| public void | |
| pack-priv void | |
| public void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv long | windowProc(long handle, long arg0, long user_data)
Overrides org. |
| boxHandle | back to summary |
|---|---|
| pack-priv long boxHandle | |
| frameHandle | back to summary |
|---|---|
| pack-priv long frameHandle | |
| image | back to summary |
|---|---|
| pack-priv Image image | |
| imageHandle | back to summary |
|---|---|
| pack-priv long imageHandle | |
| labelHandle | back to summary |
|---|---|
| pack-priv long labelHandle | |
| text | back to summary |
|---|---|
| pack-priv String text | |
| Label | back to summary |
|---|---|
| public Label(Composite parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.
The style value is either one of the style constants defined in
class
| |
| addRelation | back to summary |
|---|---|
| pack-priv void addRelation(Control control) Overrides org.
| |
| checkStyle | back to summary |
|---|---|
| pack-priv static int checkStyle(int style) | |
| computeNativeSize | back to summary |
|---|---|
| pack-priv Point computeNativeSize(long h, int wHint, int hHint, boolean changed) Overrides org.
| |
| computeSizeInPixels | back to summary |
|---|---|
| pack-priv Point computeSizeInPixels(int wHint, int hHint, boolean changed) Overrides org.
| |
| createHandle | back to summary |
|---|---|
| pack-priv void createHandle(int index) Overrides org.
| |
| createWidget | back to summary |
|---|---|
| pack-priv void createWidget(int index) Overrides org.
| |
| cssHandle | back to summary |
|---|---|
| pack-priv long cssHandle() Overrides org.
| |
| deregister | back to summary |
|---|---|
| pack-priv void deregister() Overrides org.
| |
| dpiChanged | back to summary |
|---|---|
| pack-priv long dpiChanged(long object, long arg0) Overrides org.
| |
| eventHandle | back to summary |
|---|---|
| pack-priv long eventHandle() Overrides org.
| |
| getAlignment | back to summary |
|---|---|
| public int getAlignment() Returns a value which describes the position of the
text or image in the receiver. The value will be one of
| |
| getBorderWidthInPixels | back to summary |
|---|---|
| pack-priv int getBorderWidthInPixels() Overrides org.
| |
| getImage | back to summary |
|---|---|
| public Image getImage() Returns the receiver's image if it has one, or null if it does not.
| |
| getNameText | back to summary |
|---|---|
| pack-priv String getNameText() Overrides org.
| |
| getText | back to summary |
|---|---|
| public String getText() Returns the receiver's text, which will be an empty
string if it has never been set or if the receiver is
a
| |
| gtk_label_set_align | back to summary |
|---|---|
| private void gtk_label_set_align(float xalign, float yalign) | |
| hookEvents | back to summary |
|---|---|
| pack-priv void hookEvents() Overrides org.
| |
| isDescribedByLabel | back to summary |
|---|---|
| pack-priv boolean isDescribedByLabel() Overrides org.
| |
| mnemonicHit | back to summary |
|---|---|
| pack-priv boolean mnemonicHit(char key) Overrides org.
| |
| mnemonicMatch | back to summary |
|---|---|
| pack-priv boolean mnemonicMatch(char key) Overrides org.
| |
| register | back to summary |
|---|---|
| pack-priv void register() Overrides org.
| |
| releaseHandle | back to summary |
|---|---|
| pack-priv void releaseHandle() Overrides org.
| |
| releaseWidget | back to summary |
|---|---|
| pack-priv void releaseWidget() Overrides org.
| |
| resizeHandle | back to summary |
|---|---|
| pack-priv void resizeHandle(int width, int height) Overrides org.
| |
| setAlignment | back to summary |
|---|---|
| public void setAlignment(int alignment) Controls how text and images will be displayed in the receiver.
The argument should be one of
| |
| setAlignment | back to summary |
|---|---|
| pack-priv void setAlignment() | |
| setBounds | back to summary |
|---|---|
| pack-priv int setBounds(int x, int y, int width, int height, boolean move, boolean resize) Overrides org.
| |
| setFontDescription | back to summary |
|---|---|
| pack-priv void setFontDescription(long font) Overrides org.
| |
| setForegroundGdkRGBA | back to summary |
|---|---|
| pack-priv void setForegroundGdkRGBA(GdkRGBA rgba) Overrides org.
| |
| setImage | back to summary |
|---|---|
| public void setImage(Image image) 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) Sets the receiver's text. This method sets the widget label. The label may include the mnemonic character and line delimiters. 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, focus is assigned to the control that follows the label. 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. Note If control characters like '\n', '\t' etc. are used in the string, then the behavior is platform dependent.
| |
| setWidgetBackground | back to summary |
|---|---|
| pack-priv void setWidgetBackground() Overrides org.
| |
| showWidget | back to summary |
|---|---|
| pack-priv void showWidget() Overrides org.
| |
| windowProc | back to summary |
|---|---|
| pack-priv long windowProc(long handle, long arg0, long user_data) Overrides org.
| |