- java.lang.Object
-
- util.settings.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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SEPARATOR
-
Constructor Summary
Constructors Constructor Description ContextMenuMouseActionSetting(int modifiersEx, java.lang.String contextMenuId, int contextMenuActionId)
ContextMenuMouseActionSetting(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getContextMenuActionId()
ContextMenuIf
getContextMenuIf()
int
getModifiersEx()
java.lang.String
toString()
-
-
-
Field Detail
-
SEPARATOR
public static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
-
-
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
- Nonull
value accepted.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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.
-
-