public class LabelText
extends org.eclipse.swt.widgets.Composite
Constructor and Description |
---|
LabelText(org.eclipse.swt.widgets.Composite composite,
int textStyle,
String labelText,
String toolTipText,
int middle,
int margin) |
LabelText(org.eclipse.swt.widgets.Composite composite,
String labelText,
String toolTipText) |
LabelText(org.eclipse.swt.widgets.Composite composite,
String labelText,
String toolTipText,
int middle,
int margin) |
Modifier and Type | Method and Description |
---|---|
void |
addModifyListener(org.eclipse.swt.events.ModifyListener lsMod) |
void |
addSelectionListener(org.eclipse.swt.events.SelectionListener lsDef) |
String |
getText() |
org.eclipse.swt.widgets.Text |
getTextWidget() |
void |
selectAll() |
void |
setEnabled(boolean flag) |
boolean |
setFocus() |
void |
setText(String string) |
changed, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList
computeTrim, getBorderWidth, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, 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, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
public LabelText(org.eclipse.swt.widgets.Composite composite, String labelText, String toolTipText)
public LabelText(org.eclipse.swt.widgets.Composite composite, String labelText, String toolTipText, int middle, int margin)
public String getText()
public void setText(String string)
public org.eclipse.swt.widgets.Text getTextWidget()
public void addModifyListener(org.eclipse.swt.events.ModifyListener lsMod)
public void addSelectionListener(org.eclipse.swt.events.SelectionListener lsDef)
public void setEnabled(boolean flag)
setEnabled
in class org.eclipse.swt.widgets.Control
public void selectAll()
public boolean setFocus()
setFocus
in class org.eclipse.swt.widgets.Composite