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.span
Class ActionSpan

    java.lang.Object
      multivalent.VObject
          multivalent.Behavior
              multivalent.Span
                  multivalent.std.span.ActionSpan

All Implemented Interfaces:
  ContextListener, EventListener, java.util.EventListener

Direct Known Subclasses:
  BIUSpan, CapSpan, DeleteSpan, InsertSpan, ReplaceWithSpan, ScriptSpan

public abstract class ActionSpan
extends Span

When click on span, execute `action()`.

Version:
  $Revision: 1.4 $ $Date: 2002/02/02 13:16:25 $
See Also:
  `ScriptSpan`

Field Summary
`static java.lang.String` | `ATTR_TITLE` String to show when hovering over link.
`protected static boolean` | `inmediasres_`

Fields inherited from class multivalent.Span
`GI_END, GI_START, MSG_DELETE, MSG_EDIT, MSG_MORPH, MSG_UNATTACHED, pend, pstart`

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

Fields inherited from class multivalent.VObject
`attr_`

Fields inherited from interface multivalent.ContextListener
`LITTLE, LOT, PRIORITY_LENS, PRIORITY_MAX, PRIORITY_MIN, PRIORITY_SELECTION, PRIORITY_SPAN, PRIORITY_STRUCT, SOME`

Constructor Summary
`ActionSpan()`

Method Summary
`protected abstract boolean` | `action()` Subclasses can make `public` if desired.
`void` | `event(java.awt.AWTEvent e)` Receives synthesized `MouseEvent.MOUSE_ENTERED`, `MouseEvent.MOUSE_EXITED`, `MouseEvent.MOUSE_PRESSED`, ....
`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`.

Methods inherited from class multivalent.Span
`appearance, buildAfter, checkRep, close, closeAll, contains, contains, destroy, getEnd, getPriority, getStart, isSet, markDirty, move, move, move, moveq, moveq, moveq, moveqSwap, open, repaint, repaint, restore, save, semanticEventAfter, semanticEventBefore, stretch, toString`

Methods inherited from class multivalent.Behavior
`buildBefore, clipboardAfter, clipboardBefore, createUI, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restoreChildren, setName, 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`

Field Detail

### ATTR_TITLE

    public static final java.lang.String ATTR_TITLE

  String to show when hovering over link.

  See Also:
    Constant Field Values

### inmediasres_

    protected static boolean inmediasres_

Constructor Detail

### ActionSpan

    public ActionSpan()

Method Detail

### 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)

  Description copied from class: `Span`
  Receives synthesized `MouseEvent.MOUSE_ENTERED`, `MouseEvent.MOUSE_EXITED`, `MouseEvent.MOUSE_PRESSED`, .... For the purposes of event passing, functions more as tree node than behavior (with before/after).

  Specified by:
    `event` in interface `EventListener`
  Overrides:
    `event` in class `Span`

### action

    protected abstract boolean action()

  Subclasses can make `public` if desired. Maybe just send event instead.

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