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 Link icon

  • Method Details Link icon

    • getToolBar Link icon

      public ToolBar getToolBar()
      Gets the toolbar.
    • getStyledText Link icon

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

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

      public void updateStates()
      Updates all states.
    • isOK Link icon

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

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

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

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