org.gnu.gtk
public class BindingSet extends MemStruct
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.BindingSet
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
Constructor Summary | |
---|---|
BindingSet(String setName)
Construct a new BindingSet.
|
Method Summary | |
---|---|
boolean | activateBindings(int keyval, ModifierType modifier) |
boolean | activateBindings(KeySymbol keyval, ModifierType modifier) |
boolean | activateBindingSet(int keyval, ModifierType modifier) |
boolean | activateBindingSet(KeySymbol keyval, ModifierType modifier) |
boolean | activateEvent(EventKey event)
Looks up key bindings for this BindingSet to find one that matches
event, and if one was found, activate it.
|
void | addPath(PathType pathType, String pathPattern, PathPriorityType priority) |
void | clearEntry(int keyval, ModifierType modifier)
Clears a BindingSet entry.
|
void | clearEntry(KeySymbol keyval, ModifierType modifier)
Clears a BindingSet entry.
|
static BindingSet | findBindingSet(String setName)
Finds a BindingSet object given the name.
|
void | removeEntry(int keyval, ModifierType modifier)
Removes an entry from the BindingSet
|
void | removeEntry(KeySymbol keyval, ModifierType modifier) |
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a new BindingSet.Parameters: setName The name of the BindingSet
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Parameters: keyval The key value for the BindingSet (from KeyValue). modifier The key modifier for the BindingSet
Since: 2.8.1
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Parameters: keyval The key value for the BindingSet. modifier The key modifier for the BindingSet
See Also: BindingSet
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Parameters: keyval The key value for the BindingSet. modifier The key modifier for the BindingSet
Since: 2.8.1
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Parameters: keyval The key value for the BindingSet. modifier The key modifier for the BindingSet
See Also: BindingSet
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Looks up key bindings for this BindingSet to find one that matches event, and if one was found, activate it.Returns: TRUE if a matching key binding was found.
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Parameters: pathType pathPattern priority
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Clears a BindingSet entry.Parameters: keyval The key value for the BindingSet. modifier The key modifier for the BindingSet
Since: 2.8.1
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Clears a BindingSet entry.Parameters: keyval The key value for the BindingSet. modifier The key modifier for the BindingSet
See Also: BindingSet
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Finds a BindingSet object given the name.Parameters: setName The name of the BindingSet to find
Returns: A BindingSet object
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Removes an entry from the BindingSetParameters: keyval modifier
Since: 2.8.1
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
See Also: BindingSet