flatscape.glyph
Class Document

java.lang.Object
  |
  +--manifold.base.Glyph
        |
        +--flatscape.FGlyph
              |
              +--flatscape.glyph.Document
All Implemented Interfaces:
java.lang.Cloneable, Configurable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class Document
extends FGlyph

Glyph defining the document. Main funtionality is to show selected time instance. Note: If time dimension is not used, use FGlyph as implementation for documents.

Copyright (c) 2001 Rutgers, The State University of New Jersey

Since:
flatscape %Version%
Version:
%Version%, %Time%

Field Summary
protected  java.lang.String time_
           
 
Fields inherited from class flatscape.FGlyph
curInteractionPoint, DEFAULT, interactionPoints, POINTSIZE, selected_
 
Fields inherited from class manifold.base.Glyph
model_, TRANSFORM, viewer_, visible_
 
Constructor Summary
Document()
           
 
Method Summary
 void propertyChange(org.w3c.dom.Element source, java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
          Method called by a UForm which had a change of a property.
 void traverse(Traversal t)
          Support for traversal of the scenegraph.
protected  void updateProperties()
          Updates the local copies of the properties from the model.
 
Methods inherited from class flatscape.FGlyph
addInteractionPoint, children, config, constructGlyph, draw, drawSelectionBox, getAllowsChildren, getBoundingShape, getChildAt, getChildCount, getIndex, getInteractionPoint, getLimits, getParent, getTransform, getTransform, insert, isLeaf, moveInteractionPoint, pick, pickInteractionPoint, remove, remove, removeFromParent, setInteractionPoint, setModel, setParent, setSelected, setUserObject, toString, updateInteractionPoints, validTypes
 
Methods inherited from class manifold.base.Glyph
getModel, getViewer, isVisible, setViewer, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time_

protected java.lang.String time_
Constructor Detail

Document

public Document()
Method Detail

traverse

public void traverse(Traversal t)
Support for traversal of the scenegraph. Does only traverse the active time sub-tree.

Overrides:
traverse in class FGlyph
Parameters:
t - keeps the state of the traversal

propertyChange

public void propertyChange(org.w3c.dom.Element source,
                           java.lang.String name,
                           java.lang.Object oldValue,
                           java.lang.Object newValue)
Method called by a UForm which had a change of a property.

Overrides:
propertyChange in class FGlyph
Parameters:
source - the UForm which had a property change
name - the name of the property
oldValue - the old value of the property
newValue - the new value of the property

updateProperties

protected void updateProperties()
Updates the local copies of the properties from the model.

Overrides:
updateProperties in class FGlyph


Copyright (c) 2003 Rutgers, The State University of New Jersey