Multivalent API

multivalent.std
Class SlideShow

java.lang.Object
  extended by multivalent.VObject
      extended by multivalent.Behavior
          extended by multivalent.std.SlideShow

public class SlideShow
extends Behavior

Full screen slide show for multipage documents. Almost get same effect by enlarging window and zooming.

Version:
$Revision: 1.6 $ $Date: 2002/06/27 05:27:40 $
See Also:
SlideShowLinks

Field Summary
static java.lang.String MSG_START
          Take over full screen play slide show.
static java.lang.String MSG_STOP
          Stop full screen slide show, returning to normal window size.
 
Fields inherited from class multivalent.Behavior
ATTR_BEHAVIOR, name_
 
Fields inherited from class multivalent.VObject
attr_
 
Constructor Summary
SlideShow()
           
 
Method Summary
 boolean eventAfter(java.awt.AWTEvent e, java.awt.Point rel, Node n)
          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 n)
          Arrow keys, escape, home/end, mouse clicks.
 boolean isActive()
           
 boolean paintAfter(Context cx, Node node)
          A tree walk protocol, called before observed node has been painted.
 boolean paintBefore(Context cx, Node node)
          A tree walk protocol, called before observed node has been painted.
 boolean semanticEventAfter(SemanticEvent se, java.lang.String msg)
          Start slide show, toggle auto, ...
 boolean semanticEventBefore(SemanticEvent se, java.lang.String msg)
          "Slide Show" in menu.
 
Methods inherited from class multivalent.Behavior
buildAfter, buildBefore, checkRep, clipboardAfter, clipboardBefore, createUI, destroy, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, putPreference, redo, restore, restoreChildren, save, 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
 

Field Detail

MSG_START

public static final java.lang.String MSG_START
Take over full screen play slide show.

"slideShow".

See Also:
Constant Field Values

MSG_STOP

public static final java.lang.String MSG_STOP
Stop full screen slide show, returning to normal window size.

"slideShow".

See Also:
Constant Field Values
Constructor Detail

SlideShow

public SlideShow()
Method Detail

isActive

public boolean isActive()

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se,
                                   java.lang.String msg)
"Slide Show" in menu.

Overrides:
semanticEventBefore in class Behavior

semanticEventAfter

public boolean semanticEventAfter(SemanticEvent se,
                                  java.lang.String msg)
Start slide show, toggle auto, ...

Overrides:
semanticEventAfter in class Behavior

paintBefore

public boolean paintBefore(Context cx,
                           Node node)
Description copied from class: Behavior
A tree walk protocol, called before observed node has been painted. Called in same coordinate space as node's painting. Can be used draw special background, but usual background setting is done by spans or style sheets.

Overrides:
paintBefore in class Behavior
Returns:
true to short-circuit to paintAfter at that node, bypassing painting of the subtree.

paintAfter

public boolean paintAfter(Context cx,
                          Node node)
Description copied from class: Behavior
A tree walk protocol, called before observed node has been painted. Called in same coordinate space as node's painting. Use to draw annotations at node's location. For instance, Search uses this to decorate the scrollbar (a type of node) with location of matches.

Overrides:
paintAfter in class Behavior

eventBefore

public boolean eventBefore(java.awt.AWTEvent e,
                           java.awt.Point rel,
                           Node n)
Arrow keys, escape, home/end, mouse clicks.

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

eventAfter

public boolean eventAfter(java.awt.AWTEvent e,
                          java.awt.Point rel,
                          Node n)
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

Multivalent API