Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.keybindings
Enum KeybindingSet.Category

java.lang.Object
  extended by java.lang.Enum<KeybindingSet.Category>
      extended by net.java.sip.communicator.service.keybindings.KeybindingSet.Category
All Implemented Interfaces:
Serializable, Comparable<KeybindingSet.Category>
Enclosing class:
KeybindingSet

public static enum KeybindingSet.Category
extends Enum<KeybindingSet.Category>

Keybinding sets available in the Sip Communicator.


Enum Constant Summary
CHAT
           
MAIN
           
 
Method Summary
 Persistence getFormat()
          Provides the format used to save and load keybinding resources.
 String getResource()
          Provides the name keybindings are saved and loaded with.
static KeybindingSet.Category valueOf(String name)
          Returns the enum constant of this type with the specified name.
static KeybindingSet.Category[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHAT

public static final KeybindingSet.Category CHAT

MAIN

public static final KeybindingSet.Category MAIN
Method Detail

values

public static KeybindingSet.Category[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (KeybindingSet.Category c : KeybindingSet.Category.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static KeybindingSet.Category valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getResource

public String getResource()
Provides the name keybindings are saved and loaded with.

Returns:
filename used for keybindings

getFormat

public Persistence getFormat()
Provides the format used to save and load keybinding resources.

Returns:
style of persistence used by keybindings

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.