Note
Only one of the styles ICON_ERROR, ICON_INFORMATION, and ICON_WARNING may be specified.
Important Note
This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv static final int | |
| pack-priv int[] | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv TrayItem | |
| pack-priv long | |
| pack-priv long | |
| pack-priv String | |
| pack-priv static final int | |
| pack-priv Shell | |
| pack-priv long | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv int | |
| pack-priv static final int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addSelectionListener(SelectionListener
the listener which should be notified when the receiver is selected by the user listener)Adds the listener to the collection of listeners who will
be notified when the receiver is selected by the user, by sending
it one of the messages defined in the |
| pack-priv static int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public boolean | Returns: the receiver's auto hide stateReturns |
| pack-priv Point | |
| public String | Returns: the receiver's messageReturns the receiver's message, which will be an empty string if it has never been set. |
| pack-priv String | |
| public Shell | |
| pack-priv Point | |
| public String | Returns: the receiver's textReturns the receiver's text, which will be an empty string if it has never been set. |
| public boolean | Returns: the receiver's visibility stateReturns |
| pack-priv long | gtk_button_press_event(long widget, long event)
Overrides org. |
| pack-priv void | |
| pack-priv long | |
| pack-priv long | gtk_size_allocate(long widget, long allocation)
|
| pack-priv void | |
| public boolean | Returns: the receiver's visibility stateReturns |
| pack-priv void | |
| public void | removeSelectionListener(SelectionListener
the listener which should no longer be notified listener)Removes the listener from the collection of listeners who will be notified when the receiver is selected by the user. |
| public void | setAutoHide(boolean
the auto hide state autoHide)Makes the receiver hide automatically when |
| public void | setLocation(int
the new x coordinate for the receiver x, int the new y coordinate for the receiver y)Sets the location of the receiver, which must be a tooltip, to the point specified by the arguments which are relative to the display. |
| public void | setLocation(Point
the new location for the receiver location)Sets the location of the receiver, which must be a tooltip, to the point specified by the argument which is relative to the display. |
| pack-priv void | |
| pack-priv void | |
| public void | |
| public void | |
| public void | setVisible(boolean
the new visibility state visible)Marks the receiver as visible if the argument is |
| pack-priv long |
| autohide | back to summary |
|---|---|
| pack-priv boolean autohide | |
| BORDER | back to summary |
|---|---|
| pack-priv static final int BORDER | |
| borderPolygon | back to summary |
|---|---|
| pack-priv int[] borderPolygon | |
| DELAY | back to summary |
|---|---|
| pack-priv static final int DELAY | |
| IMAGE_SIZE | back to summary |
|---|---|
| pack-priv static final int IMAGE_SIZE | |
| INSET | back to summary |
|---|---|
| pack-priv static final int INSET | |
| item | back to summary |
|---|---|
| pack-priv TrayItem item | |
| layoutMessage | back to summary |
|---|---|
| pack-priv long layoutMessage | |
| layoutText | back to summary |
|---|---|
| pack-priv long layoutText | |
| message | back to summary |
|---|---|
| pack-priv String message | |
| PADDING | back to summary |
|---|---|
| pack-priv static final int PADDING | |
| parent | back to summary |
|---|---|
| pack-priv Shell parent | |
| provider | back to summary |
|---|---|
| pack-priv long provider | |
| spikeAbove | back to summary |
|---|---|
| pack-priv boolean spikeAbove | |
| text | back to summary |
|---|---|
| pack-priv String text | |
| timerId | back to summary |
|---|---|
| pack-priv int timerId | |
| TIP_HEIGHT | back to summary |
|---|---|
| pack-priv static final int TIP_HEIGHT | |
| x | back to summary |
|---|---|
| pack-priv int x | |
| y | back to summary |
|---|---|
| pack-priv int y | |
| ToolTip | back to summary |
|---|---|
| public ToolTip(Shell 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
| |
| addSelectionListener | back to summary |
|---|---|
| public void addSelectionListener(SelectionListener listener) Adds the listener to the collection of listeners who will
be notified when the receiver is selected by the user, by sending
it one of the messages defined in the
| |
| checkStyle | back to summary |
|---|---|
| pack-priv static int checkStyle(int style) | |
| configure | back to summary |
|---|---|
| pack-priv void configure() | |
| createHandle | back to summary |
|---|---|
| pack-priv void createHandle(int index) Overrides org.
| |
| createWidget | back to summary |
|---|---|
| pack-priv void createWidget(int index) Overrides org.
| |
| destroyWidget | back to summary |
|---|---|
| pack-priv void destroyWidget() Overrides org.
| |
| drawTooltip | back to summary |
|---|---|
| pack-priv void drawTooltip(long cairo) | |
| getAutoHide | back to summary |
|---|---|
| public boolean getAutoHide() Returns
| |
| getLocation | back to summary |
|---|---|
| pack-priv Point getLocation() | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Returns the receiver's message, which will be an empty string if it has never been set.
| |
| getNameText | back to summary |
|---|---|
| pack-priv String getNameText() Overrides org.
| |
| getParent | back to summary |
|---|---|
| public Shell getParent() Returns the receiver's parent, which must be a
| |
| getSize | back to summary |
|---|---|
| pack-priv Point getSize(int maxWidth) | |
| getText | back to summary |
|---|---|
| public String getText() Returns the receiver's text, which will be an empty string if it has never been set.
| |
| getVisible | back to summary |
|---|---|
| public boolean getVisible() Returns If one of the receiver's ancestors is not visible or some other condition makes the receiver not visible, this method may still indicate that it is considered visible even though it may not actually be showing.
| |
| gtk_button_press_event | back to summary |
|---|---|
| pack-priv long gtk_button_press_event(long widget, long event) Overrides org.
| |
| gtk_css_provider_load_from_css | back to summary |
|---|---|
| pack-priv void gtk_css_provider_load_from_css(long context, String css) | |
| gtk_draw | back to summary |
|---|---|
| pack-priv long gtk_draw(long widget, long cairo) Overrides org.
| |
| gtk_size_allocate | back to summary |
|---|---|
| pack-priv long gtk_size_allocate(long widget, long allocation) Overrides org.
| |
| hookEvents | back to summary |
|---|---|
| pack-priv void hookEvents() Overrides org.
| |
| isVisible | back to summary |
|---|---|
| public boolean isVisible() Returns
| |
| releaseWidget | back to summary |
|---|---|
| pack-priv void releaseWidget() Overrides org.
| |
| removeSelectionListener | back to summary |
|---|---|
| public void removeSelectionListener(SelectionListener listener) Removes the listener from the collection of listeners who will be notified when the receiver is selected by the user.
| |
| setAutoHide | back to summary |
|---|---|
| public void setAutoHide(boolean autoHide) Makes the receiver hide automatically when
| |
| setLocation | back to summary |
|---|---|
| public void setLocation(int x, int y) Sets the location of the receiver, which must be a tooltip, to the point specified by the arguments which are relative to the display. Note that this is different from most widgets where the location of the widget is relative to the parent.
| |
| setLocation | back to summary |
|---|---|
| public void setLocation(Point location) Sets the location of the receiver, which must be a tooltip, to the point specified by the argument which is relative to the display. Note that this is different from most widgets where the location of the widget is relative to the parent. Note that the platform window manager ultimately has control over the location of tooltips.
| |
| setLocationInPixels | back to summary |
|---|---|
| pack-priv void setLocationInPixels(int x, int y) | |
| setLocationInPixels | back to summary |
|---|---|
| pack-priv void setLocationInPixels(Point location) | |
| setMessage | back to summary |
|---|---|
| public void setMessage(String string) Sets the receiver's message.
| |
| setText | back to summary |
|---|---|
| public void setText(String string) Sets the receiver's text.
| |
| setVisible | back to summary |
|---|---|
| public void setVisible(boolean visible) Marks the receiver as visible if the argument is If one of the receiver's ancestors is not visible or some other condition makes the receiver not visible, marking it visible may not actually cause it to be displayed.
| |
| timerProc | back to summary |
|---|---|
| pack-priv long timerProc(long widget) Overrides org.
| |