Class AbstractTextEditor.IdMapEntry

  • Enclosing class:
    AbstractTextEditor

    protected static final class AbstractTextEditor.IdMapEntry
    extends java.lang.Object
    Maps an action definition id to an StyledText action.
    Since:
    2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      IdMapEntry​(java.lang.String actionId, int action)
      Creates a new mapping.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAction()
      Returns the action.
      java.lang.String getActionId()
      Returns the action id.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdMapEntry

        public IdMapEntry​(java.lang.String actionId,
                          int action)
        Creates a new mapping.
        Parameters:
        actionId - the action id
        action - the StyledText action
    • Method Detail

      • getActionId

        public java.lang.String getActionId()
        Returns the action id.
        Returns:
        the action id
      • getAction

        public int getAction()
        Returns the action.
        Returns:
        the action