|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.plugin.keybindingchooser.globalchooser.GlobalShortcutEntry
public class GlobalShortcutEntry
Entry for a global shortcut.
| Constructor Summary | |
|---|---|
GlobalShortcutEntry(String action,
List<AWTKeyStroke> shortcuts)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Checks if argument is an instance of this class with the same shortcut and associated action. |
String |
getAction()
Returns action string. |
boolean |
getEditShortcut1()
Get editable for primary shortcut. |
boolean |
getEditShortcut2()
Get editable for secondary shortcut. |
AWTKeyStroke |
getShortcut()
Returns primary shortcut if it exists. |
AWTKeyStroke |
getShortcut2()
Returns second shortcut if it exists. |
static String |
getShortcutText(AWTKeyStroke shortcut)
Set the shortcut keystroke and field. |
int |
hashCode()
Returns hashcode for this instance. |
boolean |
isDisabled()
If this global keybindings is disabled. |
void |
setAction(String action)
Set action string |
void |
setEditShortcut1(boolean value)
Set editable for primary shortcut. |
void |
setEditShortcut2(boolean value)
Set editable for secondary shortcut. |
void |
setShortcuts(List<AWTKeyStroke> shortcuts)
Set the shortcuts for this action. |
String |
toString()
Provides the string representation of this mapping. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalShortcutEntry(String action,
List<AWTKeyStroke> shortcuts)
action - actionshortcuts - list of shortcut for this action| Method Detail |
|---|
public AWTKeyStroke getShortcut()
public AWTKeyStroke getShortcut2()
public static String getShortcutText(AWTKeyStroke shortcut)
shortcut - AWTKeyStroke
public void setShortcuts(List<AWTKeyStroke> shortcuts)
shortcuts - list of shortcutspublic String getAction()
public void setAction(String action)
action - actionpublic boolean isDisabled()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectobj - element with which to be compared
public void setEditShortcut1(boolean value)
value - value to setpublic void setEditShortcut2(boolean value)
value - value to setpublic boolean getEditShortcut1()
public boolean getEditShortcut2()
public int hashCode()
hashCode in class Object
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||