Class StyledTextComp

  • All Implemented Interfaces:
    org.eclipse.swt.graphics.Drawable

    public class StyledTextComp
    extends org.eclipse.swt.widgets.Composite
    • Field Summary

      • Fields inherited from class org.eclipse.swt.widgets.Composite

        embeddedHandle
      • Fields inherited from class org.eclipse.swt.widgets.Widget

        handle
    • Constructor Summary

      Constructors 
      Constructor Description
      StyledTextComp​(org.pentaho.di.core.variables.VariableSpace space, org.eclipse.swt.widgets.Composite parent, int args, String strTabName)  
      StyledTextComp​(org.pentaho.di.core.variables.VariableSpace space, org.eclipse.swt.widgets.Composite parent, int args, String strTabName, boolean varsSensitive)  
      StyledTextComp​(org.pentaho.di.core.variables.VariableSpace space, org.eclipse.swt.widgets.Composite parent, int args, String strTabName, boolean varsSensitive, boolean variableIconOnTop)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class org.eclipse.swt.widgets.Composite

        changed, checkSubclass, 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, getScrollbarsMode, 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, 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
      • Methods inherited from class org.eclipse.swt.widgets.Widget

        addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
    • Constructor Detail

      • StyledTextComp

        public StyledTextComp​(org.pentaho.di.core.variables.VariableSpace space,
                              org.eclipse.swt.widgets.Composite parent,
                              int args,
                              String strTabName)
      • StyledTextComp

        public StyledTextComp​(org.pentaho.di.core.variables.VariableSpace space,
                              org.eclipse.swt.widgets.Composite parent,
                              int args,
                              String strTabName,
                              boolean varsSensitive)
      • StyledTextComp

        public StyledTextComp​(org.pentaho.di.core.variables.VariableSpace space,
                              org.eclipse.swt.widgets.Composite parent,
                              int args,
                              String strTabName,
                              boolean varsSensitive,
                              boolean variableIconOnTop)
    • Method Detail

      • getSelectionText

        public String getSelectionText()
      • getText

        public String getText()
      • setText

        public void setText​(String text)
      • getCaretOffset

        public int getCaretOffset()
      • getLineAtOffset

        public int getLineAtOffset​(int iOffset)
      • insert

        public void insert​(String strInsert)
      • addModifyListener

        public void addModifyListener​(org.eclipse.swt.events.ModifyListener lsMod)
      • addLineStyleListener

        public void addLineStyleListener​(org.eclipse.swt.custom.LineStyleListener lineStyler)
      • addKeyListener

        public void addKeyListener​(org.eclipse.swt.events.KeyAdapter keyAdapter)
      • addFocusListener

        public void addFocusListener​(org.eclipse.swt.events.FocusAdapter focusAdapter)
      • addMouseListener

        public void addMouseListener​(org.eclipse.swt.events.MouseAdapter mouseAdapter)
      • getSelectionCount

        public int getSelectionCount()
      • setSelection

        public void setSelection​(int arg0)
      • setSelection

        public void setSelection​(int arg0,
                                 int arg1)
      • setFont

        public void setFont​(org.eclipse.swt.graphics.Font fnt)
        Overrides:
        setFont in class org.eclipse.swt.widgets.Control
      • getImage

        public org.eclipse.swt.graphics.Image getImage()
        Returns the Image that the StyledText is decorated with.
        Returns:
        the Image that the StyledText is decorated with.
      • getStyledText

        public org.eclipse.swt.custom.StyledText getStyledText()
      • isEditable

        public boolean isEditable()
      • setEditable

        public void setEditable​(boolean canEdit)
      • setEnabled

        public void setEnabled​(boolean enabled)
        Overrides:
        setEnabled in class org.eclipse.swt.widgets.Control