Class ScriptEditorFactory

java.lang.Object
ca.phon.app.script.ScriptEditorFactory

public class ScriptEditorFactory extends Object
  • Constructor Details

    • ScriptEditorFactory

      public ScriptEditorFactory()
  • Method Details

    • createEditorForScript

      public static PhonScriptTextArea createEditorForScript(PhonScript script, boolean editScriptDirectly)
      Create editor for the given script.
      Parameters:
      script -
      editScriptDirectly - - if true changes made in editor will automatically apply to text of given script object. If false script object will need to be updated when user manually
      Returns:
      new editor
    • createEditorForScript

      public static PhonScriptTextArea createEditorForScript(PhonScript script)
      Create editor for the given script.
      Parameters:
      script -
      Returns:
      new editor
    • createEditorComponentForScript

      public static org.fife.ui.rtextarea.RTextScrollPane createEditorComponentForScript(PhonScript script)
      Create editor for script including appropriate scroll pane.
      Parameters:
      script -
      Returns:
    • createEditorComponentForScript

      public static org.fife.ui.rtextarea.RTextScrollPane createEditorComponentForScript(PhonScript script, boolean editScriptDirectly)
      Create editor for script including appropriate scroll pane.
      Parameters:
      script -
      Returns: