multivalent.std.ui

Class BindingsDefault

public class BindingsDefault extends Behavior implements EventListener

Event bindings that are the same across platforms, such as right arrow key moving the cursor right. Other bindings, as for Emacs and Windoze, convert their more involved bindings to an event for this, as for instance Emacs rethrows a C-y event as a KeyEvent.VK_PASTE event. Pluggable events via hub document: pan-document type mouse and keyboard events. Other modules can provide Emacs, vi, Macintosh, Windows, ...

Version: $Revision: 1.4 $ $Date: 2002/06/25 00:25:33 $

See Also: BindingsEmacs BindingsTk

Method Summary
voidbuildAfter(Document doc)
Adds self as observer on root in order catch mouse and key events.
voidevent(AWTEvent e)
booleaneventAfter(AWTEvent e, Point rel, Node obsn)
booleaneventBefore(AWTEvent e, Point rel, Node obsn)

Method Detail

buildAfter

public void buildAfter(Document doc)
Adds self as observer on root in order catch mouse and key events.

event

public void event(AWTEvent e)

eventAfter

public boolean eventAfter(AWTEvent e, Point rel, Node obsn)

eventBefore

public boolean eventBefore(AWTEvent e, Point rel, Node obsn)