Class AbstractTextEditor.IdMapEntry

  • Enclosing class:
    AbstractTextEditor

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

      • IdMapEntry

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

      • getActionId

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

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