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_
|
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 |
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_
ActionSpan
public ActionSpan()
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.