public class StyledTextComp
extends org.eclipse.swt.widgets.Composite
Constructor and Description |
---|
StyledTextComp(VariableSpace space,
org.eclipse.swt.widgets.Composite parent,
int args,
String strTabName) |
StyledTextComp(VariableSpace space,
org.eclipse.swt.widgets.Composite parent,
int args,
String strTabName,
boolean varsSensitive) |
StyledTextComp(VariableSpace space,
org.eclipse.swt.widgets.Composite parent,
int args,
String strTabName,
boolean varsSensitive,
boolean variableIconOnTop) |
Modifier and Type | Method and Description |
---|---|
void |
addFocusListener(org.eclipse.swt.events.FocusAdapter focusAdapter) |
void |
addKeyListener(org.eclipse.swt.events.KeyAdapter keyAdapter) |
void |
addLineStyleListener(org.eclipse.swt.custom.LineStyleListener lineStyler) |
void |
addModifyListener(org.eclipse.swt.events.ModifyListener lsMod) |
void |
addMouseListener(org.eclipse.swt.events.MouseAdapter mouseAdapter) |
int |
getCaretOffset() |
org.eclipse.swt.graphics.Image |
getImage()
Returns the
Image that the StyledText is decorated with. |
int |
getLineAtOffset(int iOffset) |
int |
getSelectionCount() |
String |
getSelectionText() |
org.eclipse.swt.custom.StyledText |
getStyledText() |
String |
getText() |
void |
insert(String strInsert) |
boolean |
isEditable() |
void |
setEditable(boolean canEdit) |
void |
setEnabled(boolean enabled) |
void |
setFont(org.eclipse.swt.graphics.Font fnt) |
void |
setSelection(int arg0) |
void |
setSelection(int arg0,
int arg1) |
void |
setText(String text) |
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, 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, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
public StyledTextComp(VariableSpace space, org.eclipse.swt.widgets.Composite parent, int args, String strTabName)
public StyledTextComp(VariableSpace space, org.eclipse.swt.widgets.Composite parent, int args, String strTabName, boolean varsSensitive)
public StyledTextComp(VariableSpace space, org.eclipse.swt.widgets.Composite parent, int args, String strTabName, boolean varsSensitive, boolean variableIconOnTop)
public String getSelectionText()
public String getText()
public void setText(String text)
public int getCaretOffset()
public int getLineAtOffset(int iOffset)
public void insert(String strInsert)
public void addModifyListener(org.eclipse.swt.events.ModifyListener lsMod)
public void addLineStyleListener(org.eclipse.swt.custom.LineStyleListener lineStyler)
public void addKeyListener(org.eclipse.swt.events.KeyAdapter keyAdapter)
public void addFocusListener(org.eclipse.swt.events.FocusAdapter focusAdapter)
public void addMouseListener(org.eclipse.swt.events.MouseAdapter mouseAdapter)
public int getSelectionCount()
public void setSelection(int arg0)
public void setSelection(int arg0, int arg1)
public void setFont(org.eclipse.swt.graphics.Font fnt)
setFont
in class org.eclipse.swt.widgets.Control
public org.eclipse.swt.graphics.Image getImage()
Image
that the StyledText
is decorated with.Image
that the StyledText
is decorated with.public org.eclipse.swt.custom.StyledText getStyledText()
public boolean isEditable()
public void setEditable(boolean canEdit)
public void setEnabled(boolean enabled)
setEnabled
in class org.eclipse.swt.widgets.Control
Copyright © 2019 Hitachi Vantara. All rights reserved.