org.pentaho.di.ui.core.widget
Class StyledTextComp

java.lang.Object
  extended by Composite
      extended by org.pentaho.di.ui.core.widget.StyledTextComp

public class StyledTextComp
extends Composite


Constructor Summary
StyledTextComp(VariableSpace space, Composite parent, int args, String strTabName)
           
StyledTextComp(VariableSpace space, Composite parent, int args, String strTabName, boolean varsSensitive)
           
 
Method Summary
 void addFocusListener(FocusAdapter focusAdapter)
           
 void addKeyListener(KeyAdapter keyAdapter)
           
 void addLineStyleListener(LineStyleListener lineStyler)
           
 void addModifyListener(ModifyListener lsMod)
           
 void addMouseListener(MouseAdapter mouseAdapter)
           
 int getCaretOffset()
           
 int getLineAtOffset(int iOffset)
           
 int getSelectionCount()
           
 String getSelectionText()
           
 StyledText getStyledText()
           
 String getText()
           
 void insert(String strInsert)
           
 void setFont(Font fnt)
           
 void setSelection(int arg0)
           
 void setSelection(int arg0, int arg1)
           
 void setText(String text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyledTextComp

public StyledTextComp(VariableSpace space,
                      Composite parent,
                      int args,
                      String strTabName)

StyledTextComp

public StyledTextComp(VariableSpace space,
                      Composite parent,
                      int args,
                      String strTabName,
                      boolean varsSensitive)
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(ModifyListener lsMod)

addLineStyleListener

public void addLineStyleListener(LineStyleListener lineStyler)

addKeyListener

public void addKeyListener(KeyAdapter keyAdapter)

addFocusListener

public void addFocusListener(FocusAdapter focusAdapter)

addMouseListener

public void addMouseListener(MouseAdapter mouseAdapter)

getSelectionCount

public int getSelectionCount()

setSelection

public void setSelection(int arg0)

setSelection

public void setSelection(int arg0,
                         int arg1)

setFont

public void setFont(Font fnt)

getStyledText

public StyledText getStyledText()