Module tvbrowser
Package util.settings

Class ContextMenuMouseActionSetting


  • public class ContextMenuMouseActionSetting
    extends java.lang.Object
    A setting for storing information about a context menu mouse action.
    Since:
    3.3.1
    Author:
    René Mach
    • Constructor Detail

      • ContextMenuMouseActionSetting

        public ContextMenuMouseActionSetting​(int modifiersEx,
                                             java.lang.String contextMenuId,
                                             int contextMenuActionId)
        Parameters:
        modifiersEx - The keyboard modifiers for this action setting.
        contextMenuId - The id of the ContextMenuIf to use with the given modifiers.
        contextMenuActionId - The action id.
      • ContextMenuMouseActionSetting

        public ContextMenuMouseActionSetting​(java.lang.String value)
                                      throws java.lang.NullPointerException
        Parameters:
        value - The coded value for reading modifiers and context menu id.
        Throws:
        java.lang.NullPointerException - No null value accepted.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getModifiersEx

        public int getModifiersEx()
        Returns:
        The keyboard modifiersEx for this setting.
      • getContextMenuActionId

        public int getContextMenuActionId()
        Returns:
        The id of the context menu action to use.
      • getContextMenuIf

        public ContextMenuIf getContextMenuIf()
        Returns:
        The ContextMenuIf for this settings or null if there is no ContextMenuIf.