|
||||||||||
| 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 |
org.eclipse.swt.widgets.Menu |
createPopupMenu()
Create popup menu. |
void |
dispose()
|
static OverlayLabel[] |
getLabelsAtPosition(org.eclipse.swt.graphics.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, getBottomMargin, getImage, getLeftMargin, getRightMargin, getStyle, getText, getToolTipText, getTopMargin, setAlignment, setBackground, setBackground, setBackground, setBackground, setBottomMargin, setFont, setImage, setLeftMargin, setMargins, setRightMargin, setText, setToolTipText, setTopMargin |
| 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, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, 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.Control |
|---|
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, getData, getData, getDisplay, getListeners, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, 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(org.eclipse.swt.graphics.Point position)
OverlayLabel at the specified position
position - the target position
public org.eclipse.swt.widgets.Menu createPopupMenu()
public void dispose()
dispose in class org.eclipse.swt.widgets.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 | |||||||||