Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## multivalent.std.ui
Class BindingsDefault

    java.lang.Object
      multivalent.VObject
          multivalent.Behavior
              multivalent.std.ui.BindingsDefault

All Implemented Interfaces:
  EventListener, java.util.EventListener

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`

Field Summary

Fields inherited from class multivalent.Behavior
`ATTR_BEHAVIOR, name_`

Fields inherited from class multivalent.VObject
`attr_`

Constructor Summary
`BindingsDefault()`

Method Summary
`void` | `buildAfter(Document doc)` Adds self as observer on root in order catch mouse and key events.
`void` | `event(java.awt.AWTEvent e)`
`boolean` | `eventAfter(java.awt.AWTEvent e, java.awt.Point rel, Node obsn)` During `Behavior.eventBefore(AWTEvent, Point, Node)`, the behaviors that take primary action to that event should do so, after having given other behaviors the opportunity to filter it during `eventBefore`.
`boolean` | `eventBefore(java.awt.AWTEvent e, java.awt.Point rel, Node obsn)`

Methods inherited from class multivalent.Behavior
`buildBefore, checkRep, clipboardAfter, clipboardBefore, createUI, destroy, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restore, restoreChildren, save, semanticEventAfter, semanticEventBefore, setName, toString, undo`

Methods inherited from class multivalent.VObject
`attrEntrySetIterator, attrKeysIterator, clearAttributes, getAttr, getAttr, getAttributes, getGlobal, getValue, hasAttributes, putAttr, removeAttr, setAttributes`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### BindingsDefault

    public BindingsDefault()

Method Detail

### buildAfter

    public void buildAfter(Document doc)

  Adds self as observer on root in order catch mouse and key events.

  Overrides:
    `buildAfter` in class `Behavior`

### eventBefore

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

  Overrides:
    `eventBefore` in class `Behavior`
  See Also:
    `SemanticEvent`, `AWTEvent`, `Browser`, `LensMan`

### eventAfter

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

  Description copied from class: `Behavior`
  During `Behavior.eventBefore(AWTEvent, Point, Node)`, the behaviors that take primary action to that event should do so, after having given other behaviors the opportunity to filter it during `eventBefore`.

  Overrides:
    `eventAfter` in class `Behavior`

### event

    public void event(java.awt.AWTEvent e)

  Specified by:
    `event` in interface `EventListener`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD