Multivalent API

multivalent.std.lens
Class Rotate

java.lang.Object
  extended by multivalent.VObject
      extended by multivalent.Behavior
          extended by multivalent.std.lens.Lens
              extended by multivalent.std.lens.Rotate
All Implemented Interfaces:
ContextListener

public class Rotate
extends Lens

Doesn't work Rotate landscape into portrait, say.

Version:
$Revision$ $Date$

Field Summary
static java.lang.String ATTR_THETA
           
 double theta_
           
 
Fields inherited from class multivalent.std.lens.Lens
ATTR_HEIGHT, ATTR_TITLE, ATTR_WIDTH, ATTR_X, ATTR_Y, VAR_SHARED_LAYER, win_
 
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
Rotate()
           
 
Method Summary
 boolean paintBefore(Context cx, Node node)
          Effect: Graphics2D transformation matrix.
 void restore(ESISNode n, java.util.Map<java.lang.String,java.lang.Object> attr, Layer layer)
          Creates corresponding VFrame, and sets title and bounds, which are available for subclasses to tweak,
 
Methods inherited from class multivalent.std.lens.Lens
appearance, close, destroy, getContentBounds, getLensMan, getPriority, paintAfter, save, semanticEventAfter, show
 
Methods inherited from class multivalent.Behavior
buildAfter, buildBefore, checkRep, clipboardAfter, clipboardBefore, createUI, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, putPreference, redo, restoreChildren, 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
 

Field Detail

ATTR_THETA

public static final java.lang.String ATTR_THETA
See Also:
Constant Field Values

theta_

public double theta_
Constructor Detail

Rotate

public Rotate()
Method Detail

paintBefore

public boolean paintBefore(Context cx,
                           Node node)
Description copied from class: Lens
Effect: Graphics2D transformation matrix.

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

restore

public void restore(ESISNode n,
                    java.util.Map<java.lang.String,java.lang.Object> attr,
                    Layer layer)
Description copied from class: Lens
Creates corresponding VFrame, and sets title and bounds, which are available for subclasses to tweak,

Overrides:
restore in class Lens

Multivalent API