Class RawTextEditorComposite

All Implemented Interfaces:
Drawable

public class RawTextEditorComposite extends Composite
Raw text editor composite, showing optional toolbar for insert text fields/images/convert format.
Author:
Christopher Mindus
  • Constructor Details

  • Method Details

    • getToolBar

      public ToolBar getToolBar()
      Gets the toolbar.
    • getStyledText

      public KStringStyledText getStyledText()
      Gets the styled text editor.
    • setFocus

      public boolean setFocus()
      Sets focus to the text area.
      Overrides:
      setFocus in class Composite
      Returns:
      true for success.
    • updateStates

      public void updateStates()
      Updates all states.
    • isOK

      public boolean isOK()
      Checks if the text is OK.
    • getError

      public IPropErrorItem getError()
      Gets the potential input error.
      Returns:
      The error, or null for no errors.
    • getKString

      public KString getKString()
      Gets the edited string.
    • setDialogMode

      public void setDialogMode()
      Sets dialog mode, i.e. Enter to go to default button in dialog, tab keys as normal.