Class MapCompletionAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, SyntaxAction

public class MapCompletionAction extends DefaultSyntaxAction
Completion Actions: All completions are based on a simple String to String Map.
See Also:
  • Constructor Details

    • MapCompletionAction

      public MapCompletionAction()
  • Method Details

    • actionPerformed

      public void actionPerformed(JTextComponent target, SyntaxDocument sDoc, int dot, ActionEvent e)
      Description copied from class: DefaultSyntaxAction
      Convenience method that will be called if the Action is performed on a JTextComponent. SyntaxActions should generally override this method.
      Overrides:
      actionPerformed in class DefaultSyntaxAction
      Parameters:
      target - (non-null JTextComponent from Action.getSource
      sDoc - (SyntaxDOcument of the text component, could be null)
      dot - (position of caret at text document)
      e - actual ActionEvent passed to actionPerformed
    • setCompletionsFile

      public void setCompletionsFile(String value)