|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.swt.custom.CLabel
org.eclipse.actf.util.win32.OverlayLabel
public class OverlayLabel
OverlayLabel is used to show some information on the application windows.
| Field Summary | |
|---|---|
Object |
associatedObject
|
| Fields inherited from class org.eclipse.swt.widgets.Control |
|---|
handle |
| Method Summary | |
|---|---|
static OverlayLabel |
create(Object associatedObject)
Create overlay label |
Menu |
createPopupMenu()
Create popup menu. |
void |
dispose()
|
static OverlayLabel[] |
getLabelsAtPosition(Point position)
Get all OverlayLabel at the specified position |
String |
getMenuText()
|
static String |
getOwnerId()
|
static void |
removeAll()
Remove all label from the overlay window for overlay labels. |
static void |
removeAll(boolean force)
Remove all label from the overlay window for overlay labels. |
static void |
setOwnerId(String id)
Set ID of the owner view. |
void |
setTooltop(String text,
String[][] properties)
Set the tooltip text of the label. |
| Methods inherited from class org.eclipse.swt.custom.CLabel |
|---|
computeSize, getAlignment, getImage, getStyle, getText, getToolTipText, setAlignment, setBackground, setBackground, setBackground, setBackground, setFont, setImage, setText, setToolTipText |
| Methods inherited from class org.eclipse.swt.widgets.Canvas |
|---|
drawBackground, getCaret, getIME, scroll, setCaret, setIME |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
|---|
changed, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
|---|
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, getData, getData, getDisplay, getListeners, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, setData, setData, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Object associatedObject
| Method Detail |
|---|
public static void removeAll()
public static void removeAll(boolean force)
force - whether remove without synchronize or not.public static OverlayLabel create(Object associatedObject)
associatedObject - the content of the label.
public static OverlayLabel[] getLabelsAtPosition(Point position)
OverlayLabel at the specified position
position - the target position
public Menu createPopupMenu()
public void dispose()
dispose in class Widgetpublic static String getOwnerId()
public static void setOwnerId(String id)
the - id of the owner view.
public void setTooltop(String text,
String[][] properties)
text - the tooltip textproperties - the set of property names and values. [0]=name, [1]=value.public String getMenuText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||