org.gnu.gtk
Class BindingSet

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.MemStruct
          extended by org.gnu.gtk.BindingSet

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.

public class BindingSet
extends org.gnu.glib.MemStruct

Key bindings for individual widgets. TODO: Complete javadocs.


Constructor Summary
BindingSet(java.lang.String setName)
          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.
 
Method Summary
 boolean activateBindings(int 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.
 boolean activateBindings(KeySymbol keyval, ModifierType modifier)
          Deprecated.  
 boolean activateBindingSet(int 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.
 boolean activateBindingSet(KeySymbol keyval, ModifierType modifier)
          Deprecated.  
 boolean activateEvent(EventKey event)
          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.
 void addPath(PathType pathType, java.lang.String pathPattern, PathPriorityType 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.
 void clearEntry(int 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.
 void clearEntry(KeySymbol keyval, ModifierType modifier)
          Deprecated.  
static BindingSet findBindingSet(java.lang.String setName)
          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.
 void removeEntry(int 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.
 void removeEntry(KeySymbol keyval, ModifierType modifier)
          Deprecated.  
 
Methods inherited from class org.gnu.glib.MemStruct
getMemStructFromHandle
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingSet

public BindingSet(java.lang.String setName)
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
Method Detail

findBindingSet

public static BindingSet findBindingSet(java.lang.String setName)
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

activateBindings

public boolean activateBindings(int 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.

Parameters:
keyval - The key value for the BindingSet (from KeyValue).
modifier - The key modifier for the BindingSet
Since:
2.8.1

activateBindings

public boolean activateBindings(KeySymbol keyval,
                                ModifierType modifier)
Deprecated. 

Parameters:
keyval - The key value for the BindingSet.
modifier - The key modifier for the BindingSet
See Also:
activateBindings(int, ModifierType)

activateBindingSet

public boolean activateBindingSet(int 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.

Parameters:
keyval - The key value for the BindingSet.
modifier - The key modifier for the BindingSet
Since:
2.8.1

activateBindingSet

public boolean activateBindingSet(KeySymbol keyval,
                                  ModifierType modifier)
Deprecated. 

Parameters:
keyval - The key value for the BindingSet.
modifier - The key modifier for the BindingSet
See Also:
activateBindingSet(int, ModifierType)

clearEntry

public void clearEntry(int 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.

Clears a BindingSet entry.

Parameters:
keyval - The key value for the BindingSet.
modifier - The key modifier for the BindingSet
Since:
2.8.1

clearEntry

public void clearEntry(KeySymbol keyval,
                       ModifierType modifier)
Deprecated. 

Clears a BindingSet entry.

Parameters:
keyval - The key value for the BindingSet.
modifier - The key modifier for the BindingSet
See Also:
clearEntry(int, ModifierType)

addPath

public void addPath(PathType pathType,
                    java.lang.String pathPattern,
                    PathPriorityType 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.

Parameters:
pathType -
pathPattern -
priority -

activateEvent

public boolean activateEvent(EventKey event)
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.

removeEntry

public void removeEntry(int 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.

Removes an entry from the BindingSet

Parameters:
keyval -
modifier -
Since:
2.8.1

removeEntry

public void removeEntry(KeySymbol keyval,
                        ModifierType modifier)
Deprecated. 

See Also:
removeEntry(int, ModifierType)