< A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

<

() - Static method in class diva.util.aelfred.XmlParser
 

A

AbstractApplication - class diva.gui.AbstractApplication.
An abstract implementation of the Application interface.
AbstractApplication(AppContext) - Constructor for class diva.gui.AbstractApplication
Create an abstract application that resides in the given context (e.g.
AbstractConnector - class diva.canvas.connector.AbstractConnector.
An abstract implementation of Connector.
AbstractConnector(Site, Site) - Constructor for class diva.canvas.connector.AbstractConnector
Create a new connector between the given sites.
AbstractConnectorTarget - class diva.canvas.connector.AbstractConnectorTarget.
An abstract implementation of the ConnectorTarget interface.
AbstractConnectorTarget() - Constructor for class diva.canvas.connector.AbstractConnectorTarget
 
AbstractDocument - class diva.gui.AbstractDocument.
An abstract implementation of the Document interface.
AbstractDocument(Application) - Constructor for class diva.gui.AbstractDocument
Construct a document that is owned by the given application
AbstractFigure - class diva.canvas.AbstractFigure.
AbstractFigure is an abstract superclass implementing the Figure interface.
AbstractFigure() - Constructor for class diva.canvas.AbstractFigure
 
AbstractFigureContainer - class diva.canvas.AbstractFigureContainer.
AbstractFigureContainer is an abstract class that roots the tree of figure-containing classes.
AbstractFigureContainer() - Constructor for class diva.canvas.AbstractFigureContainer
 
AbstractGlobalLayout - class diva.graph.layout.AbstractGlobalLayout.
An abstract implementation of the GlobalLayout interface.
AbstractGlobalLayout(LayoutTarget) - Constructor for class diva.graph.layout.AbstractGlobalLayout
Create a new global layout that uses the given layout target.
AbstractGraphModel - class diva.graph.AbstractGraphModel.
An abstract implementation of the GraphModel interface that provides the basic event notification system
AbstractGraphModel() - Constructor for class diva.graph.AbstractGraphModel
 
AbstractInteractor - class diva.canvas.interactor.AbstractInteractor.
An abstract class that implements Interactor.
AbstractInteractor() - Constructor for class diva.canvas.interactor.AbstractInteractor
 
AbstractPaintedGraphic - class diva.util.java2d.AbstractPaintedGraphic.
An abstract implementation of the PaintedGraphic interface.
AbstractPaintedGraphic() - Constructor for class diva.util.java2d.AbstractPaintedGraphic
 
AbstractRule - class diva.sketch.parser2d.AbstractRule.
A parse rule implementation that matches the RHS of a production and generates the LHS.
AbstractRule(String, String, String) - Constructor for class diva.sketch.parser2d.AbstractRule
A utility constructor which simply takes strings with single words separated by whitespace, separates these strings into arrays, and calls the standard array constructor.
AbstractRule(Type, String[], Type[]) - Constructor for class diva.sketch.parser2d.AbstractRule
Construct a new basic rule with the given LHS and RHS structure.
AbstractSite - class diva.canvas.AbstractSite.
An abstract implementation of Site.
AbstractSite() - Constructor for class diva.canvas.AbstractSite
 
AbstractStoragePolicy - class diva.gui.AbstractStoragePolicy.
It is nice if storage policies suggest good pathnames.
AbstractStoragePolicy() - Constructor for class diva.gui.AbstractStoragePolicy
 
AbstractView - class diva.gui.AbstractView.
An abstract implementation of the View interface that consists of mostly empty methods to be filled in by concrete subclasses.
AbstractView(Document) - Constructor for class diva.gui.AbstractView
Construct a view of the given document.
ACCELERATOR_KEY - Static variable in class diva.gui.GUIUtilities
JDK1.2 doesn't have this string defined in javax.swing.Action.
accept(File) - Method in class diva.gui.ExtensionFileFilter
Return true if this file should be shown in the directory pane, false if it shouldn't.
accept(LayerEvent) - Method in class diva.canvas.interactor.AbstractInteractor
Test if the interactor accepts the given event.
accept(LayerEvent) - Method in class diva.canvas.interactor.CompositeInteractor
Accept an event if any attached interactor will accept it.
accept(LayerEvent) - Method in interface diva.canvas.interactor.Interactor
Test is the interactor is prepared to accept this event.
accept(LayerEvent) - Method in class diva.canvas.interactor.SelectionInteractor
Accept an event if it will be accepted by the selection filters.
accept(MouseEvent) - Method in class diva.canvas.event.MouseFilter
Test whether the given MouseEvent passes the filter.
accept(Object) - Method in class diva.util.AndFilter
 
accept(Object) - Method in interface diva.util.Filter
Test if an object passes the filter, returning true if it does and false if it does not.
accept(Object) - Method in class diva.util.NotFilter
 
accept(Object) - Method in class diva.util.OrFilter
 
acceptHead(Connector, Figure) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return true if the given connector can be connected to the given figure.
acceptHead(Node) - Method in interface diva.graph.modular.Edge
Return whether or not the given node is a valid head of this edge.
acceptHead(Object, Object) - Method in interface diva.graph.MutableGraphModel
Return true if the head of the given edge can be attached to the given node.
acceptHead(Object, Object) - Method in class diva.graph.modular.MutableModularGraphModel
Return true if the head of the given edge can be attached to the given node.
acceptHead(Object, Object) - Method in interface diva.graph.modular.MutableEdgeModel
Return whether or not the given node is a valid head of this edge.
acceptHead(Object, Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel
Return true if the head of the given edge can be attached to the given node.
acceptHead(Object, Object) - Method in class diva.graph.schematic.SchematicGraphModel
Return true if the head of the given edge can be attached to the given node.
acceptTail(Connector, Figure) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return true if the given connector can be connected to the given figure.
acceptTail(Node) - Method in interface diva.graph.modular.Edge
Return whether or not the given node is a valid tail of this edge.
acceptTail(Object, Object) - Method in interface diva.graph.MutableGraphModel
Return true if the tail of the given edge can be attached to the given node.
acceptTail(Object, Object) - Method in class diva.graph.modular.MutableModularGraphModel
Return true if the tail of the given edge can be attached to the given node.
acceptTail(Object, Object) - Method in interface diva.graph.modular.MutableEdgeModel
Return whether or not the given node is a valid tail of this edge.
acceptTail(Object, Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel
Return true if the tail of the given edge can be attached to the given node.
acceptTail(Object, Object) - Method in class diva.graph.schematic.SchematicGraphModel
Return true if the tail of the given edge can be attached to the given node.
ACTION - Static variable in class diva.sketch.toolbox.ModedIncrRecognizer
The recognizer has recognized the gesture as the signal and is processing incoming events as an indicators to perform the specified action.
ActionInteractor - class diva.canvas.interactor.ActionInteractor.
An interactor that fires an Action when a mouse pressed event occurs.
ActionInteractor() - Constructor for class diva.canvas.interactor.ActionInteractor
Create a new interactor that will throw a NullPointerException when a mouse button is pressed.
ActionInteractor(Action) - Constructor for class diva.canvas.interactor.ActionInteractor
Create a new interactor that will activate the given action.
actionPerformed(ActionEvent) - Method in class diva.graph.toolbox.DeletionListener
Delete any nodes or edges from the graph that are currently selected.
actions() - Method in class diva.gui.AbstractApplication
Get an iterator over the names of the actions that are contained by this application.
actions() - Method in interface diva.gui.Application
Get an iterator over the names of the actions that are contained by this application.
add(Action, String) - Method in class diva.gui.toolbox.JContextMenu
Add an action to this menu and return the menu item created.
add(Action, String, String, boolean) - Method in class diva.gui.toolbox.JContextMenu
Add an action to the given menu and return the menu item created.
add(Figure) - Method in interface diva.canvas.ZList
Add a figure to the list.
add(Figure) - Method in class diva.canvas.BasicZList
Add a figure to the container.
add(Figure) - Method in class diva.canvas.CompositeFigure
Add a child figure to this composite.
add(Figure) - Method in class diva.canvas.FigureLayer
Add a figure to the layer.
add(GraphListener) - Method in class diva.graph.toolbox.GraphEventMulticaster
Add the given listener to the list of listeners.
add(int, Figure) - Method in interface diva.canvas.ZList
Insert a figure at the given position.
add(int, Figure) - Method in class diva.canvas.BasicZList
Insert a figure at the given position.
add(int, Figure) - Method in class diva.canvas.CompositeFigure
Insert a figure at the given position.
add(int, Figure) - Method in class diva.canvas.FigureLayer
Insert a figure into the layer at the given position.
add(LayerListener, LayerListener) - Static method in class diva.canvas.event.LayerEventMulticaster
Adds layer-listener-a with layer-listener-b and returns the resulting multicast listener.
add(LayerMotionListener, LayerMotionListener) - Static method in class diva.canvas.event.LayerEventMulticaster
Adds layer-motion-listener-a with layer-motion-listener-b and returns the resulting multicast listener.
add(PaintedObject) - Method in class diva.canvas.toolbox.PaintedFigure
Add a new painted object to the objects displayed by this figure.
add(PaintedObject) - Method in class diva.util.java2d.PaintedList
Add a new element to the list.
add(PropertyChangeListener) - Method in class diva.util.PropertyChangeMulticaster
Add the given listener to the list of listeners.
add(Shape) - Method in class diva.canvas.OverlayLayer
Add a new shape to the list of shapes in this layer
addAction(Action) - Method in class diva.gui.AbstractApplication
Add an action to the table of actions.
addAction(Action) - Method in interface diva.gui.Application
Add an action to the table of actions.
addActionListener(ActionListener) - Method in class diva.gui.toolbox.JPseudoFrame
Add an action listener
addAll(SceneDeltaSet) - Method in class diva.sketch.recognition.SceneDeltaSet
Add all of the deltas from the given delta set to this delta set in sorted order from highest to lowest confidence.
addAllowedType(String) - Method in class diva.sketch.toolbox.RetypingRecognizer
Add a type that is allowed through by this filter recognizer.
addAllowedType(String, String) - Method in class diva.sketch.toolbox.RetypingRecognizer
Add a type that is allowed through by this filter recognizer.
addClickListener(Interactor) - Method in class diva.sketch.BasicInterpreter
Add a listener of clicks.
addComposite(TypedData, double, SceneElement[], String[]) - Method in class diva.sketch.recognition.BasicScene
Add a new composite element to the database and return it.
addComposite(TypedData, double, SceneElement[], String[]) - Method in interface diva.sketch.recognition.Scene
Add a new composite element to the database and return it.
addConnectorListener(ConnectorListener) - Method in class diva.canvas.connector.ConnectorInteractor
Add a connector listener.
addConnectorListener(ConnectorListener) - Method in class diva.canvas.connector.ConnectorManipulator
Add a connector listener to the interactor that is attached to grab-handles.
addConstraint(RelationConstraint) - Method in class diva.sketch.parser2d.AndConstraint
Add another child constraint to the test.
addConstraint(RelationConstraint) - Method in class diva.sketch.parser2d.OrConstraint
Add another child constraint to the test.
addContentPane(String, JComponent) - Method in class diva.gui.DesktopContext
Add a content pane to this frame.
addContentPane(String, JComponent) - Method in interface diva.gui.MDIContext
Add a new content pane to this frame.
addDecorator(Class, FigureDecorator) - Method in class diva.canvas.toolbox.TypedDecorator
Add a decorator which is duplicated when an object of the given class is passed to the newInstance() method.
addDelta(SceneDelta) - Method in class diva.sketch.recognition.SceneDeltaSet
Add a scene delta to this set in sorted order of confidence from highest to lowest.
addDocument(Document) - Method in class diva.gui.AbstractApplication
Add a document to the list of documents currently known by this application.
addDocument(Document) - Method in interface diva.gui.Application
Add a document to the application and notify document listeners.
addDocument(Document) - Method in class diva.whiteboard.Whiteboard
 
addDocumentListener(ListDataListener) - Method in class diva.gui.AbstractApplication
Add a document listener to this application.
addDocumentListener(ListDataListener) - Method in interface diva.gui.Application
Add a document listener to this application.
addDropKey(String, Object) - Method in class diva.graph.schematic.GraphDropTarget
Add a key to the drop target so that when they key is dropped the figure will be cloned and placed as a node in the graph.
addEdge(Object, Object, int, double, double) - Method in class diva.graph.GraphController
Add an edge to this graph editor and render it from the given tail node to an autonomous site at the given location.
addEdge(Object, Object, int, double, double) - Method in class diva.graph.EdgeController
Add an edge to this graph editor and render it from the given tail node to an autonomous site at the given location.
addEdge(Object, Object, Object) - Method in class diva.graph.GraphController
Add an edge to this graph between the given tail and head nodes.
addEdge(Object, Object, Object) - Method in class diva.graph.EdgeController
Add an edge to this graph between the given tail and head nodes.
addElement(XmlElement) - Method in class diva.util.xml.XmlElement
Add a child element to this element.
addEntry(String, String, Icon, JComponent) - Method in class diva.gui.toolbox.JTreePane
Adds a component represented by a title and/or icon, either of which can be null.
addEntry(String, String, Icon, JComponent, String) - Method in class diva.gui.toolbox.JTreePane
Adds a component and tooltip represented by a title and/or icon, either of which can be null.
addEntry(String, String, JComponent) - Method in class diva.gui.toolbox.JTreePane
Adds a component represented by a title button with no icon.
addExample(FeatureSet) - Method in class diva.sketch.classification.WeightSet
Add an example to this classifier.
addExample(String, FeatureSet, int) - Method in class diva.sketch.classification.TrainingSet
Add a example to this training set for the given type (either positive or negative, denoted by the "which" argument).
addExample(String, TimedStroke, boolean) - Method in class diva.sketch.recognition.TrainingModel
Add an example to this training model for the given type (either positive or negative, denoted by the "which" argument).
addExtension(String) - Method in class diva.gui.ExtensionFileFilter
Adds a filetype "dot" extension to filter against.
addGrabHandle(GrabHandle) - Method in class diva.canvas.interactor.Manipulator
Add a grab-handle to this manipulator's collection of grab-handles.
addGraphListener(GraphListener) - Method in class diva.graph.AbstractGraphModel
Add a graph listener to the model.
addGraphListener(GraphListener) - Method in interface diva.graph.GraphModel
Add a graph listener to the model.
addGraphViewListener(GraphViewListener) - Method in class diva.graph.GraphController
 
addHoldListener(Interactor) - Method in class diva.sketch.BasicInterpreter
Add a listener of hold invokations.
addHotKey(JComponent, Action) - Static method in class diva.gui.GUIUtilities
Add a quick keystroke on the given pane for the given action.
addHotKey(JComponent, Action, KeyStroke) - Static method in class diva.gui.GUIUtilities
Add a quick keystroke on the given pane for the given action.
addIcon(Icon, String) - Method in class diva.gui.toolbox.JPalette
Add an icon to the palette, that is associated with the
addInteractor(Interactor) - Method in class diva.canvas.event.EventLayer
Add an interactor to this interactor.
addInteractor(Interactor) - Method in class diva.canvas.interactor.CompositeInteractor
Add an interactor to this interactor.
addInternal(EventListener, EventListener) - Static method in class diva.canvas.event.LayerEventMulticaster
Returns the resulting multicast listener from adding listener-a and listener-b together.
addLayer(CanvasLayer) - Method in class diva.canvas.toolbox.BasicCanvasPane
Add the given layer to the list of layers.
addLayer(int, CanvasLayer) - Method in class diva.canvas.toolbox.BasicCanvasPane
Insert the given layer into the list of layers at the given index.
addLayerListener(LayerListener) - Method in class diva.canvas.event.EventLayer
Add the given layer listener to this dispatcher.
addLayerListener(LayerListener) - Method in class diva.canvas.interactor.DragInteractor
Add the given layer listener to this interactor.
addLayerMotionListener(LayerMotionListener) - Method in class diva.canvas.connector.ConnectorManipulator
Add the given layer motion listener to this interactor.
addLayerMotionListener(LayerMotionListener) - Method in class diva.canvas.event.EventLayer
Add the given layer motion listener to this dispatcher.
addMenuItem(JMenu, Action) - Static method in class diva.gui.GUIUtilities
Add an action to a menu and return the menu item created.
addMenuItem(JMenu, Action, int, String) - Method in class diva.gui.AbstractApplication
Deprecated. Use method in GUIUtilities instead.
addMenuItem(JMenu, Action, int, String) - Static method in class diva.gui.GUIUtilities
Add an action to a menu and return the menu item created.
addMenuItem(JMenu, String, Action, int, String, boolean) - Method in class diva.gui.AbstractApplication
Deprecated. Use method in GUIUtilities instead.
addMenuItem(JMenu, String, Action, int, String, boolean) - Static method in class diva.gui.GUIUtilities
Add an action to a menu and return the menu item created.
addNegativeExample(String, FeatureSet) - Method in class diva.sketch.classification.TrainingSet
Add a negative example to this training set for the given type.
addNegativeExample(String, TimedStroke) - Method in class diva.sketch.recognition.TrainingModel
Add a negative example to this training model for the given type.
addNode(Object) - Method in class diva.graph.GraphController
Add the node to this graph editor and place it whereever convenient.
addNode(Object) - Method in class diva.graph.NodeController
Given a node, add it to this graph editor and perform a layout on the new node.
addNode(Object, double, double) - Method in class diva.graph.GraphController
Add the node to this graph editor and render it at the given location.
addNode(Object, double, double) - Method in class diva.graph.NodeController
Add the node to this graph editor and render it at the given location.
addNode(Object, Object) - Method in class diva.graph.GraphController
Add the node to this graph editor, inside the given parent node at whatever position is convenient
addNode(Object, Object) - Method in class diva.graph.NodeController
Add the node to this graph editor, inside the given parent node and place it where convenient
addNode(Object, Object, double, double) - Method in class diva.graph.GraphController
Add the node to this graph editor, inside the given parent node and render it at the given location relative to its parent.
addNode(Object, Object, double, double) - Method in class diva.graph.NodeController
Add the node to this graph editor, inside the given parent node and render it at the given location relative to its parent.
addNode(Object, Object, Object) - Method in interface diva.graph.MutableGraphModel
Add a node to the given graph and notify listeners with a NODE_ADDED event whose source is the given source object.
addNode(Object, Object, Object) - Method in class diva.graph.modular.MutableModularGraphModel
Add a node to the given graph and notify listeners with a NODE_ADDED event.
addPage(Page) - Method in class diva.gui.MultipageModel
Add a page to the document and notify page listeners.
addPageListener(ListDataListener) - Method in class diva.gui.MultipageModel
Add a page listener to this document.
addPorts(CompositeFigure) - Method in class diva.canvas.tutorial.CompositeFigureTutorial
Utility function to add the "ports" to the composite figure.
addPositiveExample(String, FeatureSet) - Method in class diva.sketch.classification.TrainingSet
Add a positive example to this training set for the given type.
addPositiveExample(String, TimedStroke) - Method in class diva.sketch.recognition.TrainingModel
Add a positive example to this training model for the given type.
addPropertyChangeListener(PropertyChangeListener) - Method in class diva.gui.AbstractApplication
Add a property change listener to this application.
addPropertyChangeListener(PropertyChangeListener) - Method in class diva.gui.AbstractDocument
Add a property change listener to this document.
addPropertyChangeListener(PropertyChangeListener) - Method in interface diva.gui.Document
Add a property change listener to this document.
addPropertyChangeListener(PropertyChangeListener) - Method in interface diva.gui.Application
Add a property change listener to this application.
addRecognition(StrokeRecognition) - Method in class diva.sketch.recognition.StrokeRecognitionSet
Add a recognition to the set by inserting it in descending order of confidence value.
addSelection(Object) - Method in class diva.canvas.interactor.BasicSelectionModel
Add an object to the selection.
addSelection(Object) - Method in interface diva.canvas.interactor.SelectionModel
Add an object to the selection.
addSelectionInteractor(SelectionInteractor) - Method in class diva.canvas.interactor.SelectionDragger
Add a selection interactor to the list of valid interactor.
addSelectionListener(SelectionListener) - Method in class diva.canvas.interactor.BasicSelectionModel
Add a selection listener to this model.
addSelectionListener(SelectionListener) - Method in interface diva.canvas.interactor.SelectionModel
Add a selection listener to this model.
addSelections(Object[]) - Method in class diva.canvas.interactor.BasicSelectionModel
Add an array of objects to the selection and highlight the selected objects.
addSelections(Object[]) - Method in interface diva.canvas.interactor.SelectionModel
Add an array of objects to the selection.
addShade(String, Component) - Method in class diva.gui.toolbox.JShadePane
Adds a component represented by a title button with no icon.
addShade(String, Icon, Component) - Method in class diva.gui.toolbox.JShadePane
Adds a component represented by a title and/or icon, either of which can be null.
addShade(String, Icon, Component, String) - Method in class diva.gui.toolbox.JShadePane
Adds a component and tooltip represented by a title and/or icon, either of which can be null.
addSketchListener(SketchListener) - Method in class diva.sketch.SketchModel
Add the specified SketchListener to the set of listeners.
addStateListener(PropertyChangeListener) - Method in class diva.whiteboard.WhiteboardState
 
addStaticType(String) - Static method in class diva.sketch.recognition.Type
Add a static type to the Type system.
addStroke(TimedStroke) - Method in class diva.sketch.recognition.BasicScene
Add a new stroke element to the database.
addStroke(TimedStroke) - Method in interface diva.sketch.recognition.Scene
Add a new stroke element to the database.
addStrokeListener(Interactor) - Method in class diva.sketch.BasicInterpreter
Add a stroke listener that gets mouse-down, mouse-moved, and mouse-released events for drawing strokes.
addSymbol(Symbol) - Method in class diva.sketch.SketchModel
Add the specified symbol to the model.
addTerminal(Terminal, int, double) - Method in class diva.canvas.toolbox.IconFigure
Add the given terminal, on the given side and with the given offset, to the icon.
addToolBarButton(JToolBar, Action) - Static method in class diva.gui.GUIUtilities
Add the action to the given toolbar.
addToolBarButton(JToolBar, Action, String, Icon) - Method in class diva.gui.AbstractApplication
Deprecated. Use method in GUIUtilities instead.
addToolBarButton(JToolBar, Action, String, Icon) - Static method in class diva.gui.GUIUtilities
Add an action to the toolbar.
addToolBarButton(JToolBar, Action, String, Icon, boolean) - Method in class diva.gui.AbstractApplication
Deprecated. Use method in GUIUtilities instead.
addToolBarButton(JToolBar, Action, String, Icon, boolean) - Static method in class diva.gui.GUIUtilities
Add an action to the toolbar.
addToolBarButton(JToolBar, Action, String, Icon, String) - Static method in class diva.gui.GUIUtilities
Add an action to the toolbar.
addToolBarButton(JToolBar, Action, String, Icon, String, boolean) - Static method in class diva.gui.GUIUtilities
Add an action to the toolbar.
addToolBarButton(JToolBar, Action, String, String) - Static method in class diva.gui.GUIUtilities
Add an action to the toolbar.
addTypedRenderer(Class, NodeRenderer) - Method in class diva.graph.toolbox.TypedNodeRenderer
Add a renderer which is invoked when the rendered node's semantic object is an instance of the given class.
addVertex(float, float, long) - Method in class diva.sketch.recognition.TimedStroke
Add a pair of x, y coordinates in the stroke path and the corresponding timestamp.
addView(View) - Method in class diva.gui.AbstractApplication
Add a view to the list of views currently known by this application.
addView(View) - Method in class diva.gui.MDIApplication
 
addView(View) - Method in class diva.gui.MultiWindowApplication
 
addView(View) - Method in interface diva.gui.Application
Add a view to the application and notify view listeners.
addViewListener(ListDataListener) - Method in class diva.gui.AbstractApplication
Add a view listener to this application.
addViewListener(ListDataListener) - Method in interface diva.gui.Application
Add a view listener to this application.
addViewListener(ViewListener) - Method in class diva.gui.DesktopContext
Add a view listener to this frame.
addViewListener(ViewListener) - Method in interface diva.gui.MDIContext
Add a view listener to this frame.
ADJACENT - Static variable in class diva.sketch.parser2d.RelationUtilities
Positional constraint: is B adjacent to A?
All - class diva.util.test.All.
All the tests in this directory.
All - class diva.canvas.test.All.
All the tests in this directory.
ALL_VOTES - Static variable in class diva.sketch.recognition.VotingStrokeRecognizer
A constant which says that votes are not filtered by the "n-highest" rule.
ALL_VOTES - Static variable in class diva.sketch.recognition.VotingSceneRecognizer
A constant which says that votes are not filtered by the "n-highest" rule.
All(TestHarness) - Constructor for class diva.util.test.All
Constructor
All(TestHarness) - Constructor for class diva.canvas.test.All
Constructor
alternateSelectionFilter - Static variable in class diva.canvas.event.MouseFilter
The alternate selection filter -- accepts button 1 with shift.
AndConstraint - class diva.sketch.parser2d.AndConstraint.
A composite constraint that ANDs together the results of its child constraint objects.
AndConstraint() - Constructor for class diva.sketch.parser2d.AndConstraint
 
AndFilter - class diva.util.AndFilter.
A composite filter which ANDs two filters together.
AndFilter(Filter, Filter) - Constructor for class diva.util.AndFilter
 
angle(SceneElement, int, SceneElement, int) - Static method in class diva.sketch.parser2d.AbstractRule
Return the angle between the constructor-specified sites on r1 and r2, respectively.
AngleRelation - class diva.sketch.parser2d.AngleRelation.
Calculate the direction angle (between 0 and 2*PI) between user-specified sites on a pair of rectangles.
AngleRelation(int, int) - Constructor for class diva.sketch.parser2d.AngleRelation
The sites of interest on the first and second rectangles, respectively.
AppContext - interface diva.gui.AppContext.
A context for either an application or an applet that wants to use the diva.gui infrastructure.
AppContextDelegate - class diva.gui.AppContextDelegate.
This class provides basic support for an instance of AppContext which delegates its operation to one of the basic AppContexts (usually an AppContext or an ApplicationContext.) This is similar to an interface adapter, except the default implementation of each method is to call the identical method on the delegate context.
AppContextDelegate(AppContext) - Constructor for class diva.gui.AppContextDelegate
Create a new app context that delegates to the given context.
append(String) - Method in class diva.util.jester.demo.Foo
 
appendConstraint(PointConstraint) - Method in class diva.canvas.interactor.DragInteractor
Append a constraint to the list of constraints on this interactor.
appendPCData(String) - Method in class diva.util.xml.XmlElement
Add the String to the end of the current PCDATA for this element.
appendStroke(double, double) - Method in class diva.sketch.SketchLayer
Append the given point to the current stroke.
appendStroke(LayerEvent) - Method in class diva.sketch.BasicInterpreter
Append the given new point/timestamp to the current stroke.
appendStroke(LayerEvent) - Method in class diva.sketch.toolbox.PanZoomInterpreter
Append the given new point/timestamp to the current stroke.
AppletContext - class diva.gui.AppletContext.
A context for an applet in the diva.gui infrastructure.
AppletContext() - Constructor for class diva.gui.AppletContext
Create a new context and set the exit action to do nothing.
AppletTutorial - class diva.gui.tutorial.AppletTutorial.
A graph editor that runs as an applet.
AppletTutorial() - Constructor for class diva.gui.tutorial.AppletTutorial
 
Application - interface diva.gui.Application.
Application is an interface that captures the notion of a graphical application.
ApplicationContext - class diva.gui.ApplicationContext.
A context for an application in the diva.gui infrastructure.
ApplicationContext() - Constructor for class diva.gui.ApplicationContext
Create a new ApplicationContext.
ApplicationExceptionHandler - class diva.gui.ApplicationExceptionHandler.
This class makes it easy for an application to trap exceptions in AWT event handlers.
ApplicationExceptionHandler() - Constructor for class diva.gui.ApplicationExceptionHandler
 
ApplicationResources - class diva.gui.ApplicationResources.
Deprecated. Use diva.resource.DefaultBundle instead.
ApplicationResources() - Constructor for class diva.gui.ApplicationResources
Deprecated. Create a new ApplicationResources object containing the default Diva GUI resources.
ApplicationResources(String, Class, ResourceBundle) - Constructor for class diva.gui.ApplicationResources
Deprecated. Create a new ApplicationResources object using the given basename, with the given class as the loader for URL-based resources, and with the given ResourceBundle as the one that gets overridden.
ApplicationTutorial - class diva.gui.tutorial.ApplicationTutorial.
A simple text editor.
ApplicationTutorial(AppContext) - Constructor for class diva.gui.tutorial.ApplicationTutorial
 
apply(JCanvas) - Method in class diva.canvas.DamageRegion
Tell the damage region to inflict itself on the given JCanvas.
apply(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.DeltaXRelation
Return the distance between the constructor-specified sites on r1 and r2, respectively.
apply(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.DeltaYRelation
Return the distance between the constructor-specified sites on r1 and r2, respectively.
apply(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.AngleRelation
Return the angle between the constructor-specified sites on e1 and e2, respectively.
apply(SceneElement, SceneElement) - Method in interface diva.sketch.parser2d.Relation
Return the value of the relation extracted from the given rectangles.
apply(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.WidthRatioRelation
Calculate the ratio of the width of the first element to the width of the second.
apply(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.DistanceRelation
Return the distance between the constructor-specified sites on r1 and r2, respectively.
apply(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.OverlapRelation
Return the ratio of the area of the intersection of the given elements to the area of the first rectangle.
apply(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.HeightRatioRelation
Calculate the ratio of the height of the first element to the height of the second.
apply(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.AreaRatioRelation
Calculate the ratio of the area of e1 over the area of e2.
apply(TimedStroke) - Method in class diva.sketch.features.AreaRatioFE
Return the ratio of the convex hull area and the bounding box area of the stroke.
apply(TimedStroke) - Method in class diva.sketch.features.SumOfSquaredAnglesFE
Compute the sum of the squared angle values along the stroke path.
apply(TimedStroke) - Method in class diva.sketch.features.SumOfAbsoluteAnglesFE
Computes the sum of the absolute values of the angles along a stroke path.
apply(TimedStroke) - Method in class diva.sketch.features.AspectRatioFE
Return the ratio of the width and height of the stroke.
apply(TimedStroke) - Method in class diva.sketch.features.SumOfAbsDeltaRatioFE
Return the ratio of the sum of the absolute values of the delta y's and the sum of the absolute values of the delta x's.
apply(TimedStroke) - Method in class diva.sketch.features.MaxSpeedFE
Return the maximum speed (squared) of the specified stroke.
apply(TimedStroke) - Method in class diva.sketch.features.StrokePathLengthFE
Return the path length of a stroke by enumerating over the points in the stroke and summing up the distances between every two consecutive points.
apply(TimedStroke) - Method in class diva.sketch.features.CosFirstLastPtsFE
Return the cosine of the angle between the first and last point of the stroke.
apply(TimedStroke) - Method in interface diva.sketch.features.FeatureExtractor
Return the value of the feature extracted from the stroke.
apply(TimedStroke) - Method in class diva.sketch.features.BBoxDiagonalAngleFE
Return the angle between the diagonal and the base of the stroke's bounding box.
apply(TimedStroke) - Method in class diva.sketch.features.DurationFE
Return the duration of the specified stroke.
apply(TimedStroke) - Method in class diva.sketch.features.StrokeBBox
Compute the stroke's bounding box using the minimum and maximum x, y values in the path.
apply(TimedStroke) - Method in class diva.sketch.features.CornerFE
Return the number of corners in the specified stroke.
apply(TimedStroke) - Static method in class diva.sketch.features.StrokeHull
Generate a convex hull object for the specified stroke.
apply(TimedStroke) - Method in class diva.sketch.features.CosInitAngleFE
Return the cosine of the initial angle of the stroke.
apply(TimedStroke) - Method in class diva.sketch.features.BBoxDiagonalLengthFE
Return the length of the diagonal of the stroke's bounding box.
apply(TimedStroke) - Method in class diva.sketch.features.SineFirstLastPtsFE
Return the sine of the angle between the first and the last points of the stroke.
apply(TimedStroke) - Method in class diva.sketch.features.DistanceStartEndPtsFE
Return the distance between the first and the last point of the stroke.
apply(TimedStroke) - Method in class diva.sketch.features.SineInitAngleFE
Return the sine of the initial angle of the stroke.
apply(TimedStroke) - Method in class diva.sketch.features.PathRatioFE
Return the ratio between the stroke's convex hull path length and the its path length.
apply(TimedStroke) - Method in class diva.sketch.features.SumOfAnglesFE
Compute the total angle traversed by the stroke.
apply(TimedStroke) - Method in class diva.sketch.toolbox.StrokeFilter
Apply a filtering algorithm on the specified pen stroke and return the filtered stroke.
apply(TimedStroke) - Method in class diva.sketch.toolbox.ApproximateStrokeFilter
Reduce the number of points in the given pen stroke using the "approximation by line segments" algorithm.
applyLayout(LevelLayout.LevelData, Object) - Method in class diva.graph.layout.LevelLayout
Place the nodes in the target environment according to their levels and sorting order which are specified in levelData.
applyLayout(LevelLayout.LevelData, Object, boolean) - Method in class diva.graph.layout.LevelLayout
Place the nodes in the target environment according to their levels and sorting order which are specified in levelData.
ApproximateStrokeFilter - class diva.sketch.toolbox.ApproximateStrokeFilter.
An object which filters a pen stroke using "approximation by line segments" technique, (Hanaki, Temma, Yoshida, "An On-line Character Recognition Aimed at a Substitution for a Billing Machine Keyboard", Pattern Recognition, Vol.8, pp63-71, 1976).
ApproximateStrokeFilter() - Constructor for class diva.sketch.toolbox.ApproximateStrokeFilter
 
ArcConnector - class diva.canvas.connector.ArcConnector.
A Connector that draws itself in an arc.
ArcConnector(Site, Site) - Constructor for class diva.canvas.connector.ArcConnector
Create a new arc connector between the given sites.
ArcManipulator - class diva.canvas.connector.ArcManipulator.
A manipulator for arc connectors.
ArcManipulator() - Constructor for class diva.canvas.connector.ArcManipulator
Construct a new manipulator that uses rectangular grab-handles.
ArcManipulator(GrabHandleFactory) - Constructor for class diva.canvas.connector.ArcManipulator
Construct a new manipulator using the given grab-handle factory.
ArcRenderer - class diva.graph.basic.ArcRenderer.
An EdgeRenderer that draws arcs.
ArcRenderer() - Constructor for class diva.graph.basic.ArcRenderer
 
ArcTutorial - class diva.canvas.tutorial.ArcTutorial.
Another example showing how to use Connectors.
ArcTutorial() - Constructor for class diva.canvas.tutorial.ArcTutorial
Create a JCanvas and put it into a window.
areaRatio(SceneElement, SceneElement) - Static method in class diva.sketch.parser2d.AbstractRule
Calculate the ratio of areas with the constructor-specified rectangle as the numerator for the calculation.
AreaRatioFE - class diva.sketch.features.AreaRatioFE.
AreaRatioFE calculates the ratio of the convex hull area and the bounding box area of a stroke, (convex_hull/bbox).
AreaRatioFE() - Constructor for class diva.sketch.features.AreaRatioFE
 
AreaRatioRelation - class diva.sketch.parser2d.AreaRatioRelation.
Calculate the ratio of areas of the input scene elements.
AreaRatioRelation() - Constructor for class diva.sketch.parser2d.AreaRatioRelation
 
ArrayIterator - class diva.util.ArrayIterator.
An iterator over a given array.
ArrayIterator(Object[]) - Constructor for class diva.util.ArrayIterator
 
Arrowhead - class diva.canvas.connector.Arrowhead.
An arrowhead that is drawn on the end of a connector.
Arrowhead() - Constructor for class diva.canvas.connector.Arrowhead
Create a new arrowhead at (0,0).
Arrowhead(double, double, double) - Constructor for class diva.canvas.connector.Arrowhead
Create a new arrowhead at the given point and with the given normal.
AspectRatioFE - class diva.sketch.features.AspectRatioFE.
AspectRatioFE calculates the ratio of the width and the height of a stroke, (width/height).
AspectRatioFE() - Constructor for class diva.sketch.features.AspectRatioFE
 
assert(boolean, String) - Method in class diva.util.jester.TestCase
Make an assertion, and fail the test if it isn't satisfied.
assertEquals(Object, Object, String) - Method in class diva.util.jester.TestCase
Assert the equality of two objects.
ATTRIBUTE_CDATA - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is a string value.
ATTRIBUTE_DEFAULT_FIXED - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute was declared #FIXED.
ATTRIBUTE_DEFAULT_IMPLIED - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute was declared #IMPLIED.
ATTRIBUTE_DEFAULT_REQUIRED - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute was declared #REQUIRED.
ATTRIBUTE_DEFAULT_SPECIFIED - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute has a literal default value specified.
ATTRIBUTE_DEFAULT_UNDECLARED - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute is not declared.
ATTRIBUTE_ENTITIES - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is a list of entity names.
ATTRIBUTE_ENTITY - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is the name of an entity.
ATTRIBUTE_ENUMERATED - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is a token from an enumeration.
ATTRIBUTE_ID - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is a unique identifier.
ATTRIBUTE_IDREF - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is a reference to a unique identifier.
ATTRIBUTE_IDREFS - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is a list of ID references.
ATTRIBUTE_NMTOKEN - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is a name token.
ATTRIBUTE_NMTOKENS - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute value is a list of name tokens.
ATTRIBUTE_NOTATION - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute is the name of a notation.
ATTRIBUTE_UNDECLARED - Static variable in class diva.util.aelfred.XmlParser
Constant: the attribute has not been declared for this element type.
attribute(String, String, boolean) - Method in class diva.gui.MultipageParser
Handle an attribute value assignment.
attribute(String, String, boolean) - Method in class diva.sketch.recognition.TrainingParser
Handle an attribute value assignment.
attribute(String, String, boolean) - Method in class diva.util.aelfred.HandlerBase
Handle an attribute assignment.
attribute(String, String, boolean) - Method in interface diva.util.aelfred.XmlHandler
Attribute.
attribute(String, String, boolean) - Method in class diva.util.xml.XmlReader.Handler
Handle an attribute assignment that is part of an XML element.
attributeNames() - Method in class diva.util.xml.XmlElement
Return an enumeration over the names of the attributes in this schematic.
autoAnchor(Shape) - Method in class diva.canvas.toolbox.LabelFigure
Choose an anchor point so as not to intersect a given figure.
AutonomousSite - class diva.canvas.connector.AutonomousSite.
A site that is not attached to a figure.
AutonomousSite(CanvasLayer, double, double) - Constructor for class diva.canvas.connector.AutonomousSite
Create a new autonomous site in the transform context of the given pane and at the given location within that layer.
AutonomousSite(CanvasPane, double, double) - Constructor for class diva.canvas.connector.AutonomousSite
Create a new autonomous site in the transform context of the given pane and at the given location within that pane.
AutonomousSite(Figure, double, double) - Constructor for class diva.canvas.connector.AutonomousSite
Create a new autonomous site in the transform context of the given figure and at the given location within that figure.
AutonomousSite(TransformContext, double, double) - Constructor for class diva.canvas.connector.AutonomousSite
Create a new autonomous site in the given transform context and at the given location within that context.

B

BackgroundedCompositeFigure - class diva.canvas.toolbox.BackgroundedCompositeFigure.
A composite figure which has a background shape and appropriate event-handling capabilities, behaving in a way similar to PaneWrapper.
BackgroundedCompositeFigure() - Constructor for class diva.canvas.toolbox.BackgroundedCompositeFigure
Construct a backgrounded composite figure with no background and no children.
BackgroundedCompositeFigure(Figure) - Constructor for class diva.canvas.toolbox.BackgroundedCompositeFigure
Construct a backgrounded composite figure with the given background and no children.
Bar - class diva.util.jester.demo.Bar.
Bar: an extended name path without bugs in i
Bar() - Constructor for class diva.util.jester.demo.Bar
 
BarTest - class diva.util.jester.demo.BarTest.
A unit test suite for Bar.
BarTest.BarFactory - class diva.util.jester.demo.BarTest.BarFactory.
 
BarTest.BarFactory() - Constructor for class diva.util.jester.demo.BarTest.BarFactory
 
BarTest.BarTestCase - class diva.util.jester.demo.BarTest.BarTestCase.
 
BarTest.BarTestCase(BarTest, String) - Constructor for class diva.util.jester.demo.BarTest.BarTestCase
 
BarTest(TestHarness, BarTest.BarFactory) - Constructor for class diva.util.jester.demo.BarTest
Constructor
barycenter - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
BasicCanvasPane - class diva.canvas.toolbox.BasicCanvasPane.
A basic implementation of a canvas pane, provided for simple applications.
BasicCanvasPane() - Constructor for class diva.canvas.toolbox.BasicCanvasPane
Create a new canvas pane with a single figure layer at index zero.
BasicCanvasPane(CanvasLayer) - Constructor for class diva.canvas.toolbox.BasicCanvasPane
Create a new canvas pane with the given layer at index zero.
BasicConstraint - class diva.sketch.parser2d.BasicConstraint.
An object that returns whether a pair of rectangles satisfies constraints on the values of a specified relation.
BasicConstraint(Relation, double, double) - Constructor for class diva.sketch.parser2d.BasicConstraint
Create the constraints object with the given relations and given min/max constraints.
BasicController - class diva.canvas.toolbox.BasicController.
A basic controller implementation.
BasicController(GraphicsPane) - Constructor for class diva.canvas.toolbox.BasicController
Create a new controller for the given pane
BasicEdgeRenderer - class diva.graph.basic.BasicEdgeRenderer.
A basic implementation of the EdgeRenderer interface.
BasicEdgeRenderer() - Constructor for class diva.graph.basic.BasicEdgeRenderer
 
BasicEllipse - class diva.canvas.toolbox.BasicEllipse.
A figure that displays as an ellipse.
BasicEllipse(double, double, double, double) - Constructor for class diva.canvas.toolbox.BasicEllipse
Create a new ellipse with the given origin and size, a unit-width continuous stroke and no paint pattern.
BasicEllipse(double, double, double, double, float) - Constructor for class diva.canvas.toolbox.BasicEllipse
Create a new ellipse with the given origin, size, and outline width.
BasicEllipse(double, double, double, double, Paint) - Constructor for class diva.canvas.toolbox.BasicEllipse
Create a new ellipse with the given origin, size, and fill paint.
BasicEllipse(double, double, double, double, Paint, float) - Constructor for class diva.canvas.toolbox.BasicEllipse
Create a new ellipse with the given origin, size, fill, and outline width.
BasicEllipse(Ellipse2D) - Constructor for class diva.canvas.toolbox.BasicEllipse
Create a new ellipse with the given ellipse shape, a unit-width continuous stroke and no paint pattern.
BasicFigure - class diva.canvas.toolbox.BasicFigure.
A BasicFigure is one that contains a single instance of Shape.
BasicFigure(AbstractPaintedGraphic) - Constructor for class diva.canvas.toolbox.BasicFigure
Create a new figure with the given painted shape.
BasicFigure(Shape) - Constructor for class diva.canvas.toolbox.BasicFigure
Create a new figure with the given shape.
BasicFigure(Shape, float) - Constructor for class diva.canvas.toolbox.BasicFigure
Create a new figure with the given shape and outline width.
BasicFigure(Shape, Paint) - Constructor for class diva.canvas.toolbox.BasicFigure
Create a new figure with the given paint pattern.
BasicFigure(Shape, Paint, float) - Constructor for class diva.canvas.toolbox.BasicFigure
Create a new figure with the given paint pattern and outline width.
BasicFrame - class diva.gui.BasicFrame.
BasicFrame is a very simple application context that is used to display tutorial examples.
BasicFrame(String) - Constructor for class diva.gui.BasicFrame
Create an instance of this Frame with the given title and no main component.
BasicFrame(String, boolean) - Constructor for class diva.gui.BasicFrame
Create an instance of this Frame with the given title and no main component.
BasicFrame(String, JComponent) - Constructor for class diva.gui.BasicFrame
Create an instance of this Frame with the given title and with the given main component.
BasicFrame(String, JComponent, boolean) - Constructor for class diva.gui.BasicFrame
 
BasicGrabHandle - class diva.canvas.interactor.BasicGrabHandle.
A basic rectangle grab-handle implementation.
BasicGrabHandle(Site) - Constructor for class diva.canvas.interactor.BasicGrabHandle
Construct a new grab handle attached to the given site.
BasicGrabHandleFactory - class diva.canvas.interactor.BasicGrabHandleFactory.
A factory that creates basic grab-handles.
BasicGrabHandleFactory() - Constructor for class diva.canvas.interactor.BasicGrabHandleFactory
 
BasicGraphController - class diva.graph.basic.BasicGraphController.
A basic implementation of GraphController, which works with simple graphs that have edges connecting simple nodes.
BasicGraphController.NodeCreator - class diva.graph.basic.BasicGraphController.NodeCreator.
An inner class that places a node at the clicked-on point on the screen, if control-clicked with mouse button 1.
BasicGraphController.NodeCreator(BasicGraphController) - Constructor for class diva.graph.basic.BasicGraphController.NodeCreator
 
BasicGraphController() - Constructor for class diva.graph.basic.BasicGraphController
Create a new basic controller with default node and edge controllers.
BasicGraphDemo - class diva.graph.basic.BasicGraphDemo.
The graph demo demonstrates basic graph editing and layout functionality, illustrates the key points of the graph architecture.
BasicGraphDemo(AppContext) - Constructor for class diva.graph.basic.BasicGraphDemo
 
BasicGraphDemoApplet - class diva.graph.basic.BasicGraphDemoApplet.
An applet version of the graph demo.
BasicGraphDemoApplet() - Constructor for class diva.graph.basic.BasicGraphDemoApplet
 
BasicGraphModel - class diva.graph.basic.BasicGraphModel.
A basic implementation of a mutable graph model that stores its graph structure as a collection of nodes and edges (as opposed to an adjacency matrix).
BasicGraphModel() - Constructor for class diva.graph.basic.BasicGraphModel
Construct an empty graph model.
BasicHighlighter - class diva.canvas.toolbox.BasicHighlighter.
A decorator figure that displays a highlight behind the figure.
BasicHighlighter() - Constructor for class diva.canvas.toolbox.BasicHighlighter
Create a new highlighter with a default paint and "halo"
BasicHighlighter(Paint, float) - Constructor for class diva.canvas.toolbox.BasicHighlighter
Create a new highlighter with the given paint and "halo"
BasicHighlighter(Paint, float, Composite) - Constructor for class diva.canvas.toolbox.BasicHighlighter
Create a new highlighter with the given paint, "halo," and compositing operation.
BasicInterpreter - class diva.sketch.BasicInterpreter.
A class that interprets changes to a stroke.
BasicInterpreter(BasicSketchController) - Constructor for class diva.sketch.BasicInterpreter
Create a BasicInterpreter which is used by the specified controller to interpret sketch input.
BasicLayoutTarget - class diva.graph.basic.BasicLayoutTarget.
The basic set of information necessary to layout a graph: a mapping the graph data structure to aspects of its visual representation, a viewport to layout in, and some manipulation routines including pick, place, and route.
BasicLayoutTarget(GraphController) - Constructor for class diva.graph.basic.BasicLayoutTarget
Construce a new layout target that operates in the given pane.
BasicManhattanRouter - class diva.canvas.connector.BasicManhattanRouter.
A basic manhattan router.
BasicManhattanRouter() - Constructor for class diva.canvas.connector.BasicManhattanRouter
 
BasicModularGraphModel - class diva.graph.modular.BasicModularGraphModel.
A modular implementation of the graph model, whereby users with heterogeneous graphs can implement the graph model interface by implementing the simple interfaces of Graph, Node, CompositeNode, and Edge.
BasicModularGraphModel.BasicEdgeModel - class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel.
 
BasicModularGraphModel.BasicEdgeModel(BasicModularGraphModel) - Constructor for class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel
 
BasicModularGraphModel.BasicNodeModel - class diva.graph.modular.BasicModularGraphModel.BasicNodeModel.
 
BasicModularGraphModel.BasicNodeModel(BasicModularGraphModel) - Constructor for class diva.graph.modular.BasicModularGraphModel.BasicNodeModel
 
BasicModularGraphModel(Graph) - Constructor for class diva.graph.modular.BasicModularGraphModel
Construct an empty graph model whose root is the given semantic object.
BasicNodeRenderer - class diva.graph.basic.BasicNodeRenderer.
A factory which creates and returns a NodeFigure given a node input to render.
BasicNodeRenderer(GraphController) - Constructor for class diva.graph.basic.BasicNodeRenderer
Create a renderer which renders nodes square and orange.
BasicNodeRenderer(GraphController, Shape, Shape, Paint, Paint, double) - Constructor for class diva.graph.basic.BasicNodeRenderer
Create a renderer which renders nodes using the given shape and fill paint.
BasicPage - class diva.gui.BasicPage.
A simple concrete implementation of the Page interface.
BasicPage(MultipageModel) - Constructor for class diva.gui.BasicPage
Create a basic page owned by the given multipage.
BasicPage(MultipageModel, String) - Constructor for class diva.gui.BasicPage
Create a basic page owned by the given multipage, and with the given title.
BasicPage(MultipageModel, String, Object) - Constructor for class diva.gui.BasicPage
Create a basic page owned by the given multipage, and with the given title and model.
BasicPropertyContainer - class diva.util.BasicPropertyContainer.
An object that can be annotated with arbitrary objects whose keys are strings.
BasicPropertyContainer() - Constructor for class diva.util.BasicPropertyContainer
A property container with no defaults.
BasicPropertyContainer(PropertyContainer) - Constructor for class diva.util.BasicPropertyContainer
A property container with no defaults.
BasicRectangle - class diva.canvas.toolbox.BasicRectangle.
A figure that displays as a rectangle.
BasicRectangle(double, double, double, double) - Constructor for class diva.canvas.toolbox.BasicRectangle
Create a new rectangle with the given origin and size, a unit-width continuous stroke and no paint pattern.
BasicRectangle(double, double, double, double, float) - Constructor for class diva.canvas.toolbox.BasicRectangle
Create a new rectangle with the given origin, size, and outline width.
BasicRectangle(double, double, double, double, Paint) - Constructor for class diva.canvas.toolbox.BasicRectangle
Create a new rectangle with the given origin, size, and fill paint.
BasicRectangle(double, double, double, double, Paint, float) - Constructor for class diva.canvas.toolbox.BasicRectangle
Create a new rectangle with the given origin, size, fill, and outline width.
BasicRectangle(Rectangle2D) - Constructor for class diva.canvas.toolbox.BasicRectangle
Create a new rectangle with the given rectangle shape, a unit-width continuous stroke and no paint pattern.
BasicRectangle(Rectangle2D, Paint) - Constructor for class diva.canvas.toolbox.BasicRectangle
Create a new rectangle with the given bounds and fill paint.
BasicScene - class diva.sketch.recognition.BasicScene.
A scene database that keeps track of multiple interpretations of a set of strokes.
BasicScene() - Constructor for class diva.sketch.recognition.BasicScene
 
BasicSelectionModel - class diva.canvas.interactor.BasicSelectionModel.
A basic implementation of the SelectionModel interface.
BasicSelectionModel() - Constructor for class diva.canvas.interactor.BasicSelectionModel
Construct an empty selection.
BasicSelectionRenderer - class diva.canvas.interactor.BasicSelectionRenderer.
A basic implementation of a selection renderer.
BasicSelectionRenderer() - Constructor for class diva.canvas.interactor.BasicSelectionRenderer
Create a new selection renderer with the default prototype decorator.
BasicSelectionRenderer(FigureDecorator) - Constructor for class diva.canvas.interactor.BasicSelectionRenderer
Create a new renderer with the given prototype decorator.
BasicSketchController - class diva.sketch.BasicSketchController.
A basic SketchController implementation.
BasicSketchController() - Constructor for class diva.sketch.BasicSketchController
An empty constructor; as specified in the superclass, most of the real work is done in the initializeInteraction() method.
BasicStoragePolicy - class diva.gui.BasicStoragePolicy.
A StoragePolicy that doesn't really check for correct operation.
BasicStoragePolicy() - Constructor for class diva.gui.BasicStoragePolicy
 
BasicStrokeRecognizer - class diva.sketch.recognition.BasicStrokeRecognizer.
BasicStrokeRecognizer performs recognition on completed strokes by filtering them, extracting features from them (e.g.
BasicStrokeRecognizer() - Constructor for class diva.sketch.recognition.BasicStrokeRecognizer
Construct a basic recognizer that either performs recognition using a WeightedEuclideanClassifier, the default features, and an ApproximateStrokeFilter.
BasicStrokeRecognizer(Classifier, FeatureExtractor[], StrokeFilter) - Constructor for class diva.sketch.recognition.BasicStrokeRecognizer
Construct a classifying recognizer that classifies with the given classifier, set of feature extractors, and filter.
BasicStrokeRecognizer(Reader) - Constructor for class diva.sketch.recognition.BasicStrokeRecognizer
Construct a basic recognizer that trains on the gestures in the training file.
BasicStrokeRecognizer(Reader[]) - Constructor for class diva.sketch.recognition.BasicStrokeRecognizer
Construct a basic recognizer that trains on the gestures in the training files.
BasicWindow - class diva.util.gui.BasicWindow.
Deprecated. Use diva.gui.BasicFrame instead.
BasicWindow(String) - Constructor for class diva.util.gui.BasicWindow
Deprecated.  
BasicZList - class diva.canvas.BasicZList.
A basic implementation of the figure z-list, provided for initial implementations of figure containers.
BasicZList() - Constructor for class diva.canvas.BasicZList
 
BBoxDiagonalAngleFE - class diva.sketch.features.BBoxDiagonalAngleFE.
BBoxDiagonalAngleFE computes the angle between the diagonal and the base of a stroke's bounding box.
BBoxDiagonalAngleFE() - Constructor for class diva.sketch.features.BBoxDiagonalAngleFE
 
BBoxDiagonalLengthFE - class diva.sketch.features.BBoxDiagonalLengthFE.
BBoxDiagonalLengthFE computes the diagonal length of a stroke's bounding box.
BBoxDiagonalLengthFE() - Constructor for class diva.sketch.features.BBoxDiagonalLengthFE
 
Blob - class diva.canvas.connector.Blob.
An object that draws a blob of some kind on the end of a connector.
BLOB_CIRCLE - Static variable in class diva.canvas.connector.Blob
Specify a circle style
BLOB_DIAMOND - Static variable in class diva.canvas.connector.Blob
Specify a diamond style
Blob() - Constructor for class diva.canvas.connector.Blob
Create a new circle blob at (0,0).
Blob(double, double, double, int) - Constructor for class diva.canvas.connector.Blob
Create a new blob at the given coordinates and in the given style.
Blob(int) - Constructor for class diva.canvas.connector.Blob
Create a new blob at (0,0) in the given style.
BOTH_ENDS - Static variable in class diva.canvas.connector.ConnectorEvent
This event is concerns both ends of the connector.
BoundedDragInteractor - class diva.canvas.interactor.BoundedDragInteractor.
An interactor that drags its target only within a given rectangular region.
BoundedDragInteractor(Rectangle2D) - Constructor for class diva.canvas.interactor.BoundedDragInteractor
Create an instance that keeps figures inside the given regio
BoundsConstraint - class diva.canvas.interactor.BoundsConstraint.
Keep a point within a given rectangular bounds.
BoundsConstraint(Rectangle2D) - Constructor for class diva.canvas.interactor.BoundsConstraint
Create a new BoundsConstraint with the given bounds.
BoundsGeometry - class diva.canvas.interactor.BoundsGeometry.
BoundsGeometry is a class that provides support for manipulating the bounds of a figure.
BoundsGeometry.BoundsSite - class diva.canvas.interactor.BoundsGeometry.BoundsSite.
BoundsSite is the local class that implements editable sites of Rectangle objects.
BoundsGeometry.BoundsSite(BoundsGeometry, int) - Constructor for class diva.canvas.interactor.BoundsGeometry.BoundsSite
Create a new site with the given ID
BoundsGeometry(Figure, Rectangle2D) - Constructor for class diva.canvas.interactor.BoundsGeometry
Create a new geometry object on the given figure and with the given initial bounds.
BoundsManipulator - class diva.canvas.interactor.BoundsManipulator.
A manipulator which attaches grab handles to the bounds of the child figure.
BoundsManipulator() - Constructor for class diva.canvas.interactor.BoundsManipulator
Construct a new manipulator that uses rectangular grab-handles.
BoundsManipulator(GrabHandleFactory) - Constructor for class diva.canvas.interactor.BoundsManipulator
Construct a new manipulator using the given grab-handle factory.
BoundsSite - class diva.canvas.connector.BoundsSite.
A site that locates itself on the bounds of a figure's shape.
BoundsSite(Figure, int, int, double) - Constructor for class diva.canvas.connector.BoundsSite
Create a new site on the given figure with the given ID and at the location given by the side and the offset.
BubbleGraphController - class diva.graph.basic.BubbleGraphController.
A controller for bubble-and-arc graph editors.
BubbleGraphController() - Constructor for class diva.graph.basic.BubbleGraphController
Create a new controller with default node and edge controllers.
BubbleGraphDemo - class diva.graph.basic.BubbleGraphDemo.
Another graph demo.
BubbleGraphDemo(AppContext) - Constructor for class diva.graph.basic.BubbleGraphDemo
 
BubbleGraphDemoApplet - class diva.graph.basic.BubbleGraphDemoApplet.
A bubble graph demo that can run in an applet.
BubbleGraphDemoApplet() - Constructor for class diva.graph.basic.BubbleGraphDemoApplet
 
BubblePane - class diva.graph.basic.BubblePane.
A pane containing a bubble-and-arc editor.
BubblePane() - Constructor for class diva.graph.basic.BubblePane
Create a BubblePane
BubbleRenderer - class diva.graph.basic.BubbleRenderer.
A factory which creates and returns a bubble given a node input to render.
BubbleRenderer() - Constructor for class diva.graph.basic.BubbleRenderer
Create a renderer which renders bubbles white
BubbleRenderer(Paint, Paint, double) - Constructor for class diva.graph.basic.BubbleRenderer
Create a renderer which renders bubbles in the given fill paint, outlie paint, and size.
build(XmlElement, String) - Method in interface diva.util.xml.XmlBuilder
Given an XmlElement, create and return an internal representtion of it.
BulletedData - class diva.sketch.toolbox.BulletedData.
Native class that defines a collection of TextLine's.
BulletedData(double, double) - Constructor for class diva.sketch.toolbox.BulletedData
 
BulletedItem - class diva.sketch.toolbox.BulletedItem.
Native class that defines a collection of TextLine's.
BulletedItem(double, double) - Constructor for class diva.sketch.toolbox.BulletedItem
 
BulletedItems - class diva.sketch.toolbox.BulletedItems.
Native class that defines a collection of TextLine's.
BulletedItems(double, double) - Constructor for class diva.sketch.toolbox.BulletedItems
 
BulletedLine - class diva.sketch.toolbox.BulletedLine.
Native class that defines a collection of TextLine's.
BulletedLine(double, double) - Constructor for class diva.sketch.toolbox.BulletedLine
 
BulletedList - class diva.sketch.toolbox.BulletedList.
Native class that defines a collection of TextLine's.
BulletedList(double, double) - Constructor for class diva.sketch.toolbox.BulletedList
 
BUTTON_HEIGHT - Static variable in class diva.whiteboard.Whiteboard
The height of the image on a button in the toolbar.
BUTTON_WIDTH - Static variable in class diva.whiteboard.Whiteboard
The width of the image on a button in the toolbar.

C

CachingStrokeRecognizer - class diva.sketch.toolbox.CachingStrokeRecognizer.
A proxy recognizer implementation that caches the result of the target recognizer.
CachingStrokeRecognizer(StrokeRecognizer) - Constructor for class diva.sketch.toolbox.CachingStrokeRecognizer
Cache the recognitions of the given target recognizer.
calcProb(List) - Static method in class diva.sketch.parser2d.AbstractRule
Return a probability calculation of an aggregate based on the probabilities of the children.
calculateLayout(Object) - Method in class diva.graph.layout.LevelLayout
This method performs levelizing layout on the given composite.
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.AddStrokeEdit
 
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.DeleteStrokeEdit
 
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.PasteEdit
 
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.NewPageEdit
 
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.ReorderPageEdit
 
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.DeletePageEdit
 
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
canRedo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.AddStrokeEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.DeleteStrokeEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.PasteEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.NewPageEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.ReorderPageEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.DeletePageEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
canUndo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
canvas - Variable in class diva.canvas.demo.SpaceWindow
 
canvas - Variable in class diva.canvas.demo.MainWindow
 
CanvasComponent - interface diva.canvas.CanvasComponent.
A CanvasComponent is an object that can be inserted into the display tree of a JCanvas.
CanvasDebugUtilities - class diva.canvas.CanvasDebugUtilities.
A collection of canvas utilities.
CanvasDebugUtilities() - Constructor for class diva.canvas.CanvasDebugUtilities
 
CanvasLayer - class diva.canvas.CanvasLayer.
A canvas layer is a single layer that lives within a CanvasPane.
CanvasLayer() - Constructor for class diva.canvas.CanvasLayer
Create a new layer that is not in a pane.
CanvasLayer(CanvasPane) - Constructor for class diva.canvas.CanvasLayer
Create a new layer within the given pane.
CanvasPane - class diva.canvas.CanvasPane.
A canvas pane groups canvas layers.
CanvasPane() - Constructor for class diva.canvas.CanvasPane
 
CanvasUtilities - class diva.canvas.CanvasUtilities.
A collection of canvas utilities.
CENTER - Static variable in class diva.sketch.parser2d.AbstractRule
The center direction constant.
CENTER - Static variable in class diva.sketch.parser2d.RelationUtilities
The center direction constant.
CenterSite - class diva.canvas.connector.CenterSite.
A concrete implementation of Site that is located in the center of the bounding box of a figure.
CenterSite(Figure) - Constructor for class diva.canvas.connector.CenterSite
Create a new site on the given figure.
CenterSite(Figure, int) - Constructor for class diva.canvas.connector.CenterSite
Create a new site on the given figure and with the given ID
CenterTarget - class diva.canvas.connector.CenterTarget.
An implementation of connector targets that finds center sites.
CenterTarget() - Constructor for class diva.canvas.connector.CenterTarget
 
charData(char[], int, int) - Method in class diva.gui.MultipageParser
Handle character data.
charData(char[], int, int) - Method in class diva.util.aelfred.HandlerBase
Handle character data.
charData(char[], int, int) - Method in interface diva.util.aelfred.XmlHandler
Character data.
charData(char[], int, int) - Method in class diva.util.xml.XmlReader.Handler
Append the given character bytes to the character data of the current XML element.
check() - Method in class diva.util.jester.TestCase
Report on the results of running the test.
check() - Method in class diva.canvas.test.FigureTest.RegionTestCase
 
check(String) - Method in class diva.util.jester.demo.BarTest.BarTestCase
 
check(String) - Method in class diva.util.jester.demo.FooTest.FooTestCase
 
checkCacheValid(TransformContext) - Method in class diva.canvas.TransformContext
Check transform cache validity.
checkCacheValid(TransformContext) - Method in class diva.canvas.DamageRegion
Check transform cache validity.
checkConsistency(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Check to make sure that all nodes and edges are self-consistent within a graph.
checkConsistency(Object, GraphModel) - Static method in class diva.graph.layout.LayoutUtilities
Check consistency of the graph in terms of topology and layout.
checkContainment(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Check to make sure that all nodes and edges are contained with in a graph and are consistent.
checkContainment(Object, GraphModel) - Static method in class diva.graph.layout.LayoutUtilities
Check consistency and containment in terms of topology and layout.
checkEncoding(String, boolean) - Method in class diva.util.aelfred.XmlParser
Check that the encoding specified makes sense.
checkSite(int) - Static method in class diva.sketch.parser2d.RelationUtilities
Check the given site's validity; throw an illegal argument exception if it is not valid.
childNames() - Method in interface diva.sketch.recognition.CompositeElement
Return an array of the names of the children of this element, each of which sequentially corresponds to an item in the array returned by children().
children() - Method in interface diva.sketch.recognition.CompositeElement
Return a list of the children of this element, each of which is of type SceneElement.
ChoiceElement - interface diva.sketch.recognition.ChoiceElement.
A choice element represents a choice between multiple typed elements that have the same type (or super-type).
choiceNames() - Method in interface diva.sketch.recognition.ChoiceElement
Return an array of the names of the children of this element, each of which sequentially corresponds to an item in the array returned by children().
choices() - Method in class diva.sketch.recognition.BasicScene
Return a list of all of the choices contained in the scene.
choices() - Method in interface diva.sketch.recognition.Scene
Return a list of all of the choices contained in the scene.
choices() - Method in interface diva.sketch.recognition.ChoiceElement
Return a list that contains the choices that this element covers, from high to low confidence.
CircleGeometry - class diva.canvas.interactor.CircleGeometry.
A class that provides support for manipulating the bounds of a figure.
CircleGeometry.CircleSite - class diva.canvas.interactor.CircleGeometry.CircleSite.
CircleSite is the local class that implements an editable site of Rectangle objects.
CircleGeometry.CircleSite(CircleGeometry, int) - Constructor for class diva.canvas.interactor.CircleGeometry.CircleSite
Create a new site with the given ID
CircleGeometry(Figure, Rectangle2D) - Constructor for class diva.canvas.interactor.CircleGeometry
Create a new geometry object on the given figure and with the given initial bounds.
CircleManipulator - class diva.canvas.interactor.CircleManipulator.
A manipulator which attaches a grab handles to one of the bounds of the child figure.
CircleManipulator() - Constructor for class diva.canvas.interactor.CircleManipulator
Construct a new manipulator that uses rectangular grab-handles.
CircleManipulator(GrabHandleFactory) - Constructor for class diva.canvas.interactor.CircleManipulator
Construct a new manipulator using the given grab-handle factory.
Classification - class diva.sketch.classification.Classification.
Data structure for storing a list of classifer type and confidence value pairs in the order of descending confidence values.
Classification(String[], double[]) - Constructor for class diva.sketch.classification.Classification
Construct a classification with no types.
Classifier - interface diva.sketch.classification.Classifier.
A Classifier performs generic classification on feature sets, the semantics of which it knows nothing about.
ClassifierException - exception diva.sketch.classification.ClassifierException.
Thrown when there is some internal error in the training or classification process.
ClassifierException() - Constructor for class diva.sketch.classification.ClassifierException
Construct a ClassifierException with no error message.
ClassifierException(String) - Constructor for class diva.sketch.classification.ClassifierException
Construct a ClassifierException with the specified error message.
classify(FeatureSet) - Method in class diva.sketch.classification.WeightedEuclideanClassifier
Classify the specified feature set using each weight, by comparing them to the mu (mean) value of the weight and weighting it by the sigma value (standard deviation).
classify(FeatureSet) - Method in class diva.sketch.classification.RubineClassifier
Return a classification for the specified feature set, or throw a runtime exception if the feature set that is given does not have the same number of features as the training set that it was trained on.
classify(FeatureSet) - Method in interface diva.sketch.classification.Classifier
Return a classification for the specified feature set, or throw a runtime exception if the feature set that is given does not have the same number of features as the training set that it was trained on.
classify2(FeatureSet) - Method in class diva.sketch.classification.RubineClassifier
 
cleanupVariables() - Method in class diva.util.aelfred.XmlParser
Clean up after the parse to allow some garbage collection.
clear() - Method in interface diva.canvas.ZList
Removes all of the figures from this list.
clear() - Method in class diva.canvas.BasicZList
Removes all of the figures from this list.
clear() - Method in class diva.canvas.OverlayLayer
Clear the layer
clear() - Method in class diva.canvas.FigureLayer
Removes all of the figures from this layer.
clear() - Method in class diva.graph.GraphController
Remove all figures from the display
clear() - Method in class diva.sketch.classification.WeightedEuclideanClassifier
Reset the weight sets.
clear() - Method in class diva.sketch.classification.RubineClassifier
Clear all results of previous trainings (presumably so that this classifier can be trained again from scratch).
clear() - Method in interface diva.sketch.classification.TrainableClassifier
Clear all results of previous trainings (presumably so that this classifier can be trained again from scratch).
clear() - Method in class diva.sketch.toolbox.CachingStrokeRecognizer
Manually clear the cache.
clearBuffer() - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Clear the buffer after every stroke finishes by setting every entry in the buffer to NO_RECOGNITION.
clearBuffer() - Method in class diva.sketch.recognition.VotingSceneRecognizer
Clear the buffer after every stroke finishes by setting every entry in the buffer to NO_DELTA.
clearEdge(Object) - Method in class diva.graph.GraphController
Remove the figure for the given edge.
clearEdge(Object) - Method in class diva.graph.EdgeController
Remove the figure for the given edge, but do not remove the edge from the graph model.
clearExamples() - Method in class diva.sketch.classification.WeightSet
Clear the examples.
clearGrabHandles() - Method in class diva.canvas.interactor.Manipulator
Clear all grab-handles.
clearNode(Object) - Method in class diva.graph.GraphController
Remove the figure for the given node.
clearNode(Object) - Method in class diva.graph.NodeController
Remove the figure for the given node.
clearSelection() - Method in class diva.canvas.interactor.BasicSelectionModel
Clear the selection.
clearSelection() - Method in interface diva.canvas.interactor.SelectionModel
Clear the selection.
clearSelection() - Method in class diva.canvas.interactor.SelectionDragger
Clear the selection in all the relevant selection interactors.
CLICK_TIMEOUT - Static variable in class diva.sketch.BasicInterpreter
The timeout for single/double/triple/..
CLICKCOUNT_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
clone() - Method in class diva.canvas.toolbox.VersatileFigure
Clone this Figure.
clone(Shape) - Static method in class diva.canvas.CanvasUtilities
Deprecated. Use ShapeUtilities.cloneShape() instead
cloneShape(Shape) - Static method in class diva.util.java2d.ShapeUtilities
Clone a shape.
CLOSE - Static variable in class diva.gui.DefaultActions
 
close() - Method in class diva.graph.schematic.GraphDocument
Close the document.
close() - Method in class diva.gui.AbstractDocument
Close the document.
close() - Method in class diva.gui.AbstractView
Close the view.
close() - Method in class diva.gui.MultipageDocument
Close the document.
close() - Method in interface diva.gui.Document
Close the document.
close() - Method in interface diva.gui.View
Close the view.
close() - Method in class diva.gui.tutorial.TextDocument
Close the document.
close() - Method in class diva.whiteboard.WhiteboardView
 
close(Document) - Method in class diva.gui.BasicStoragePolicy
Close the document.
close(Document) - Method in class diva.gui.DefaultStoragePolicy
Close the document.
close(Document) - Method in interface diva.gui.StoragePolicy
Close the document.
closeAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Close" that closes the current document.
closeDocument(Document) - Method in class diva.gui.AbstractApplication
Try to close the given document using the storage policy.
closeDocument(Document) - Method in interface diva.gui.Application
Try to close the given document, respecting the storage policy.
closeDocument(Document) - Method in class diva.whiteboard.Whiteboard
 
closePath() - Method in class diva.util.java2d.Polygon2D
Close the polygon.
closeView(View) - Method in class diva.gui.AbstractApplication
Try to close the given view using the storage policy.
closeView(View) - Method in interface diva.gui.Application
Try to close the given view, respecting the storage policy.
COMMAND_MODE - Static variable in class diva.whiteboard.WhiteboardState
 
CommandInterpreter - class diva.whiteboard.CommandInterpreter.
 
CommandInterpreter.ClickListener - class diva.whiteboard.CommandInterpreter.ClickListener.
 
CommandInterpreter.ClickListener(CommandInterpreter) - Constructor for class diva.whiteboard.CommandInterpreter.ClickListener
 
CommandInterpreter.CommandStrokeListener - class diva.whiteboard.CommandInterpreter.CommandStrokeListener.
CommandStrokeListener receives stroke events from the interpreter and processes these strokes as gesture commands.
CommandInterpreter.CommandStrokeListener(CommandInterpreter) - Constructor for class diva.whiteboard.CommandInterpreter.CommandStrokeListener
 
CommandInterpreter.HoldListener - class diva.whiteboard.CommandInterpreter.HoldListener.
 
CommandInterpreter.HoldListener(CommandInterpreter) - Constructor for class diva.whiteboard.CommandInterpreter.HoldListener
 
CommandInterpreter(BasicSketchController, WhiteboardState, MultipageDocument) - Constructor for class diva.whiteboard.CommandInterpreter
 
commit() - Method in class diva.sketch.recognition.SceneDelta
Commit the results of this delta to the scene.
commit() - Method in class diva.sketch.recognition.SceneDelta.Subtractive
Commit the results of this delta to the scene.
commit() - Method in class diva.sketch.recognition.SceneDelta.Additive
Commit the results of this delta to the scene.
component - Variable in class diva.canvas.test.ConcreteFigures.ImageFigureFactory
 
COMPOSITE_TAG - Static variable in class diva.sketch.SketchParser
Indicate a stroke element.
CompositeElement - interface diva.sketch.recognition.CompositeElement.
A composite element is the encapsulation of all the information known about a parsed element in a scene.
CompositeFigure - class diva.canvas.CompositeFigure.
A CompositeFigure is a figure that contains a set of child figures.
CompositeFigure() - Constructor for class diva.canvas.CompositeFigure
Create a new composite figure containing no figures.
CompositeFigure(Figure) - Constructor for class diva.canvas.CompositeFigure
Construct a composite figure with the given figure as its background.
CompositeFigure(ZList) - Constructor for class diva.canvas.CompositeFigure
Create a new composite figure containing no figures, that uses the given z-list for its storage.
CompositeFigureTutorial - class diva.canvas.tutorial.CompositeFigureTutorial.
This tutorial demonstrates how to use composite figures.
CompositeFigureTutorial() - Constructor for class diva.canvas.tutorial.CompositeFigureTutorial
Create a JCanvas and put it into a window.
CompositeInteractor - class diva.canvas.interactor.CompositeInteractor.
An interactor that forwards events to other interactors.
CompositeInteractor() - Constructor for class diva.canvas.interactor.CompositeInteractor
Create a new composite interactor.
CompositeModel - interface diva.graph.modular.CompositeModel.
A graph is an object that contains nodes and edges.
CompositeNode - interface diva.graph.modular.CompositeNode.
A node that is also a graph, i.e.
CompositeNodeModel - interface diva.graph.modular.CompositeNodeModel.
A graph is an object that contains nodes and edges.
CompositeSymbol - class diva.sketch.CompositeSymbol.
A composite symbol that is made up of one or more symbols.
CompositeSymbol(Symbol[]) - Constructor for class diva.sketch.CompositeSymbol
Create a symbol for the given stroke with the color and line width information.
CompoundIterator - class diva.util.CompoundIterator.
An iterator over two iterators.
CompoundIterator(Iterator, Iterator) - Constructor for class diva.util.CompoundIterator
Create a new iterator
computeAngle(double, double, double, double) - Static method in class diva.sketch.features.FEUtilities
Given a 2D vector, find the angle (in radians) formed between this vector and the horizontal vector pointing in the positive x direction.
computeCompositeBounds(Iterator) - Static method in class diva.canvas.CanvasUtilities
Compute a composite bounding box.
computeCompositeShape(Iterator) - Static method in class diva.canvas.CanvasUtilities
Compute a composite shape.
computeFitTransform(RectangularShape, RectangularShape) - Static method in class diva.canvas.CanvasUtilities
Get the transform that will make the first rectangle change fit within the second, while preserving the shape.
computeMu() - Method in class diva.sketch.classification.WeightSet
Calculate the mu values for each feature in this class.
computeMu() - Method in class diva.sketch.classification.GaussianWeightSet
Calculates the mu value for Gaussian distribution by taking the mean of each feature type.
computeSigma() - Method in class diva.sketch.classification.WeightSet
Calculate the sigma values for each feature in this class.
computeSigma() - Method in class diva.sketch.classification.GaussianWeightSet
Calculates the sigma of each feature in this classifier.
computeSiteBounds(Iterator) - Static method in class diva.canvas.CanvasUtilities
Compute the bounding box of a set of connectors.
computeTransform(RectangularShape, RectangularShape) - Static method in class diva.canvas.CanvasUtilities
Get the transform that will make the first rectangle change into the second.
concatenate(AffineTransform) - Method in class diva.canvas.TransformContext
Concatenate this transform context with the given tranform.
ConcreteFigures - class diva.canvas.test.ConcreteFigures.
A test suite for testing concrete figures.
ConcreteFigures.BasicRectangleFactory1 - class diva.canvas.test.ConcreteFigures.BasicRectangleFactory1.
Create a BasicRectangle with stroked outline
ConcreteFigures.BasicRectangleFactory1(ConcreteFigures) - Constructor for class diva.canvas.test.ConcreteFigures.BasicRectangleFactory1
 
ConcreteFigures.BasicRectangleFactory2 - class diva.canvas.test.ConcreteFigures.BasicRectangleFactory2.
Create a filled BasicRectangle
ConcreteFigures.BasicRectangleFactory2(ConcreteFigures) - Constructor for class diva.canvas.test.ConcreteFigures.BasicRectangleFactory2
 
ConcreteFigures.CompositeFigureFactory1 - class diva.canvas.test.ConcreteFigures.CompositeFigureFactory1.
Create a CompositeFigure with a filled rectangle background
ConcreteFigures.CompositeFigureFactory1(ConcreteFigures) - Constructor for class diva.canvas.test.ConcreteFigures.CompositeFigureFactory1
 
ConcreteFigures.IconFigureFactory - class diva.canvas.test.ConcreteFigures.IconFigureFactory.
Create an icon figure
ConcreteFigures.IconFigureFactory(ConcreteFigures) - Constructor for class diva.canvas.test.ConcreteFigures.IconFigureFactory
 
ConcreteFigures.ImageFigureFactory - class diva.canvas.test.ConcreteFigures.ImageFigureFactory.
Create an image figure
ConcreteFigures.ImageFigureFactory(ConcreteFigures) - Constructor for class diva.canvas.test.ConcreteFigures.ImageFigureFactory
 
ConcreteFigures.LabelFigureFactory - class diva.canvas.test.ConcreteFigures.LabelFigureFactory.
Create an image figure
ConcreteFigures.LabelFigureFactory(ConcreteFigures) - Constructor for class diva.canvas.test.ConcreteFigures.LabelFigureFactory
 
ConcreteFigures.PaneWrapperFactory - class diva.canvas.test.ConcreteFigures.PaneWrapperFactory.
Create a PaneWrapper with a filled rectangle background
ConcreteFigures.PaneWrapperFactory(ConcreteFigures) - Constructor for class diva.canvas.test.ConcreteFigures.PaneWrapperFactory
 
ConcreteFigures(TestHarness) - Constructor for class diva.canvas.test.ConcreteFigures
Constructor
CONFIDENCE_TAG - Static variable in class diva.sketch.recognition.SceneParser
Indicates the confidence of a scene element.
confirm(CompositeElement, boolean) - Method in class diva.sketch.recognition.BasicScene
Accept the given interpretation of the set of strokes that the given element covers as the correct interpretation of those strokes.
confirm(CompositeElement, boolean) - Method in interface diva.sketch.recognition.Scene
Accept the given interpretation of the set of strokes that the given element covers as the correct interpretation of those strokes.
connectEdge(Object, Object, Object, Object) - Method in interface diva.graph.MutableGraphModel
Connect the given edge to the given tail and head nodes, and notify listeners with events whose source is the given eventSource object
connectEdge(Object, Object, Object, Object) - Method in class diva.graph.modular.MutableModularGraphModel
Connect the given edge to the given tail and head nodes, then dispatch events to the listeners.
Connector - interface diva.canvas.connector.Connector.
A Connector is a figure that draws itself between two sites on other figures.
CONNECTOR_DRAGGED - Static variable in class diva.canvas.connector.ConnectorEvent
Signifies that a connector is dragged some distance
CONNECTOR_DROPPED - Static variable in class diva.canvas.connector.ConnectorEvent
Signifies that a connector end is dropped.
CONNECTOR_SNAPPED - Static variable in class diva.canvas.connector.ConnectorEvent
Signifies that a connector end is snapped to a possible target.
CONNECTOR_UNSNAPPED - Static variable in class diva.canvas.connector.ConnectorEvent
Signifies that a connector end is unsnapped from the original site that it was attached to, or from a possible target.
ConnectorAdapter - class diva.canvas.connector.ConnectorAdapter.
An adapter for connector listeners.
ConnectorAdapter() - Constructor for class diva.canvas.connector.ConnectorAdapter
 
connectorDragged(ConnectorEvent) - Method in class diva.canvas.connector.ConnectorAdapter
Do nothing when a connector end is dragged.
connectorDragged(ConnectorEvent) - Method in interface diva.canvas.connector.ConnectorListener
Called when a connector end is dragged.
connectorDropped(ConnectorEvent) - Method in class diva.canvas.connector.ConnectorAdapter
Do nothing when a connector end is dropped.
connectorDropped(ConnectorEvent) - Method in interface diva.canvas.connector.ConnectorListener
Called when a connector end is dropped.
connectorDropped(ConnectorEvent) - Method in class diva.graph.EdgeController.EdgeDropper
Called when a connector end is dropped--attach or detach the edge as appropriate.
ConnectorEnd - interface diva.canvas.connector.ConnectorEnd.
An interface for objects that can be attached to the end of a connector.
ConnectorEvent - class diva.canvas.connector.ConnectorEvent.
A graph event that is emitted when anything interesting happens inside a graph by way of a GraphModel.
ConnectorEvent(int, Object, Figure, Connector, int) - Constructor for class diva.canvas.connector.ConnectorEvent
Construct a ConnectorEvent with the given source, target, connector, and "end" flag.
ConnectorInteractor - class diva.canvas.connector.ConnectorInteractor.
An interactor for dragging one end of a connector.
ConnectorInteractor(ConnectorManipulator) - Constructor for class diva.canvas.connector.ConnectorInteractor
Create a new interactor to be used with the given manipulator
ConnectorListener - interface diva.canvas.connector.ConnectorListener.
A listener for changes in a connector's connectivity.
ConnectorManipulator - class diva.canvas.connector.ConnectorManipulator.
A manipulator which attaches grab handles to the ends of a connector.
ConnectorManipulator.TargetHighlighter - class diva.canvas.connector.ConnectorManipulator.TargetHighlighter.
 
ConnectorManipulator.TargetHighlighter() - Constructor for class diva.canvas.connector.ConnectorManipulator.TargetHighlighter
 
ConnectorManipulator() - Constructor for class diva.canvas.connector.ConnectorManipulator
Construct a new manipulator that uses rectangular grab-handles.
ConnectorManipulator(GrabHandleFactory) - Constructor for class diva.canvas.connector.ConnectorManipulator
Construct a new manipulator using the given grab-handle factory.
connectorSnapped(ConnectorEvent) - Method in class diva.canvas.connector.ConnectorAdapter
Do nothing when a connector end is snapped to a possible target.
connectorSnapped(ConnectorEvent) - Method in interface diva.canvas.connector.ConnectorListener
Called when a connector end is snapped to a possible target.
ConnectorTarget - interface diva.canvas.connector.ConnectorTarget.
An object that is used to get suitable "target" sites for connectors.
ConnectorTutorial - class diva.canvas.tutorial.ConnectorTutorial.
An example showing how to use Connectors.
ConnectorTutorial.SitedRectangle - class diva.canvas.tutorial.ConnectorTutorial.SitedRectangle.
SitedRectangle is a class that provides four sites that we use in the examples to attach connectors to.
ConnectorTutorial.SitedRectangle(ConnectorTutorial, double, double, double, double, Color) - Constructor for class diva.canvas.tutorial.ConnectorTutorial.SitedRectangle
Create a new instance of this figure.
ConnectorTutorial.SRTarget - class diva.canvas.tutorial.ConnectorTutorial.SRTarget.
SRTarget is used to find a useful site on a SitedRectangle.
ConnectorTutorial.SRTarget(ConnectorTutorial) - Constructor for class diva.canvas.tutorial.ConnectorTutorial.SRTarget
 
ConnectorTutorial() - Constructor for class diva.canvas.tutorial.ConnectorTutorial
Create a JCanvas and put it into a window.
connectorUnsnapped(ConnectorEvent) - Method in class diva.canvas.connector.ConnectorAdapter
Do nothing when a connector end is unsnapped from the site that it was originally attached to, or a possible target.
connectorUnsnapped(ConnectorEvent) - Method in interface diva.canvas.connector.ConnectorListener
Called when a connector end is unsnapped from the site that it was originally attached to, or a possible target.
constrain(Point2D) - Method in interface diva.canvas.interactor.PointConstraint
Ask the point constraint to constrain this point.
constrain(Point2D) - Method in class diva.canvas.interactor.QuadrantConstraint
Ask the bounds constraint to constrain this point.
constrain(Point2D) - Method in class diva.canvas.interactor.BoundsConstraint
Ask the bounds constraint to constrain this point.
constrainPoint(Point2D) - Method in class diva.canvas.interactor.DragInteractor
Constrain a point using the current constraints.
consume() - Method in class diva.canvas.event.LayerEvent
Consume this event.
containedSketchFigures(Polygon2D) - Method in class diva.sketch.SketchController
Return an iterator over the figures that are completely contained by the given polygonal region.
CONTAINS - Static variable in class diva.sketch.parser2d.RelationUtilities
Positional constraint: does A contain B?
contains(double, double) - Method in class diva.util.java2d.Polyline2D
Return false.
contains(double, double) - Method in class diva.util.java2d.Polygon2D
Return true if the given point is inside the polygon.
contains(double, double, double, double) - Method in class diva.util.java2d.Polyline2D
Return false.
contains(double, double, double, double) - Method in class diva.util.java2d.Polygon2D
Return true if the given rectangle is entirely inside the polygon.
contains(Figure) - Method in interface diva.canvas.ZList
Test if this list contains the given figure.
contains(Figure) - Method in class diva.canvas.BasicZList
Test if the z-list contains the given figure.
contains(Figure) - Method in interface diva.canvas.FigureContainer
Test if this container contains the given figure.
contains(Figure) - Method in class diva.canvas.AbstractFigureContainer
Test if the given figure is a child of this composite.
contains(Figure) - Method in class diva.canvas.CompositeFigure
Test if the given figure is a child of this composite.
contains(Figure) - Method in interface diva.canvas.FigureSet
Test if this set contains the given figure.
contains(Figure) - Method in class diva.canvas.FigureLayer
Test if the layer contains the given figure.
contains(Figure) - Method in class diva.canvas.FigureDecorator
Test if the given figure is the one contained by this decorator.
contains(Object) - Method in class diva.gui.toolbox.ListDataModel
Return whether or not the given item is contained by the model
contains(Point2D) - Method in class diva.canvas.AbstractFigure
Test whether this figure contains the point given.
contains(Point2D) - Method in interface diva.canvas.Figure
Test whether this figure contains the point given.
contains(Point2D) - Method in class diva.canvas.connector.TerminalFigure
Test whether this figure contains the point given.
contains(Point2D) - Method in class diva.util.java2d.Polyline2D
Return false.
contains(Point2D) - Method in class diva.util.java2d.Polygon2D
Return true if the given point is inside the polygon.
contains(Rectangle2D) - Method in class diva.util.java2d.Polyline2D
Return false.
contains(Rectangle2D) - Method in class diva.util.java2d.Polygon2D
Return true if the given rectangle is entirely inside the polygon.
containsElement(XmlElement) - Method in class diva.util.xml.XmlElement
Test if this element contains the given element.
containsNode(Object, Object) - Method in interface diva.graph.GraphModel
Return true if this graph or composite node contains the given node.
containsNode(Object, Object) - Method in class diva.graph.modular.ModularGraphModel
Return true if this composite node contains the given node.
containsSelection(Object) - Method in class diva.canvas.interactor.BasicSelectionModel
Test if the selection contains the given object
containsSelection(Object) - Method in interface diva.canvas.interactor.SelectionModel
Test if the selection contains the given object
containsType(String) - Method in class diva.sketch.classification.TrainingSet
Return true if the training type with the specified name is in the set, or false otherwise.
containsType(String) - Method in class diva.sketch.recognition.TrainingModel
Return true if the training type with the specified name is in the model, or false otherwise.
CONTENT_ANY - Static variable in class diva.util.aelfred.XmlParser
Constant: the element has a content model of ANY.
CONTENT_ELEMENTS - Static variable in class diva.util.aelfred.XmlParser
Constant: the element has element content.
CONTENT_EMPTY - Static variable in class diva.util.aelfred.XmlParser
Constant: the element has declared content of EMPTY.
CONTENT_MIXED - Static variable in class diva.util.aelfred.XmlParser
Constant: the element has mixed content.
CONTENT_UNDECLARED - Static variable in class diva.util.aelfred.XmlParser
Constant: an element has not been declared.
contentsChanged(ListDataEvent) - Method in class diva.whiteboard.Whiteboard.WBAppViewListener
Invoked when the current document has been switched.
contentsChanged(ListDataEvent) - Method in class diva.whiteboard.Whiteboard.WBPageListener
Invoked when the current page has been switched AR: should I check if this page is being viewed currently?
contentsChanged(ListDataEvent) - Method in class diva.whiteboard.WhiteboardView.LocalPageListener
Invoked when current page has been switched.
ContextGraphView - class diva.graph.schematic.ContextGraphView.
 
ContextGraphView(MultiWindowGraphEditor, Document) - Constructor for class diva.graph.schematic.ContextGraphView
 
ContextView - interface diva.gui.ContextView.
A Context view is a view that knows about an app context that it exists.
contractSelection(SelectionInteractor, Figure) - Method in class diva.canvas.interactor.SelectionDragger
Contract the selection by removing an item from it and removing highlight rendering.
controller - Variable in class diva.canvas.demo.SelectionPane
The controller
controller - Variable in class diva.canvas.demo.SimplePane
The controller
controller - Variable in class diva.canvas.demo.RootPane
The controller
controller - Variable in class diva.canvas.tutorial.LabelTutorial
 
controller - Variable in class diva.canvas.tutorial.IconTutorial
 
controller - Variable in class diva.canvas.tutorial.TerminalTutorial
 
controller - Variable in class diva.canvas.tutorial.CompositeFigureTutorial
 
controlPanel - Variable in class diva.canvas.demo.SpaceWindow
 
controlPanel - Variable in class diva.canvas.demo.MainWindow
 
ConvexHull - class diva.sketch.features.ConvexHull.
A ConvexHull object implements the Quickhull algorithm to find the planar convex hull of a set of points.
ConvexHull() - Constructor for class diva.sketch.features.ConvexHull
 
copy - Variable in class diva.canvas.test.FigureTest.RegionTestCase
 
COPY - Static variable in class diva.gui.DefaultActions
 
copy(Clipboard) - Method in class diva.gui.AbstractView
Get the currently selected objects from this view, if any, and place them on the given clipboard.
copy(Clipboard) - Method in interface diva.gui.View
Get the currently selected objects from this view, if any, and place them on the given clipboard.
copy(Clipboard) - Method in class diva.whiteboard.WhiteboardView
Get the currently selected objects from this document, if any, and place them on the given clipboard.
copyAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Copy" that copies the current selection from the current document and places it into the application's clipboard.
copyComposite(Object) - Method in class diva.graph.layout.LevelLayout
Copy the given graph and make the nodes/edges in the copied graph point to the nodes/edges in the original.
copyIso8859_1ReadBuffer(int) - Method in class diva.util.aelfred.XmlParser
Convert a buffer of ISO-8859-1-encoded bytes into UTF-16 characters.
copyLayout(Object, Object) - Method in class diva.graph.layout.LevelLayout
Take the layout generated by the core layout algorithm and copy it back into the view of the original composite passed in by the user.
copyUcs2ReadBuffer(int, int, int) - Method in class diva.util.aelfred.XmlParser
Convert a buffer of UCS-2-encoded bytes into UTF-16 characters.
copyUcs4ReadBuffer(int, int, int, int, int) - Method in class diva.util.aelfred.XmlParser
Convert a buffer of UCS-4-encoded bytes into UTF-16 characters.
copyUtf8ReadBuffer(int) - Method in class diva.util.aelfred.XmlParser
Convert a buffer of UTF-8-encoded bytes into UTF-16 characters.
CornerFE - class diva.sketch.features.CornerFE.
CornerFE computes the number of corners in a stroke by enumerating over the data points in the stroke.
CornerFE() - Constructor for class diva.sketch.features.CornerFE
Create a corner feature extractor.
CornerFE(double, double) - Constructor for class diva.sketch.features.CornerFE
Create a corner feature extractor with the specified threshold values used to determine possible corners.
CosFirstLastPtsFE - class diva.sketch.features.CosFirstLastPtsFE.
 
CosFirstLastPtsFE() - Constructor for class diva.sketch.features.CosFirstLastPtsFE
 
CosInitAngleFE - class diva.sketch.features.CosInitAngleFE.
CosInitAngleFE computes the cosine of the initial angle of a stroke.
CosInitAngleFE() - Constructor for class diva.sketch.features.CosInitAngleFE
 
COUNT - Static variable in class diva.whiteboard.SketchDocument
 
create() - Method in class diva.util.jester.demo.FooTest.FooFactory
 
create() - Method in class diva.util.jester.demo.BarTest.BarFactory
 
create(Figure) - Method in class diva.gui.toolbox.MenuFactory
Create an instance of the menu associated with this factory.
createBackgroundedCompositeFigure() - Method in class diva.canvas.tutorial.CompositeFigureTutorial
Create a composite figure that uses the background facility.
createBasicFigure() - Method in class diva.canvas.tutorial.SimpleTutorial
Create an odd-shaped figure.
createBasicRectangle() - Method in class diva.canvas.tutorial.SimpleTutorial
Create a rectangle figure.
createBoundedDraggableFigure() - Method in class diva.canvas.tutorial.DragTutorial
Create another simple figures and make it draggable within a region of the canvas.
createBubblePane() - Method in class diva.canvas.demo.RootPane
Create the embedded bubble editor pane and add it to the foreground layer.
createCloudShape() - Static method in class diva.util.java2d.ShapeUtilities
Create the "cloud" shape.
createComposite(Object) - Method in class diva.graph.basic.BasicGraphModel
Make a new composite node object.
createCompositeFigure() - Method in class diva.canvas.tutorial.CompositeFigureTutorial
Create a composite figure that does not have a background
createConnectors() - Method in class diva.canvas.tutorial.ArcTutorial
Create the connectors between the two figures.
createConnectors() - Method in class diva.canvas.tutorial.ConnectorTutorial
Create the connectors between the two figures.
createDamageRegion(TransformContext, double, double, double, double) - Static method in class diva.canvas.DamageRegion
Create a damage region in this context over the given rectangle.
createDamageRegion(TransformContext, Rectangle2D) - Static method in class diva.canvas.DamageRegion
Create a damage region in this context over the given rectangle.
createDocument(Application) - Method in class diva.graph.schematic.GraphDocument.Factory
Create an empty graph document
createDocument(Application) - Method in interface diva.gui.DocumentFactory
Create a new empty document.
createDocument(Application) - Method in class diva.gui.tutorial.TextDocument.Factory
Create an empty document.
createDocument(Application) - Method in class diva.whiteboard.SketchDocument.Factory
Create an empty sketch document
createDocument(Application, File) - Method in class diva.graph.schematic.GraphDocument.Factory
Create a new graph that contains the given file path
createDocument(Application, File) - Method in interface diva.gui.DocumentFactory
Create a new document based on the given file path.
createDocument(Application, File) - Method in class diva.gui.tutorial.TextDocument.Factory
Create a new document that contains data from the given file.
createDocument(Application, File) - Method in class diva.whiteboard.SketchDocument.Factory
Create a new sketch that contains the given file path.
createDocument(Application, URL) - Method in class diva.graph.schematic.GraphDocument.Factory
Create a new graph that contains data at the given URL
createDocument(Application, URL) - Method in interface diva.gui.DocumentFactory
Create a new document based on the given URL.
createDocument(Application, URL) - Method in class diva.gui.tutorial.TextDocument.Factory
Create a new document that contains data from the given URL.
createDocument(Application, URL) - Method in class diva.whiteboard.SketchDocument.Factory
Throw an exception, as URLs are not supported.
createDraggableFigures() - Method in class diva.canvas.tutorial.DragTutorial
Create a couple of simple figures and make them draggable.
createEdge() - Method in class diva.graph.EdgeCreator
Create a new Edge.
createEdge(Object) - Method in class diva.graph.basic.BasicGraphModel
Make a new edge object.
createFigure() - Method in interface diva.canvas.test.FigureFactory
Create a figure
createFigure() - Method in class diva.canvas.test.ConcreteFigures.BasicRectangleFactory1
 
createFigure() - Method in class diva.canvas.test.ConcreteFigures.BasicRectangleFactory2
 
createFigure() - Method in class diva.canvas.test.ConcreteFigures.IconFigureFactory
 
createFigure() - Method in class diva.canvas.test.ConcreteFigures.ImageFigureFactory
 
createFigure() - Method in class diva.canvas.test.ConcreteFigures.LabelFigureFactory
 
createFigure() - Method in class diva.canvas.test.ConcreteFigures.CompositeFigureFactory1
 
createFigure() - Method in class diva.canvas.test.ConcreteFigures.PaneWrapperFactory
 
createFigures() - Method in class diva.canvas.demo.ZoomDemo
Create a couple of figures.
createFigures() - Method in class diva.canvas.tutorial.TransformedFigureTutorial
Create instances of the class defined in this file.
createFigures() - Method in class diva.canvas.tutorial.FigureTutorial
Create instances of the class defined in this file.
createFigures() - Method in class diva.canvas.tutorial.ArcTutorial
Create the figures that we will draw connectors between.
createFigures() - Method in class diva.canvas.tutorial.ConnectorTutorial
Create the figures that we will draw connectors between.
createGrabHandle(Site) - Method in interface diva.canvas.interactor.GrabHandleFactory
Create a grab-handle that is attached to the given site.
createGrabHandle(Site) - Method in class diva.canvas.interactor.BasicGrabHandleFactory
Create a new basic grab-handle.
createGraphPane() - Method in class diva.canvas.demo.RootPane
Create the embedded graph editor pane and add it to the foreground layer.
createGraphPane() - Method in class diva.canvas.demo.FigureDemo
Create the embedded graph editor pane and add it to the foreground layer.
createIcon1() - Method in class diva.canvas.tutorial.IconTutorial
Create an icon.
createIcon2() - Method in class diva.canvas.tutorial.IconTutorial
Create an icon.
createJCanvas() - Method in class diva.canvas.test.JCanvasTest.CanvasFactory
Create a canvas with the default pane
createJCanvas(CanvasPane) - Method in class diva.canvas.test.JCanvasTest.CanvasFactory
Create a canvas with the given pane.
createLabeledWrappers() - Method in class diva.canvas.tutorial.LabelTutorial
Create a couple of figures with labels attached to them.
createLabels() - Method in class diva.canvas.tutorial.LabelTutorial
Create a collection of labels.
createMenuBar() - Method in class diva.canvas.demo.SpaceWindow
Create the menubar
createMenuBar() - Method in class diva.canvas.demo.MainWindow
Create the menubar
createMenuBar() - Method in class diva.util.gui.BasicWindow
Deprecated. Create the menubar
createMenuBar() - Method in class diva.util.gui.TutorialWindow
Deprecated. Create the menubar
createNode(Object) - Method in class diva.graph.basic.BasicGraphModel
Make a new node object.
createPaintedList(XmlElement) - Static method in class diva.canvas.toolbox.SVGParser
 
createPaintedObject(String, Map) - Static method in class diva.canvas.toolbox.GraphicsParser
Create a new painted object.
createPaintedObject(String, Map) - Static method in class diva.canvas.toolbox.SVGParser
Create a new painted object.
createPaintedObject(String, Map, String) - Static method in class diva.canvas.toolbox.GraphicsParser
Create a new painted object.
createPaintedObject(String, Map, String) - Static method in class diva.canvas.toolbox.SVGParser
Create a new painted object.
createPaintedObject(String, String, String) - Static method in class diva.canvas.toolbox.GraphicsParser
Create a new painted object.
createPaintedObject(String, String, String) - Static method in class diva.canvas.toolbox.SVGParser
Create a new painted object.
createPane(Page, JSketch) - Method in class diva.whiteboard.WhiteboardView
Called by LocalPageListener::intervalAdded
createPolyline() - Method in class diva.canvas.tutorial.SimpleTutorial
Create a polyline.
createSimplePane() - Method in class diva.canvas.demo.FigureDemo
Create the simple embedded pane and add it to the foreground layer.
createStrokedShape(Shape) - Method in class diva.sketch.PenStroke
Returns a Shape whose interior defines the stroked outline of a specified Shape.
createSwatchShape() - Static method in class diva.util.java2d.ShapeUtilities
Create the "swatch" shape.
createTerminals() - Method in class diva.canvas.tutorial.TerminalTutorial
Create a collection of terminals.
createTerminals(IconFigure) - Method in class diva.canvas.tutorial.IconTutorial
Create a collection of terminals an an icon
createTerminals(IconFigure) - Method in class diva.canvas.test.ConcreteFigures.IconFigureFactory
Create a collection of terminals an an icon
createThumbnail(Page) - Method in class diva.whiteboard.WhiteboardView
Return a thumbnail component for the thumbnail view.
createView(Document) - Method in class diva.graph.schematic.GraphEditor
Create a view on the given document.
createView(Document) - Method in class diva.graph.schematic.MultiWindowGraphEditor
Create a view on the given document.
createView(Document) - Method in class diva.gui.AbstractApplication
Create a view to display the given document.
createView(Document) - Method in class diva.gui.MDIApplication
Given a document, create a new view which displays that document.
createView(Document) - Method in class diva.gui.MultiWindowApplication
Create a view to display the given document.
createView(Document) - Method in interface diva.gui.Application
Create a view to display the given document.
createView(Document) - Method in class diva.gui.tutorial.ApplicationTutorial
Return a view of this document.
createView(Document) - Method in class diva.gui.tutorial.MDIApplicationTutorial
Create a view on the given document.
createView(Document) - Method in class diva.whiteboard.Whiteboard
Return a view for the given document.
currentSegment(double[]) - Method in class diva.util.java2d.PolylineIterator
Get the current segment
currentSegment(double[]) - Method in class diva.util.java2d.PolygonIterator
Get the current segment
currentSegment(float[]) - Method in class diva.util.java2d.PolylineIterator
Get the current segment
currentSegment(float[]) - Method in class diva.util.java2d.PolygonIterator
Get the current segment
CUT - Static variable in class diva.gui.DefaultActions
 
cut(Clipboard) - Method in class diva.gui.AbstractView
Remove the currently selected objects from this view, if any, and place them on the given clipboard.
cut(Clipboard) - Method in interface diva.gui.View
Remove the currently selected objects from this view, if any, and place them on the given clipboard.
cut(Clipboard) - Method in class diva.whiteboard.WhiteboardView
Get the currently selected objects from this document, if any, and place them on the given clipboard.
cutAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Cut" that cuts the current selection from the current document and places it into the application's clipboard.

D

DamageRegion - class diva.canvas.DamageRegion.
A damage region represents a region of the canvas that has been "damaged" and hence needs to be repainted.
DamageRegion() - Constructor for class diva.canvas.DamageRegion
FIXME: Visual Cafe barfs on this private
data - Variable in class diva.sketch.parser2d.NativeResults
The typed data that was generated by the rule.
dataBufferAppend(char) - Method in class diva.util.aelfred.XmlParser
Add a character to the data buffer.
dataBufferAppend(char[], int, int) - Method in class diva.util.aelfred.XmlParser
Append (part of) a character array to the data buffer.
dataBufferAppend(String) - Method in class diva.util.aelfred.XmlParser
Add a string to the data buffer.
dataBufferFlush() - Method in class diva.util.aelfred.XmlParser
Flush the contents of the data buffer to the handler, if appropriate, and reset the buffer for new input.
dataBufferNormalize() - Method in class diva.util.aelfred.XmlParser
Normalise whitespace in the data buffer.
dataBufferToString() - Method in class diva.util.aelfred.XmlParser
Convert the data buffer to a string.
debug(String) - Method in class diva.sketch.classification.WeightSet
 
debug(String) - Static method in class diva.sketch.parser2d.DeltaXRelation
Debugging output.
debug(String) - Static method in class diva.sketch.parser2d.DeltaYRelation
Debugging output.
debug(String) - Static method in class diva.sketch.parser2d.AngleRelation
Debugging output.
debug(String) - Static method in class diva.sketch.parser2d.AndConstraint
Debugging output.
debug(String) - Static method in class diva.sketch.parser2d.BasicConstraint
Debugging output.
debug(String) - Static method in class diva.sketch.parser2d.DistanceRelation
Debugging output.
debug(String) - Static method in class diva.sketch.parser2d.ParsingSceneRecognizer
Debugging output.
declaredAttributes(String) - Method in class diva.util.aelfred.XmlParser
Get the declared attributes for an element type.
declaredElements() - Method in class diva.util.aelfred.XmlParser
Get the declared elements for an XML document.
declaredEntities() - Method in class diva.util.aelfred.XmlParser
Get declared entities.
declaredNotations() - Method in class diva.util.aelfred.XmlParser
Get declared notations.
decorate(Figure, FigureDecorator) - Method in interface diva.canvas.FigureContainer
Decorate a child figure, replacing the child figure with the decorator.
decorate(Figure, FigureDecorator) - Method in class diva.canvas.AbstractFigureContainer
Decorate a child figure, replacing the reference to the child figure with the decorator.
decorate(Figure, FigureDecorator) - Method in class diva.canvas.FigureLayer
Decorate a child figure, replacing the child figure with the decorator.
DEFAULT_ANGLE_THRESH - Static variable in class diva.sketch.toolbox.PolygonRecognizer
The default tolerance for the maximum angle error over the sum of the edges of the polygon.
DEFAULT_DIST_THRESH - Static variable in class diva.sketch.toolbox.PolygonRecognizer
The default tolerance for the maximum distance squared between endpoints of lines.
DEFAULT_FILL_COLOR - Static variable in class diva.sketch.BasicSketchController
The default fill color used for sketching.
DEFAULT_LINE_WIDTH - Static variable in class diva.sketch.BasicSketchController
The default pen line width used for sketching.
DEFAULT_MIN_CONFIDENCE - Static variable in class diva.sketch.toolbox.PolygonRecognizer
The default tolerance for the minimum allowable line confidence per stroke.
DEFAULT_PEN_COLOR - Static variable in class diva.sketch.BasicSketchController
The default pen color used for sketching.
DefaultActions - class diva.gui.DefaultActions.
A collection of static methods that create useful default actions.
DefaultActions() - Constructor for class diva.gui.DefaultActions
 
DefaultBundle - class diva.resource.DefaultBundle.
A class that bundles the default Diva resources contained in the diva.resource package.
DefaultBundle() - Constructor for class diva.resource.DefaultBundle
Create a new Bundle of default resources.
defaultFeatureExtractors() - Static method in class diva.sketch.recognition.BasicStrokeRecognizer
Initialize an array of feature extractors which are used to produce a feature set from a gesture.
defaultFilter - Static variable in class diva.canvas.event.MouseFilter
The default mouse filter -- accepts button 1 with no modifiers.
defaultInteractor - Variable in class diva.canvas.tutorial.LabelTutorial
 
defaultInteractor - Variable in class diva.canvas.tutorial.IconTutorial
 
defaultInteractor - Variable in class diva.canvas.tutorial.TerminalTutorial
 
defaultInteractor - Variable in class diva.canvas.tutorial.CompositeFigureTutorial
 
DefaultStoragePolicy - class diva.gui.DefaultStoragePolicy.
A Default storage policy that is useful for most applications.
DefaultStoragePolicy() - Constructor for class diva.gui.DefaultStoragePolicy
 
DELETION_TYPE_ID - Static variable in class diva.whiteboard.CommandInterpreter
 
DeletionListener - class diva.graph.toolbox.DeletionListener.
This class provides deletion support for most simple JGraph components.
DeletionListener() - Constructor for class diva.graph.toolbox.DeletionListener
 
deltas() - Method in class diva.sketch.recognition.SceneDeltaSet
Return the deltas in sorted order from highest confidence to lowest.
DeltaXRelation - class diva.sketch.parser2d.DeltaXRelation.
Calculate the euclidean distance between given sites on pairs of input rectangles.
DeltaXRelation(int, int) - Constructor for class diva.sketch.parser2d.DeltaXRelation
Calculate the delta X between the given sites on two input elements (e1.x - e2.x).
DeltaYRelation - class diva.sketch.parser2d.DeltaYRelation.
Calculate the euclidean distance between given sites on pairs of input rectangles.
DeltaYRelation(int, int) - Constructor for class diva.sketch.parser2d.DeltaYRelation
Calculate the delta Y between the given sites on two input elements (e1.y - e2.y).
DesktopContext - class diva.gui.DesktopContext.
DesktopContext is an application context that displays multiple content panes in an instance of a JDesktopPane.
DesktopContext(AppContext) - Constructor for class diva.gui.DesktopContext
Create an instance of this Frame with the application.
DesktopContext(AppContext, JComponent) - Constructor for class diva.gui.DesktopContext
Create an instance of this Frame with the application.
destroy() - Method in class diva.gui.AppletContext
Override the superclass's destroy method to call the user-specified exit action.
destroyThumbnail(JButton) - Method in class diva.whiteboard.WhiteboardView
Invert whatever was done in createThumbnail().
detectEncoding() - Method in class diva.util.aelfred.XmlParser
Attempt to detect the encoding of an entity.
directionToAngle(int) - Static method in class diva.sketch.parser2d.RelationUtilities
Return the angle in radians corresponding to the given direction constant (EAST is 0 radians).
disconnectEdge(Object, Object) - Method in interface diva.graph.MutableGraphModel
Disconnect an edge from its two enpoints and notify graph listeners with an EDGE_HEAD_CHANGED and an EDGE_TAIL_CHANGED event whose source is the given source.
disconnectEdge(Object, Object) - Method in class diva.graph.modular.MutableModularGraphModel
Disconnect an edge from its two endpoints and notify graph listeners with an EDGE_HEAD_CHANGED and an EDGE_TAIL_CHANGED event.
dispatch(GraphViewEvent) - Method in class diva.graph.GraphController
Dispatch the given graph view event to all registered grpah view listeners.
dispatchEvent(AWTEvent) - Method in class diva.canvas.PaneWrapper
Dispatch an AWT event on this pane figure.
dispatchEvent(AWTEvent) - Method in class diva.canvas.FigureLayer
Dispatch an AWT event on this layer.
dispatchEvent(AWTEvent) - Method in class diva.canvas.CanvasPane
Dispatch an AWT event on this pane.
dispatchEvent(AWTEvent) - Method in class diva.canvas.event.EventLayer
Dispatch an AWT event on this layer.
dispatchEvent(AWTEvent) - Method in interface diva.canvas.event.EventAcceptor
Dispatch an AWT event within this component.
dispatchEvent(GraphEvent) - Method in class diva.graph.toolbox.GraphEventMulticaster
Dispatch an event to the list of listeners, calling the appropriate method based on the event's ID.
dispatchEvent(PropertyChangeEvent) - Method in class diva.util.PropertyChangeMulticaster
Dispatch the given event to all of the listeners.
dispatchGraphEvent(GraphEvent) - Method in class diva.graph.AbstractGraphModel
Send an graph event to all of the graph listeners.
dispatchGraphEvent(GraphEvent) - Method in interface diva.graph.GraphModel
Send an graph event to all of the graph listeners.
dispatchSelectionEvent(SelectionEvent) - Method in class diva.canvas.interactor.BasicSelectionModel
Dispatch a selection event to all registered listeners
displayDocument(Document) - Method in class diva.whiteboard.Whiteboard
Display the given document.
distance(double, double, double, double) - Static method in class diva.sketch.features.FEUtilities
Return the Euclidean distance between two points, (x1, y1) and (x2, y2).
distance(SceneElement, int, SceneElement, int) - Static method in class diva.sketch.parser2d.AbstractRule
Return the distance between the constructor-specified sites on r1 and r2, respectively.
DistanceRelation - class diva.sketch.parser2d.DistanceRelation.
Calculate the euclidean distance between given sites on pairs of input rectangles.
DistanceRelation(int, int) - Constructor for class diva.sketch.parser2d.DistanceRelation
Calculate the euclidean distance between the given sites on two input rectangles.
DistanceStartEndPtsFE - class diva.sketch.features.DistanceStartEndPtsFE.
DistanceStartEndPtsFE computes the distance between the first and the last point of a stroke.
DistanceStartEndPtsFE() - Constructor for class diva.sketch.features.DistanceStartEndPtsFE
 
diva.apps - package diva.apps
This package contains applications built using diva classes.
diva.canvas - package diva.canvas
A Java2D structured graphics package.
diva.canvas.connector - package diva.canvas.connector
Support for "connectors," which are figures that draw themselves between sites on other figures.
diva.canvas.demo - package diva.canvas.demo
This is a demonstration application for the Diva canvas.
diva.canvas.event - package diva.canvas.event
Event-handling support for the Diva canvas.
diva.canvas.interactor - package diva.canvas.interactor
The library of interactors and other interaction support.
diva.canvas.test - package diva.canvas.test
 
diva.canvas.toolbox - package diva.canvas.toolbox
The Diva "toolbox" package.
diva.canvas.tutorial - package diva.canvas.tutorial
A set of tutorials for the Diva canvas.
diva.graph - package diva.graph
A generic and highly-extensible graph visualization library whose basic interface is a widget analagous to java.swing.JTree.
diva.graph.basic - package diva.graph.basic
 
diva.graph.layout - package diva.graph.layout
A graph layout package which provides static and incremental node layout and edge routing facilities.
diva.graph.modular - package diva.graph.modular
 
diva.graph.schematic - package diva.graph.schematic
 
diva.graph.toolbox - package diva.graph.toolbox
 
diva.gui - package diva.gui
The Diva GUI framework.
diva.gui.toolbox - package diva.gui.toolbox
A collection of useful GUI-related classes and widgets.
diva.gui.tutorial - package diva.gui.tutorial
 
diva.resource - package diva.resource
This package contains resources for Diva.
diva.sketch - package diva.sketch
This package contains classes for building a sketch-based user interface.
diva.sketch.classification - package diva.sketch.classification
This package provides basic pattern classification.
diva.sketch.demo - package diva.sketch.demo
 
diva.sketch.features - package diva.sketch.features
This package implements feature extraction including Rubine's list of features given in [1].
diva.sketch.parser2d - package diva.sketch.parser2d
 
diva.sketch.recognition - package diva.sketch.recognition
Utilities for doing single-stroke and multi-stroke recognition.
diva.sketch.toolbox - package diva.sketch.toolbox
This package contains general utilities for applications that use recognition, such as: stroke filtering utilities out-of-the-box recognizers etc
diva.util - package diva.util
A package of utility classes.
diva.util.aelfred - package diva.util.aelfred
This package contains the source of the Aelfred XML parser from Microstar.
diva.util.gui - package diva.util.gui
Utility classes to help building GUIs for demos and applications.
diva.util.java2d - package diva.util.java2d
Java2D support classes and methods.
diva.util.jester - package diva.util.jester
A small package for writing test suites for Java classes.
diva.util.jester.demo - package diva.util.jester.demo
This is a simple package containing a couple of classes and test files for them that use the diva.util.jester framework to exercise them.
diva.util.test - package diva.util.test
 
diva.util.xml - package diva.util.xml
A package of utilities for the XML parsing and printing.
diva.whiteboard - package diva.whiteboard
The Diva whiteboard is a sketch-based editor.
doctypeDecl(String, String, String) - Method in class diva.util.aelfred.HandlerBase
Handle a document type declaration.
doctypeDecl(String, String, String) - Method in interface diva.util.aelfred.XmlHandler
Document type declaration.
doctypeDecl(String, String, String) - Method in class diva.util.xml.XmlReader.Handler
Handle a document type declaration.
Document - interface diva.gui.Document.
Document is an interface that captures the notion of a document in a graphical application.
DocumentFactory - interface diva.gui.DocumentFactory.
DocumentFactory is an factory interface that creates Document objects.
documentList() - Method in class diva.gui.AbstractApplication
Get list of all document objects known by this application.
documentList() - Method in interface diva.gui.Application
Get an iterator over all documents
doneTestSuite() - Method in class diva.util.jester.TestHarness
Clean up after running a test suite.
dotProduct(double, double, double, double, double, double) - Static method in class diva.sketch.features.FEUtilities
Return the dot product of the vector (x1, y1)(x2, y2) and the vector (x2, y2)(x3, y3).
DragInteractor - class diva.canvas.interactor.DragInteractor.
An interactor that responds to mouse drag events.
DragInteractor() - Constructor for class diva.canvas.interactor.DragInteractor
 
DragTutorial - class diva.canvas.tutorial.DragTutorial.
An example showing how to make figures draggable with interactors.
DragTutorial() - Constructor for class diva.canvas.tutorial.DragTutorial
Create a JCanvas and put it into a window.
drawEdge(Object) - Method in class diva.graph.GraphController
Draw the given edge: create a figure, place it in the canvas, and associate the figure with the edge.
drawEdge(Object) - Method in class diva.graph.EdgeController
Draw the edge and add it to the layer, establishing a two-way correspondence between the model and the view.
drawFigures() - Method in class diva.canvas.demo.SelectionPane
Draw some figures on it
drawFigures() - Method in class diva.canvas.demo.SimplePane
Draw some figures
drawNode(Object) - Method in class diva.graph.GraphController
Draw the given node: create a figure, place it in the canvas, and associate the figure with the node.
drawNode(Object) - Method in class diva.graph.NodeController
Render the given node and add the resulting figure to the foreground layer of the graph pane.
drawNode(Object, Object) - Method in class diva.graph.GraphController
Draw the given node: create a figure, place it in the figure of the given parent node, and associate the figure with the node.
drawNode(Object, Object) - Method in class diva.graph.NodeController
Render the given node and add the resulting figure to the given node's figure, which is assumed to be a CompositeFigure in the controller's graph pane.
DTD_1 - Static variable in class diva.gui.MultipageParser
The DTD for multipage models.
DTD_1 - Static variable in class diva.sketch.SketchParser
The DTD for sketch files.
DTD_1 - Static variable in class diva.sketch.recognition.TrainingParser
The DTD for sketch files.
DTD_1 - Static variable in class diva.sketch.recognition.SceneParser
The DTD for sketch files.
DTD_1 - Static variable in class diva.util.jester.EventParser
The DTD for sketch files.
DTD_URL - Static variable in class diva.gui.MultipageParser
The URL where the DTD is stored.
DTD_URL - Static variable in class diva.sketch.SketchParser
The URL where the DTD is stored.
DTD_URL - Static variable in class diva.sketch.recognition.TrainingParser
The URL where the DTD is stored.
DTD_URL - Static variable in class diva.sketch.recognition.SceneParser
The URL where the DTD is stored.
DTD_URL - Static variable in class diva.util.jester.EventParser
The URL where the DTD is stored.
DurationFE - class diva.sketch.features.DurationFE.
DurationFE computes the amount of time taken to draw a stroke.
DurationFE() - Constructor for class diva.sketch.features.DurationFE
 

E

EAST - Static variable in class diva.sketch.parser2d.AbstractRule
The east direction constant.
EAST - Static variable in class diva.sketch.parser2d.RelationUtilities
The east direction constant.
Edge - interface diva.graph.modular.Edge.
An edge is an object that is contained by a graph and connects nodes.
EDGE_DRAWN - Static variable in class diva.graph.GraphViewEvent
The given edge was just drawn.
EDGE_HEAD_CHANGED - Static variable in class diva.graph.GraphEvent
Edge head is changed; target is the edge, old value is the previous value of the edge head.
EDGE_ROUTED - Static variable in class diva.graph.GraphViewEvent
The connector representing an edge was just routed.
EDGE_TAIL_CHANGED - Static variable in class diva.graph.GraphEvent
Edge tail is changed; target is the edge, old value is the previous value of the edge tail.
EdgeController - class diva.graph.EdgeController.
A basic implementation of GraphController, which works with simple graphs that have edges connecting simple nodes.
EdgeController.EdgeDropper - class diva.graph.EdgeController.EdgeDropper.
An inner class that handles interactive changes to connectivity.
EdgeController.EdgeDropper(EdgeController) - Constructor for class diva.graph.EdgeController.EdgeDropper
 
EdgeController(GraphController) - Constructor for class diva.graph.EdgeController
Create a new edge controller with basic interaction.
edgeCost(Object) - Method in class diva.graph.layout.GridAnnealingLayout
Return the absolute cost of an individual edge.
EdgeCreator - class diva.graph.EdgeCreator.
An interactor that interactively drags edges from one node to another.
EdgeCreator(GraphController) - Constructor for class diva.graph.EdgeCreator
 
edgeDrawn(GraphViewEvent) - Method in interface diva.graph.GraphViewListener
 
edgeDrawn(GraphViewEvent) - Method in class diva.graph.layout.IncrementalLayoutListener
 
edgeDrawn(Object) - Method in class diva.graph.layout.IncrLayoutAdapter
Called in response to the edge head being changed.
edgeDrawn(Object) - Method in class diva.graph.layout.ProxyIncrLayout
Called in response to the given edge being given a figure.
edgeDrawn(Object) - Method in class diva.graph.layout.RandomIncrLayout
Called in response to the given edge being drawn.
edgeDrawn(Object) - Method in interface diva.graph.layout.IncrementalLayout
Called in response to the given edge being given a figure.
edgeHeadChanged(GraphEvent) - Method in interface diva.graph.GraphListener
An edge's head has been changed in a registered graph or one of its subgraphs.
edgeHeadChanged(GraphEvent) - Method in class diva.graph.toolbox.GraphLogger
Add this event to the log.
edgeHeadChanged(GraphEvent) - Method in class diva.graph.toolbox.GraphEventMulticaster
Dispatch the edgeHeadChanged() event to the listeners.
EdgeInteractor - class diva.graph.EdgeInteractor.
An interactor for edges.
EdgeInteractor() - Constructor for class diva.graph.EdgeInteractor
Create a new edge interactor.
EdgeInteractor(SelectionModel) - Constructor for class diva.graph.EdgeInteractor
Create a new edge interactor that belongs to the given controller and that uses the given selection model
EdgeModel - interface diva.graph.modular.EdgeModel.
An edge is an object that is contained by a graph and connects nodes.
EdgeRenderer - interface diva.graph.EdgeRenderer.
A factory which creates a visual representation (EdgeFigure) given an edge input.
edgeRouted(GraphViewEvent) - Method in interface diva.graph.GraphViewListener
 
edgeRouted(GraphViewEvent) - Method in class diva.graph.layout.IncrementalLayoutListener
 
edgeRouted(Object) - Method in class diva.graph.layout.IncrLayoutAdapter
Called in response to the edge tail being changed.
edgeRouted(Object) - Method in class diva.graph.layout.ProxyIncrLayout
Called in response to the connector representing the given edge being rereouted.
edgeRouted(Object) - Method in class diva.graph.layout.RandomIncrLayout
Called in response to the connector representing the given edge being rereouted.
edgeRouted(Object) - Method in interface diva.graph.layout.IncrementalLayout
Called in response to the connector representing the given edge being rereouted.
edgeSet(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Return a new set that contains any edges that are connected to any nodes in the given composite.
edgeTailChanged(GraphEvent) - Method in interface diva.graph.GraphListener
An edge's tail has been changed in a registered graph or one of its subgraphs.
edgeTailChanged(GraphEvent) - Method in class diva.graph.toolbox.GraphLogger
Add this event to the log.
edgeTailChanged(GraphEvent) - Method in class diva.graph.toolbox.GraphEventMulticaster
Dispatch the edgeTailChanged() event to the listeners.
elementCount() - Method in class diva.util.xml.XmlElement
Return the number of child elements.
elements() - Method in class diva.sketch.recognition.SceneDelta
Entries that were added but are not the root.
elements() - Method in class diva.sketch.recognition.SceneDelta.Subtractive
Entries that were added but are not the root.
elements() - Method in class diva.sketch.recognition.SceneDelta.Additive
Entries that were added but are not the root.
elements() - Method in class diva.util.xml.XmlElement
Return an Iterator of all the child elements of this element.
elements(String) - Method in class diva.util.xml.XmlElement
Return an Iterator of all the child elements of this element that have the given element type.
elementsOfType(Type, CompositeElement) - Method in class diva.sketch.recognition.BasicScene
Find the elements in the scene with the given type that do not contradict the given element, and return them as a list.
elementsOfType(Type, CompositeElement) - Method in interface diva.sketch.recognition.Scene
Find the elements in the scene with the given type that do not contradict the given element, and return them as a list.
ellipsis(String, int) - Static method in class diva.gui.GUIUtilities
Return a string that contains the original string, limited to the given number of characters.
encodingError(String, int, int) - Method in class diva.util.aelfred.XmlParser
Report a character encoding error.
endDocument() - Method in class diva.util.aelfred.HandlerBase
Handle the end of the document.
endDocument() - Method in interface diva.util.aelfred.XmlHandler
End the document.
endDocument() - Method in class diva.util.xml.XmlReader.Handler
End the document.
endElement(String) - Method in class diva.gui.MultipageParser
Handle the end of an element.
endElement(String) - Method in class diva.sketch.recognition.TrainingParser
Handle the end of an element.
endElement(String) - Method in class diva.util.aelfred.HandlerBase
Handle the end of an element.
endElement(String) - Method in interface diva.util.aelfred.XmlHandler
End an element.
endElement(String) - Method in class diva.util.xml.XmlReader.Handler
Move up one level in the parse tree.
endExternalEntity(String) - Method in class diva.util.aelfred.HandlerBase
Handle the end of an external entity.
endExternalEntity(String) - Method in interface diva.util.aelfred.XmlHandler
End an external entity.
endExternalEntity(String) - Method in class diva.util.xml.XmlReader.Handler
Move up one level in the external entity tree.
ENTITY_INTERNAL - Static variable in class diva.util.aelfred.XmlParser
Constant: the entity is internal.
ENTITY_NDATA - Static variable in class diva.util.aelfred.XmlParser
Constant: the entity is external, non-XML data.
ENTITY_TEXT - Static variable in class diva.util.aelfred.XmlParser
Constant: the entity is external XML data.
ENTITY_UNDECLARED - Static variable in class diva.util.aelfred.XmlParser
Constant: the entity has not been declared.
equals(Object) - Method in class diva.sketch.recognition.SimpleData
Equality test: are the types equal?
equals(Object) - Method in class diva.sketch.recognition.Type
Return whether the given type object is equivalent to this one.
equals(Object) - Method in class diva.sketch.toolbox.TextData
Equality test: are the types equal?
equals(Object) - Method in class diva.sketch.toolbox.TextLine
 
equals(Object) - Method in class diva.sketch.toolbox.TextBlock
 
error(String, char, String) - Method in class diva.util.aelfred.XmlParser
Report a serious error.
error(String, String, int, int) - Method in class diva.util.aelfred.HandlerBase
Throw an exception for a fatal error.
error(String, String, int, int) - Method in interface diva.util.aelfred.XmlHandler
Fatal XML parsing error.
error(String, String, int, int) - Method in class diva.util.xml.XmlReader.Handler
Print an error message to the error stream.
error(String, String, String) - Method in class diva.util.aelfred.XmlParser
Report an error.
EVENT_STREAM_TAG - Static variable in class diva.util.jester.EventParser
 
EventAcceptor - interface diva.canvas.event.EventAcceptor.
An event acceptor is a canvas component object that is prepared to accept an AWT event, and then possibly process and consume it.
EventLayer - class diva.canvas.event.EventLayer.
An event layer is a canvas layer that accepts mouse events.
EventLayer() - Constructor for class diva.canvas.event.EventLayer
 
EventParser - class diva.util.jester.EventParser.
EventParser parses an XML file representing a stream of AWT input events into an array of InputEvent objects.
EventParser(Component) - Constructor for class diva.util.jester.EventParser
Construct a new event parser that parses events from the input string and attributes them to the given source component.
EventPlayer - class diva.util.jester.EventPlayer.
EventPlayer uses the java.awt.robot API to inject streams of events into a component.
EventPlayer(Component) - Constructor for class diva.util.jester.EventPlayer
Play events into the given component.
EventRecorder - class diva.util.jester.EventRecorder.
EventRecorder listens to all of the mouse and keyboard events on a given component and records these into a sequence which can then be played back using an EventPlayer object.
EventRecorder(Component) - Constructor for class diva.util.jester.EventRecorder
Record events from the given component.
EventWriter - class diva.util.jester.EventWriter.
EventParser parses an XML file representing a stream of AWT input events into an array of InputEvent objects.
EventWriter() - Constructor for class diva.util.jester.EventWriter
 
EXAMPLE_TAG - Static variable in class diva.sketch.recognition.TrainingParser
Indicate an example.
examples() - Method in class diva.sketch.classification.WeightSet
Return an iterator over the examples of this classifier.
EXIT - Static variable in class diva.gui.DefaultActions
 
exitAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Exit" that tries to close all the open documents, and if all of them are closed successfully, then exits Java.
expandSelection(SelectionInteractor, Figure) - Method in class diva.canvas.interactor.SelectionDragger
Expand the selection by adding an item to it and adding highlight rendering to it.
extend(Rectangle2D) - Method in class diva.canvas.DamageRegion
Extend the damage region with the given rectangle.
extendArray(Object, int, int) - Method in class diva.util.aelfred.XmlParser
Ensure the capacity of an array, allocating a new one if necessary.
ExtensionFileFilter - class diva.gui.ExtensionFileFilter.
A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about.
ExtensionFileFilter() - Constructor for class diva.gui.ExtensionFileFilter
Creates a file filter.
ExtensionFileFilter(String) - Constructor for class diva.gui.ExtensionFileFilter
Creates a file filter that accepts files with the given extension.
ExtensionFileFilter(String[]) - Constructor for class diva.gui.ExtensionFileFilter
Creates a file filter from the given string array.
ExtensionFileFilter(String[], String) - Constructor for class diva.gui.ExtensionFileFilter
Creates a file filter from the given string array and description.
ExtensionFileFilter(String, String) - Constructor for class diva.gui.ExtensionFileFilter
Creates a file filter that accepts the given file type.
extractFeatures(TimedStroke) - Method in class diva.sketch.recognition.BasicStrokeRecognizer
First filter the stroke, then extract the features from the filtered copy stroke by running each of the feature extractors on the copy, in order, and setting the corresponding i'th feature in the returned feature set to the extracted value from the i'th feature extractor.

F

f - Variable in class diva.util.jester.demo.BarTest.BarTestCase
 
f - Variable in class diva.util.jester.demo.FooTest.FooTestCase
 
fail(String) - Method in class diva.util.jester.TestCase
Fail a test.
FeatureExtractor - interface diva.sketch.features.FeatureExtractor.
A feature extractor performs computation on a stroke and outputs a value that represents the stroke's feature.
FeatureSet - class diva.sketch.classification.FeatureSet.
A data structure for storing features for a classifier; it is basically a typesafe array of doubles with appropriate accessor methods.
FeatureSet(double[]) - Constructor for class diva.sketch.classification.FeatureSet
 
FeatureSet(int) - Constructor for class diva.sketch.classification.FeatureSet
 
FEUtilities - class diva.sketch.features.FEUtilities.
Common calculation methods used in path filtering and feature extraction processes.
FEUtilities() - Constructor for class diva.sketch.features.FEUtilities
 
figure - Variable in class diva.canvas.test.FigureTest.RegionTestCase
 
Figure - interface diva.canvas.Figure.
A Figure is a persistent object drawn on the screen.
FigureContainer - interface diva.canvas.FigureContainer.
The FigureContainer interface is implemented by any visible component that can contain figures.
FigureDecorator - class diva.canvas.FigureDecorator.
A FigureDecorator is a figure container that contains a single child figure.
FigureDecorator() - Constructor for class diva.canvas.FigureDecorator
 
FigureDemo - class diva.canvas.demo.FigureDemo.
A demonstration of the Canvas class.
FigureDemo(String) - Constructor for class diva.canvas.demo.FigureDemo
Constructor
FigureFactory - interface diva.canvas.test.FigureFactory.
The figure factory is an interface that concrete factories must implement.
figureForSymbol(Symbol) - Method in class diva.sketch.BasicSketchController
Return a figure for the given symbol, or null if the symbol does not have a figure representation.
FigureIcon - class diva.gui.toolbox.FigureIcon.
An icon that looks like a diva figure.
FigureIcon(Figure) - Constructor for class diva.gui.toolbox.FigureIcon
Create a new icon that looks like the given figure.
FigureIcon(Figure, boolean) - Constructor for class diva.gui.toolbox.FigureIcon
Create a new icon that looks like the given figure.
FigureIcon(Figure, int, int) - Constructor for class diva.gui.toolbox.FigureIcon
Create a new icon that looks like the given figure.
FigureIcon(Figure, int, int, int, boolean) - Constructor for class diva.gui.toolbox.FigureIcon
Create a new icon that looks like the given figure.
figureLayer - Variable in class diva.canvas.demo.SelectionPane
The layer to draw all figures in
figureLayer - Variable in class diva.canvas.demo.SimplePane
The layer to draw all figure in
figureLayer - Variable in class diva.canvas.demo.RootPane
The layer to draw all figures in
FigureLayer - class diva.canvas.FigureLayer.
A figure layer is a layer on which Figures can be drawn.
FigureLayer() - Constructor for class diva.canvas.FigureLayer
Create a new figure layer that is not in a pane.
FigureLayer(CanvasPane) - Constructor for class diva.canvas.FigureLayer
Create a new figure layer within the given pane.
FigureLayer(CanvasPane, ZList) - Constructor for class diva.canvas.FigureLayer
Create a new figure layer within the given pane and with the given ZList to hold the figures it contains.
FigureLayer(ZList) - Constructor for class diva.canvas.FigureLayer
Create a new figure layer with the given ZList to hold its figures.
figures() - Method in class diva.canvas.BasicZList
Return an iteration of the figures in this container.
figures() - Method in class diva.canvas.AbstractFigureContainer
Return an iteration of the children, in an undefined order.
figures() - Method in class diva.canvas.CompositeFigure
Return an iteration of the children, in an undefined order.
figures() - Method in interface diva.canvas.FigureSet
Return an iteration of the figures in this set, in an undefined order.
figures() - Method in class diva.canvas.FigureLayer
Return an iteration of the figures in this container.
figures() - Method in class diva.canvas.FigureDecorator
Return an iteration containing the one child.
FigureSet - interface diva.canvas.FigureSet.
The FigureSet interface is the interface implemented by any class that contain references to a set of figures.
figuresFromBack() - Method in class diva.canvas.BasicZList
Return an iteration of the figures in this container, from highest index to lowest index.
figuresFromBack() - Method in class diva.canvas.AbstractFigureContainer
Return an iteration of the children, from back to front.
figuresFromBack() - Method in class diva.canvas.CompositeFigure
Return an iteration of the children, from back to front.
figuresFromBack() - Method in interface diva.canvas.FigureSet
Return an iteration of the figures in this set, from back to front.
figuresFromBack() - Method in class diva.canvas.FigureLayer
Return an iteration of the figures in this container, from back to front.
figuresFromBack() - Method in class diva.canvas.FigureDecorator
Return an iteration containing the one child.
figuresFromFront() - Method in class diva.canvas.BasicZList
Return an iteration of the figures in this container, from lowest index to highest index.
figuresFromFront() - Method in class diva.canvas.AbstractFigureContainer
Return an iteration of the children, from front to back.
figuresFromFront() - Method in class diva.canvas.CompositeFigure
Return an iteration of the children, from front to back.
figuresFromFront() - Method in interface diva.canvas.FigureSet
Return an iteration of the figures in this set, from back to front.
figuresFromFront() - Method in class diva.canvas.FigureLayer
Return an iteration of the figures in this container, from front to back.
figuresFromFront() - Method in class diva.canvas.FigureDecorator
Return an iteration containing the one child.
FigureTest - class diva.canvas.test.FigureTest.
A test suite for Figure.
FigureTest.RegionTestCase - class diva.canvas.test.FigureTest.RegionTestCase.
Region testing test case.
FigureTest.RegionTestCase(FigureTest, String) - Constructor for class diva.canvas.test.FigureTest.RegionTestCase
 
FigureTest(TestHarness, FigureFactory) - Constructor for class diva.canvas.test.FigureTest
Constructor
FigureTutorial - class diva.canvas.tutorial.FigureTutorial.
An example showing how to make custom figures.
FigureTutorial.CustomRectangle - class diva.canvas.tutorial.FigureTutorial.CustomRectangle.
CustomRectangle is a class that paints itself as a rectangle and draw a red plus sign over the top of itself.
FigureTutorial.CustomRectangle(FigureTutorial, double, double, double, double) - Constructor for class diva.canvas.tutorial.FigureTutorial.CustomRectangle
Create a new instance of this figure.
FigureTutorial() - Constructor for class diva.canvas.tutorial.FigureTutorial
Create a JCanvas and put it into a window.
FigureWrapper - class diva.canvas.FigureWrapper.
A FigureWrapper is a figure container that contains a single child figure.
FigureWrapper(Figure) - Constructor for class diva.canvas.FigureWrapper
Construct a new figure with the given child figure.
FILL_COLOR - Static variable in class diva.whiteboard.WhiteboardState
 
FILL_TAG - Static variable in class diva.sketch.SketchParser
Indicate the fill to draw the gesture with.
fillPaint - Variable in class diva.util.java2d.PaintedShape
The paint for the fill.
Filter - interface diva.util.Filter.
An interface for objects that filter other objects
filterCR() - Method in class diva.util.aelfred.XmlParser
Filter carriage returns in the read buffer.
FilteredIterator - class diva.util.FilteredIterator.
An iterator that takes another iterator, and applies a filter to each element that it gets.
FilteredIterator(Iterator, Filter) - Constructor for class diva.util.FilteredIterator
 
filterTypes(StrokeRecognitionSet) - Method in class diva.sketch.toolbox.RetypingRecognizer
Take a recognition set generated by the LLR and see whether or not it contains some allowed types with non-zero confidences.
FINAL_STATE - Static variable in class diva.graph.toolbox.StateBubble
The style of a finalstate
findArea(Point2D, Point2D, Point2D) - Static method in class diva.sketch.features.FEUtilities
Given three points each represents the vertex of a triangle, return the area of this triangle.
findSlope(double, double, double, double) - Static method in class diva.sketch.features.FEUtilities
Find the slope of the line formed by two points (p1x, p1y) and (p2x, p2y).
finishStroke() - Method in class diva.sketch.SketchLayer
Finish the current stroke and clear the layer.
finishStroke() - Method in class diva.sketch.toolbox.PanZoomInterpreter
Called upon mouse released event.
finishStroke(LayerEvent) - Method in class diva.sketch.BasicInterpreter
Called at the end of the mouseReleased method to finish the drawing of a stroke.
fireInternalAction(String) - Method in class diva.gui.toolbox.JPseudoFrame
Fire an action event
fireLayerEvent(LayerEvent) - Method in class diva.canvas.interactor.DragInteractor
Fire a layer event.
first - Variable in class diva.util.jester.TestFailedException
One of the objects involved in the failed test.
firstMatch(Iterator, Filter) - Static method in class diva.util.IteratorUtilities
Return the first element in an iterator that matches the given filter, or null if there isn't one.
firstNotMatch(Iterator, Filter) - Static method in class diva.util.IteratorUtilities
Return the first element in an iterator that doesn't match the given filter, or null if there isn't one.
FixedNormalSite - class diva.canvas.connector.FixedNormalSite.
A site decorator that disallows changing the normal.
FixedNormalSite(Site) - Constructor for class diva.canvas.connector.FixedNormalSite
 
FocusMouseListener - class diva.gui.toolbox.FocusMouseListener.
A mouse listener that requests focus for the source of any mouse event it receives.
FocusMouseListener() - Constructor for class diva.gui.toolbox.FocusMouseListener
 
Foo - class diva.util.jester.demo.Foo.
Foo: a name path with bugs in it
Foo() - Constructor for class diva.util.jester.demo.Foo
 
FooTest - class diva.util.jester.demo.FooTest.
A unit test suite for Foo.
FooTest.FooFactory - class diva.util.jester.demo.FooTest.FooFactory.
 
FooTest.FooFactory() - Constructor for class diva.util.jester.demo.FooTest.FooFactory
 
FooTest.FooTestCase - class diva.util.jester.demo.FooTest.FooTestCase.
 
FooTest.FooTestCase(FooTest, String) - Constructor for class diva.util.jester.demo.FooTest.FooTestCase
 
FooTest(TestHarness, FooTest.FooFactory) - Constructor for class diva.util.jester.demo.FooTest
Constructor
freeIndex(String) - Method in class diva.util.PropertyIndexSet
Free the index of slotName for use by another property.

G

gaussian(double, double, double) - Method in class diva.apps.Generator
 
GaussianWeightSet - class diva.sketch.classification.GaussianWeightSet.
Given a set of training examples (each example is a feature vector), a Gaussian classifier computes the mu and sigma for each type of features.
GaussianWeightSet(String) - Constructor for class diva.sketch.classification.GaussianWeightSet
Constructs a gaussian weight set with the specified type.
generate(Object) - Method in interface diva.util.xml.XmlBuilder
Given an object, produce an XML representation of it.
Generator - class diva.apps.Generator.
 
Generator.ThetaVector - class diva.apps.Generator.ThetaVector.
 
Generator.ThetaVector(Generator) - Constructor for class diva.apps.Generator.ThetaVector
 
Generator(ArrayList, int) - Constructor for class diva.apps.Generator
Given a list of strokes each of which has 'numPoints' vertices, compute mu and sigma for theta and segment length at each interval.
genStroke() - Method in class diva.apps.Generator
 
GeometricSet - interface diva.canvas.GeometricSet.
An interface for figure sets with that have their contents defined geometrically.
Geometry - interface diva.canvas.interactor.Geometry.
Geometry is an interface that captures the concept of an abstract figure geometry.
GestureTrainer - class diva.apps.GestureTrainer.
GestureTrainer is a gesture training program which provides an editor for an user to sketch gestures and assign type names.
GestureTrainer() - Constructor for class diva.apps.GestureTrainer
Create a gesture training editor.
get(int) - Method in interface diva.canvas.ZList
Return the figure at the given index.
get(int) - Method in class diva.canvas.BasicZList
Get the figure at the given index.
get(int) - Method in class diva.canvas.CompositeFigure
Return the figure at the given index.
get(int) - Method in class diva.canvas.FigureLayer
Get the figure at the given index.
getAction() - Method in class diva.canvas.interactor.ActionInteractor
Return the action associated with this interactor.
getAction(String) - Method in class diva.gui.AbstractApplication
Get an action by name.
getAction(String) - Method in interface diva.gui.Application
Get an action by name.
getAnchor() - Method in class diva.canvas.toolbox.LabelFigure
Get the point at which this figure is "anchored." This will be one of the positioning constants defined in javax.swing.SwingConstants.
getAnchorPoint() - Method in class diva.canvas.toolbox.LabelFigure
Get the location at which the anchor is currently located.
getAngle() - Method in class diva.canvas.connector.ArcConnector
Get the angle at whih the arc leaves the tail figure.
getAppContext() - Method in class diva.gui.AbstractApplication
Get the frame that this application draws itself in.
getAppContext() - Method in interface diva.gui.Application
Get the context that this application draws itself in.
getApplication() - Method in class diva.gui.AbstractDocument
Get the application that this document belongs to.
getApplication() - Method in interface diva.gui.Document
Get the application that this document belongs to.
getApplication() - Static method in class diva.gui.ApplicationExceptionHandler
 
getArea() - Method in class diva.sketch.features.ConvexHull
Return the area of the convex hull.
getAttachSite() - Method in interface diva.canvas.connector.Terminal
Get the site that the terminal is attached to.
getAttachSite() - Method in class diva.canvas.connector.StraightTerminal
Get the site to which the terminal is attached
getAttachSite() - Method in class diva.canvas.connector.TerminalFigure
Get the site that the terminal is attached to.
getAttribute(String) - Method in class diva.util.xml.XmlElement
Return the value of the attribute with the given name, or null if there isn't one.
getAttribute(String, String) - Method in class diva.util.aelfred.XmlParser
Retrieve the three-member array representing an attribute declaration.
getAttributeDefaultValue(String, String) - Method in class diva.util.aelfred.XmlParser
Retrieve the default value of a declared attribute.
getAttributeDefaultValueType(String, String) - Method in class diva.util.aelfred.XmlParser
Retrieve the default value type of a declared attribute.
getAttributeEnumeration(String, String) - Method in class diva.util.aelfred.XmlParser
Retrieve the allowed values for an enumerated attribute type.
getAttributeExpandedValue(String, String) - Method in class diva.util.aelfred.XmlParser
Retrieve the expanded value of a declared attribute.
getAttributeMap() - Method in class diva.util.xml.XmlElement
Return the map from attribute names to value.
getAttributeType(String, String) - Method in class diva.util.aelfred.XmlParser
Retrieve the declared type of an attribute.
getBackground() - Method in class diva.canvas.PaneWrapper
Get the background figure.
getBackground() - Method in class diva.canvas.toolbox.IconFigure
Get the background figure of the icon.
getBackgroundAt(int) - Method in class diva.gui.toolbox.JShadePane
Returns the tab background color at the given index.
getBackgroundEventLayer() - Method in class diva.canvas.GraphicsPane
Get the background event layer
getBackgroundFigure() - Method in class diva.canvas.CompositeFigure
Get the background figure.
getBackgroundFigure() - Method in class diva.canvas.toolbox.BackgroundedCompositeFigure
Return the figure that is displayed in the background of this figure and which handles the events that this figure's children do not.
getBackgroundInterpreter() - Method in class diva.sketch.BasicSketchController
Return the interpreter that processes strokes on the backgound event layer.
getBackgroundLayer() - Method in class diva.canvas.GraphicsPane
Get the background layer
getBendRadius() - Method in class diva.canvas.connector.ManhattanConnector
Return the maximum bend radius of the manhattan-routed edge.
getBestRecognition() - Method in class diva.sketch.recognition.StrokeRecognitionSet
Return the recognition object that has the highest confidence value, or null if there are no recognitions in this set.
getBounds() - Method in interface diva.canvas.ZList
Get the bounding box of all the figures in this list.
getBounds() - Method in class diva.canvas.BasicZList
Get the bounding box of all the figures in this list.
getBounds() - Method in class diva.canvas.AbstractFigure
Get the bounding box of this figure.
getBounds() - Method in class diva.canvas.CompositeFigure
Get the bounding box of this figure.
getBounds() - Method in interface diva.canvas.Figure
Get the bounding box of this figure.
getBounds() - Method in class diva.canvas.FigureWrapper
Get the bounds of the child figure.
getBounds() - Method in class diva.canvas.FigureDecorator
Get the bounds of this figure, which is by default the same as the child figure, if there is one, or a very small rectangle if there isn't.
getBounds() - Method in class diva.canvas.connector.Arrowhead
Get the bounding box of the shape used to draw this connector end.
getBounds() - Method in class diva.canvas.connector.StraightTerminal
Get the bounding box of this terminal.
getBounds() - Method in class diva.canvas.connector.AbstractConnector
Get the bounding box of this connector.
getBounds() - Method in class diva.canvas.connector.Blob
Get the bounding box of the shape used to draw this connector end.
getBounds() - Method in class diva.canvas.connector.TerminalFigure
Get the bounding box of this figure.
getBounds() - Method in interface diva.canvas.connector.ConnectorEnd
Get the bounding box of the shape used to draw this connector end.
getBounds() - Method in class diva.canvas.interactor.Manipulator
Get the bounds.
getBounds() - Method in class diva.canvas.interactor.BoundsGeometry
Get the current rectangle that defines this geometry.
getBounds() - Method in class diva.canvas.interactor.BoundsConstraint
Get the bounds
getBounds() - Method in class diva.canvas.interactor.CircleGeometry
Get the current rectangle that defines this geometry.
getBounds() - Method in class diva.canvas.toolbox.BasicFigure
Get the bounding box of this figure.
getBounds() - Method in class diva.canvas.toolbox.BasicHighlighter
Get the bounds.
getBounds() - Method in class diva.canvas.toolbox.LabelFigure
Get the bounds of this label
getBounds() - Method in class diva.canvas.toolbox.SwingWrapper
Get the bounding box of this figure.
getBounds() - Method in class diva.canvas.toolbox.BackgroundedCompositeFigure
Return a union of the bounding box of the children and the bounding box of the background figure.
getBounds() - Method in class diva.canvas.toolbox.PathFigure
Get the bounding box of this figure.
getBounds() - Method in class diva.canvas.toolbox.LabelWrapper
Get the bounds of this figure.
getBounds() - Method in class diva.canvas.toolbox.IconFigure
Get the bounding box of this icon, including the terminals.
getBounds() - Method in class diva.canvas.toolbox.VersatileFigure
Get the bounding box of this figure.
getBounds() - Method in class diva.canvas.toolbox.PaintedFigure
Get the bounding box of this figure.
getBounds() - Method in class diva.canvas.tutorial.TransformedFigureTutorial.CloudFigure
Get the bounds of this figure.
getBounds() - Method in class diva.canvas.tutorial.FigureTutorial.CustomRectangle
Get the bounds of this figure.
getBounds() - Method in class diva.graph.toolbox.StateBubble
Get the bounding box of this figure.
getBounds() - Method in interface diva.sketch.recognition.SceneElement
Return the bounds of this element if it is a stroke or the union of the bounds of its children if it is a composite or choice.
getBounds() - Method in class diva.util.java2d.Polyline2D
Get the integer bounds of the polyline.
getBounds() - Method in class diva.util.java2d.PaintedList
Get the bounding box of the list of painted objects.
getBounds() - Method in interface diva.util.java2d.PaintedObject
Get the bounding box of the object when painted.
getBounds() - Method in class diva.util.java2d.AbstractPaintedGraphic
Get the bounding box of the shape when stroked.
getBounds() - Method in class diva.util.java2d.PaintedString
Get the bounds of this string
getBounds() - Method in class diva.util.java2d.Polygon2D
Get the integer bounds of the polygon.
getBounds(Object) - Method in class diva.graph.basic.BasicLayoutTarget
Return the bounds of the figure associated with the given node in the target's view.
getBounds(Object) - Method in interface diva.graph.layout.LayoutTarget
Return the bounds of the figure associated with the given node in the target's view.
getBounds2D() - Method in class diva.util.java2d.Polyline2D
Get the floating-point bounds of the polyline.
getBounds2D() - Method in class diva.util.java2d.Polyline2D.Float
Get the floating-point bounds of the polyline.
getBounds2D() - Method in class diva.util.java2d.Polyline2D.Double
Get the floating-point bounds of the polyline.
getBounds2D() - Method in class diva.util.java2d.Polygon2D
Get the floating-point bounds of the polygon.
getBounds2D() - Method in class diva.util.java2d.Polygon2D.Float
Get the floating-point bounds of the polygon.
getBounds2D() - Method in class diva.util.java2d.Polygon2D.Double
Get the floating-point bounds of the polygon.
getCanvas() - Method in class diva.canvas.CanvasPane
Get the containing canvas, or null if there isn't one.
getCanvasPane() - Method in class diva.canvas.JCanvas
Get the canvas pane contained by this component.
getCanvasPane() - Method in class diva.canvas.CanvasLayer
Get the pane containing this layer.
getCenterPoint(Figure) - Static method in class diva.canvas.CanvasUtilities
Return the point at the center of a figure.
getCenterPoint(Figure, TransformContext) - Static method in class diva.canvas.CanvasUtilities
Return the point at the center of a figure, in the given transform context.
getCenterPoint(Rectangle2D) - Static method in class diva.canvas.CanvasUtilities
Return the point at the center of a Rectangle.
getCenterX() - Method in class diva.sketch.toolbox.ZoomRecognizer.ZoomData
Return the X coordinate of the center point.
getCenterY() - Method in class diva.sketch.toolbox.ZoomRecognizer.ZoomData
Return the Y coordinate of the center point.
getCharHeight() - Method in class diva.sketch.toolbox.BulletedItems
 
getCharHeight() - Method in class diva.sketch.toolbox.TextLine
 
getCharHeight() - Method in class diva.sketch.toolbox.BulletedItem
 
getCharHeight() - Method in class diva.sketch.toolbox.TextBlock
 
getCharHeight() - Method in class diva.sketch.toolbox.BulletedData
 
getCharHeight() - Method in class diva.sketch.toolbox.BulletedLine
 
getCharHeight() - Method in class diva.sketch.toolbox.BulletedList
 
getCharWidth() - Method in class diva.sketch.toolbox.BulletedItems
 
getCharWidth() - Method in class diva.sketch.toolbox.TextLine
 
getCharWidth() - Method in class diva.sketch.toolbox.BulletedItem
 
getCharWidth() - Method in class diva.sketch.toolbox.TextBlock
 
getCharWidth() - Method in class diva.sketch.toolbox.BulletedData
 
getCharWidth() - Method in class diva.sketch.toolbox.BulletedLine
 
getCharWidth() - Method in class diva.sketch.toolbox.BulletedList
 
getChild() - Method in class diva.canvas.FigureWrapper
Get the child figure, or null if there isn't one.
getChild() - Method in class diva.canvas.FigureDecorator
Get the child figure, or null if there isn't one.
getChild() - Method in class diva.canvas.toolbox.LabelWrapper
Get the child figure
getChildList() - Method in class diva.util.xml.XmlElement
Return the list of child elements.
getChildren() - Method in class diva.canvas.CompositeFigure
Get the internal z-list.
getChildren() - Method in class diva.sketch.CompositeSymbol
Return the stroke that's wrapped by this symbol.
getClassifier() - Method in class diva.sketch.recognition.BasicStrokeRecognizer
Return the classifier that is used to perform classification.
getClickCount() - Method in class diva.sketch.BasicInterpreter
 
getClipboard() - Method in class diva.gui.AbstractApplication
Get the clipboard object for this application.
getClipboard() - Method in interface diva.gui.Application
Return the clipboard used by this application.
getColumn() - Method in class diva.util.aelfred.XmlException
Get the column number containing the error.
getColumnNumber() - Method in class diva.util.aelfred.XmlParser
Return the current column number.
getComponent() - Method in class diva.canvas.TransformContext
Get the component that this context is associated with.
getComponent() - Method in class diva.canvas.toolbox.SwingWrapper
Return the component that this is wrapping.
getComponent() - Method in class diva.graph.schematic.GraphView
 
getComponent() - Method in class diva.graph.schematic.ContextGraphView
 
getComponent() - Method in class diva.gui.AbstractView
Return the component that implements the display of this view.
getComponent() - Method in interface diva.gui.View
Return the component that implements the display of this view.
getComponent() - Method in class diva.gui.tutorial.TextView
 
getComponent() - Method in class diva.whiteboard.ThumbnailView
Return the component that this view manages.
getComponent() - Method in class diva.whiteboard.WhiteboardView
Invoked when a new document has been created or opened.
getComponentAt(int) - Method in class diva.gui.toolbox.JShadePane
Returns the component at the given index.
getComponentAt(String) - Method in class diva.gui.toolbox.JTreePane
Returns the component at the given index.
getComposite() - Method in class diva.canvas.toolbox.BasicFigure
Get the color composition operator of this figure.
getComposite() - Method in class diva.canvas.toolbox.BasicHighlighter
Get the composite.
getComposite() - Method in class diva.canvas.toolbox.PathFigure
Get the color composition operator of this figure.
getComposite() - Method in class diva.canvas.toolbox.IconFigure
Get the composite of this icon, or null if it doesn't have one.
getComposite() - Method in class diva.canvas.toolbox.VersatileFigure
Get the color composition operator of this figure.
getComposite() - Method in class diva.canvas.toolbox.PaintedFigure
Get the color composition operator of this figure.
getCompositeCount() - Method in class diva.sketch.recognition.BasicScene
Return a count of the total number of composite nodes in the database, for a crude measure of performance.
getCompositeFill() - Method in class diva.graph.basic.BasicNodeRenderer
Return the fill that composites are painted with.
getCompositeModel(Object) - Method in class diva.graph.modular.ModularGraphModel
Return the model for the given composite object.
getCompositeModel(Object) - Method in class diva.graph.modular.BasicModularGraphModel
Return the model for the given composite object.
getCompositeScale() - Method in class diva.graph.basic.BasicNodeRenderer
Return the scaling factor for the composite nodes
getCompositeShape() - Method in class diva.graph.basic.BasicNodeRenderer
Return the shape that composites are rendered in.
getConfidence() - Method in class diva.sketch.recognition.SceneDelta
Get the confidence of the root of the delta.
getConfidence() - Method in class diva.sketch.recognition.SceneDelta.Subtractive
Get the confidence of the root of the delta.
getConfidence() - Method in class diva.sketch.recognition.SceneDelta.Additive
Get the confidence of the root of the delta.
getConfidence() - Method in interface diva.sketch.recognition.CompositeElement
Return the confidence associated with the typed data returned by getData().
getConfidence() - Method in class diva.sketch.recognition.StrokeRecognition
Return the confidence of this recognition as a value between 0 and 1, inclusive.
getConfidence(int) - Method in class diva.sketch.classification.Classification
Return the i'th confidence.
getConnection(Point2D) - Method in class diva.canvas.connector.Arrowhead
Get the connection point into the given point
getConnection(Point2D) - Method in class diva.canvas.connector.Blob
Get the connection point into the given point
getConnection(Point2D) - Method in interface diva.canvas.connector.ConnectorEnd
Get the connection point of the end.
getConnector() - Method in class diva.canvas.connector.ConnectorEvent
Return the connector that this event concerns.
getConnector() - Method in class diva.canvas.connector.ConnectorInteractor
Get the current connector.
getConnectorTarget() - Method in class diva.canvas.connector.ConnectorManipulator
Get the connector target
getConnectorTarget() - Method in class diva.graph.EdgeController
Get the target used to find sites on nodes to connect to.
getConnectSite() - Method in interface diva.canvas.connector.Terminal
Get the site that a connector can connect to.
getConnectSite() - Method in class diva.canvas.connector.StraightTerminal
Get the site to which a connector can attach
getConnectSite() - Method in class diva.canvas.connector.TerminalFigure
Get the site that a connector can connect to.
getContainedFigures(Rectangle2D) - Method in interface diva.canvas.ZList
Get the figures that are entirely contained by the given region.
getContainedFigures(Rectangle2D) - Method in class diva.canvas.BasicZList
Get the figures that are entirely contained by the given region.
getContainer() - Method in class diva.canvas.FigureDecorator
Get the container, which is defined as the lowest ancestor that is not a FigureDecorator.
getContentPane() - Method in class diva.gui.AppContextDelegate
Returns the contentPane of the delegate.
getContext() - Method in class diva.canvas.DamageRegion
Get the transform context in which this damage region was created.
getContext() - Method in class diva.graph.schematic.ContextGraphView
 
getContext() - Method in interface diva.gui.ContextView
Return the component that implements the display of this view.
getController() - Method in class diva.graph.NodeController
Return the graph controller containing this controller.
getController() - Method in class diva.graph.EdgeController
Get the graph controller that this controller is contained in.
getController() - Method in class diva.graph.basic.BasicLayoutTarget
Return the graph controller.
getController() - Method in class diva.sketch.BasicInterpreter
Return the controller that uses this interpreter.
getControlPoint() - Method in class diva.canvas.interactor.PathGeometry.Vertex
Get the control point of this site.
getConvexHullPoints() - Method in class diva.sketch.features.ConvexHull
Return an iterator over the points in the convex hull.
getCoolingFactor() - Method in class diva.graph.layout.GridAnnealingLayout
 
getCurrentContentPane() - Method in class diva.gui.DesktopContext
Get the content pane that is displayed as the current content pane.
getCurrentContentPane() - Method in interface diva.gui.MDIContext
Get the content pane that is displayed as the current content pane.
getCurrentFigure() - Method in class diva.sketch.BasicInterpreter
Deprecated. Use getCurrentSymbol() instead, since there may be no figure associated with the drawing until the end of the stroke.
getCurrentPage() - Method in class diva.gui.MultipageModel
Get the current page.
getCurrentStroke() - Method in class diva.sketch.BasicInterpreter
Return the current stroke being drawn.
getCurrentSymbol() - Method in class diva.sketch.BasicInterpreter
Return the current symbol being drawn.
getCurrentView() - Method in class diva.gui.AbstractApplication
Get the current view.
getCurrentView() - Method in interface diva.gui.Application
Get the current view.
getDashArray() - Method in class diva.canvas.connector.AbstractConnector
Get the dash array used to stroke the connector.
getDashArray() - Method in class diva.util.java2d.PaintedPath
Get the dash array.
getData() - Method in interface diva.sketch.recognition.CompositeElement
Return the typed data associated with this element (the recognition result it represents).
getData() - Method in class diva.sketch.recognition.StrokeRecognition
Return the data of this recognition.
getDecoratedFigure() - Method in class diva.canvas.FigureDecorator
Get the decorated figure, which is defined as the highest descendent that is not a decorator.
getDecorator() - Method in class diva.canvas.interactor.BasicSelectionRenderer
Get the prototype decorator.
getDefaultExtension() - Method in class diva.gui.ExtensionFileFilter
If the filter contains only one extension, return the extension name.
getDelegate() - Method in class diva.gui.AppContextDelegate
Return the context delegate.
getDeltaCount() - Method in class diva.sketch.recognition.SceneDeltaSet
Return the number of deltas contained in this set.
getDescription() - Method in class diva.gui.ExtensionFileFilter
Returns the human readable description of this filter.
getDesktopContext() - Method in class diva.whiteboard.Whiteboard
 
getDesktopContext() - Method in class diva.whiteboard.WhiteboardView
 
getDirection(double) - Static method in class diva.canvas.CanvasUtilities
Return the closest direction from SwingConstants, based on the given angle.
getDirectory() - Method in class diva.gui.AbstractStoragePolicy
Return a reasonable directory for file choosers to use.
getDisabledIconAt(int) - Method in class diva.gui.toolbox.JShadePane
Returns the tab disabled icon at the given index.
getDisabledIconAt(String) - Method in class diva.gui.toolbox.JTreePane
Returns the tab disabled icon at the given index.
getDocument() - Method in class diva.gui.AbstractView
Get the document that this view is viewing.
getDocument() - Method in interface diva.gui.View
Get the document that this view is viewing.
getDocumentFactory() - Method in class diva.gui.AbstractApplication
Get the factory that creates new documents
getDocumentFactory() - Method in interface diva.gui.Application
Get the factory that this application uses to create document objects.
getDragFilter() - Method in class diva.sketch.BasicSketchController
Return the mouse filter used for dragging.
getDragInteractor() - Method in class diva.canvas.toolbox.BasicController
Get the drag interactor
getDragInteractor() - Method in class diva.graph.NodeInteractor
Get the interactor that drags nodes
getDragInteractor() - Method in class diva.sketch.toolbox.PanZoomController
Get the drag interactor
getDTD() - Method in class diva.util.xml.XmlDocument
Get the DTD of this document.
getDTDPublicID() - Method in class diva.util.xml.XmlDocument
Get the public ID of the DTD of this document.
getDTDSystemID() - Method in class diva.util.xml.XmlDocument
Get the system ID of the DTD of this document.
getE() - Method in class diva.canvas.interactor.BoundsGeometry
Get the east site.
getE() - Method in class diva.canvas.tutorial.ConnectorTutorial.SitedRectangle
Get the east site.
getEdgeController() - Method in class diva.graph.SimpleGraphController
Return the edge controller.
getEdgeController(Object) - Method in class diva.graph.GraphController
Given an edge, return the controller associated with that edge.
getEdgeController(Object) - Method in class diva.graph.SimpleGraphController
Given an edge, return the controller associated with that edge.
getEdgeController(Object) - Method in class diva.graph.schematic.SchematicGraphController
Given an edge, return the controller associated with that edge.
getEdgeInteractor() - Method in class diva.graph.EdgeController
Get the interactor given to edge figures.
getEdgeModel(Object) - Method in class diva.graph.modular.ModularGraphModel
Return the model for the given edge object.
getEdgeModel(Object) - Method in class diva.graph.modular.BasicModularGraphModel
Return the model for the given edge object.
getEdgeRenderer() - Method in class diva.graph.EdgeController
Return the edge renderer for this view.
getEditSupport() - Method in class diva.gui.AbstractDocument
Return the undoable edit support.
getEditSupport() - Method in interface diva.gui.Document
Return the undoable edit support.
getElement(String) - Method in class diva.util.xml.XmlElement
Return the first child element of this element with the given type, or null if there isn't one.
getElement(String, String) - Method in class diva.util.xml.XmlElement
Return the first child element of this element with the given type and name, or null if there isn't one.
getElementAttributes(String) - Method in class diva.util.aelfred.XmlParser
Look up the attribute hash table for an element.
getElementContentModel(String) - Method in class diva.util.aelfred.XmlParser
Look up the content model of an element.
getElementContentType(String) - Method in class diva.util.aelfred.XmlParser
Look up the content type of an element.
getEnd() - Method in class diva.canvas.connector.ConnectorEvent
Return the end of the connector that this event concerns.
getEnd() - Method in class diva.canvas.connector.StraightTerminal
Get the object drawn at the end of the terminal, if there is one.
getEntityController() - Method in class diva.graph.schematic.SchematicGraphController
Return the entity controller.
getEntityNotationName(String) - Method in class diva.util.aelfred.XmlParser
Get the notation name associated with an NDATA entity.
getEntityPublicId(String) - Method in class diva.util.aelfred.XmlParser
Return an external entity's public identifier, if any.
getEntitySystemId(String) - Method in class diva.util.aelfred.XmlParser
Return an external entity's system identifier.
getEntityType(String) - Method in class diva.util.aelfred.XmlParser
Find the type of an entity.
getEntityValue(String) - Method in class diva.util.aelfred.XmlParser
Return the value of an internal entity.
getErrorCount() - Method in class diva.util.LoggableOp
Get the number of errors generated during the most recent operation.
getErrorStream() - Method in class diva.util.LoggableOp
Get the stream to which errors are printed.
getEventLayer() - Method in class diva.canvas.interactor.SelectionDragger
Get the layer that drag events are listened on
getExampleCount() - Method in class diva.sketch.classification.WeightSet
Return the number of examples.
getExitAction() - Method in class diva.gui.AppletContext
Return the action that is called back when the user exits the app.
getExitAction() - Method in class diva.gui.ApplicationContext
Return the action that is called back when the user exits the app.
getExitAction() - Method in class diva.gui.AppContextDelegate
Return the exit action of the delegate.
getExitAction() - Method in interface diva.gui.AppContext
Return the action that is called back when the user exits the app.
getExtension(File) - Method in class diva.gui.ExtensionFileFilter
Return the extension portion of the file's name .
getFactory() - Method in class diva.util.jester.TestSuite
Get the factory used by this test suite.
getFeature(int) - Method in class diva.sketch.classification.FeatureSet
 
getFeatureCount() - Method in class diva.sketch.classification.FeatureSet
 
getFeatures() - Method in class diva.sketch.classification.FeatureSet
 
getFigure() - Method in interface diva.canvas.Site
Get the figure to which this site is attached.
getFigure() - Method in class diva.canvas.SiteDecorator
Get the figure to which this site is attached.
getFigure() - Method in class diva.canvas.AbstractSite
Get the figure to which this site is attached.
getFigure() - Method in class diva.canvas.connector.PerimeterSite
Get the figure to which this site is attached.
getFigure() - Method in class diva.canvas.connector.BoundsSite
Get the figure to which this site is attached.
getFigure() - Method in class diva.canvas.connector.CenterSite
Get the figure to which this site is attached.
getFigure() - Method in class diva.canvas.connector.AutonomousSite
Return null.
getFigure() - Method in class diva.canvas.connector.NullSite
Return null
getFigure() - Method in class diva.canvas.connector.ParametricSite
Get the figure to which this site is attached.
getFigure() - Method in class diva.canvas.interactor.PathGeometry
Get the figure to which this geometry object is attached.
getFigure() - Method in class diva.canvas.interactor.PathGeometry.Vertex
Get the figure to which this site is attached, or null if it is not attached to a figure.
getFigure() - Method in class diva.canvas.interactor.BoundsGeometry
Get the figure to which this geometry object is attached.
getFigure() - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Get the figure to which this site is attached, or null if it is not attached to a figure.
getFigure() - Method in interface diva.canvas.interactor.Geometry
Get the figure to which this geometry object is attached.
getFigure() - Method in class diva.canvas.interactor.CircleGeometry
Get the figure to which this geometry object is attached.
getFigure() - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Get the figure to which this site is attached, or null if it is not attached to a figure.
getFigure(Object) - Method in class diva.graph.GraphController
Return the figure associated with the given semantic object (node or edge), or null if there is no association.
getFigureCount() - Method in interface diva.canvas.ZList
Return the number of elements in this list.
getFigureCount() - Method in class diva.canvas.BasicZList
Return the number of figures in this list.
getFigureCount() - Method in interface diva.canvas.FigureContainer
Return the number of figures in this container.
getFigureCount() - Method in class diva.canvas.AbstractFigureContainer
Return the number of child figures in this container.
getFigureCount() - Method in class diva.canvas.CompositeFigure
Return the number of elements in this container.
getFigureCount() - Method in class diva.canvas.FigureLayer
Return the number of figures in this layer.
getFigureCount() - Method in class diva.canvas.FigureDecorator
Return zero if there is no child, or one if there is.
getFigureLayer() - Method in class diva.canvas.interactor.SelectionDragger
Get the layer that figures are selected on
getFigures() - Method in class diva.canvas.FigureLayer
Get the internal z-list.
getFigureSource() - Method in class diva.canvas.event.LayerEvent
Get the figure that the event occurred on.
getFile() - Method in class diva.gui.AbstractDocument
Get the file object that this document is associated with.
getFile() - Method in interface diva.gui.Document
Get the file object that this document is associated with.
getFile() - Method in class diva.util.xml.XmlDocument
Get the file corresponding to this document.
getFileChooser() - Method in class diva.gui.DefaultStoragePolicy
Deprecated. Use getOpenFileChooser() or getSaveFileChooser()
getFileExtension(File) - Static method in class diva.gui.GUIUtilities
Get the extension of a file.
getFill() - Method in class diva.sketch.StrokeSymbol
Return the fill color of this symbol.
getFill() - Method in class diva.sketch.CompositeSymbol
Return the fill color of the children if it is the same for all children, or Symbol.MIXED_COLOR if not.
getFill() - Method in interface diva.sketch.Symbol
 
getFillColor() - Method in class diva.sketch.BasicSketchController
Return the color used to fill symbols.
getFillColor() - Method in class diva.whiteboard.WhiteboardState
 
getFillPaint() - Method in class diva.canvas.toolbox.BasicFigure
Get the fill paint pattern of this figure if this figure represents a shape with a fill paint pattern, otherwise return null.
getFillPaint() - Method in class diva.canvas.toolbox.LabelFigure
Get the fill paint for this label.
getFillPaint() - Method in class diva.canvas.toolbox.VersatileFigure
Get the fill paint pattern of this figure if this figure represents a shape with a fill paint pattern, otherwise return null.
getFillPaint() - Method in class diva.graph.basic.BubbleRenderer
Get the fill paint pattern of this figure.
getFillPaint() - Method in class diva.util.java2d.PaintedString
Get the fill paint for this label.
getFilter() - Method in class diva.graph.layout.IncrementalLayoutListener
Return the filter for this listener.
getFirstSelection() - Method in class diva.canvas.interactor.BasicSelectionModel
Return the first selection in the list.
getFirstSelection() - Method in interface diva.canvas.interactor.SelectionModel
Return the first selection in the list.
getFlipped() - Method in class diva.canvas.connector.Arrowhead
Get the flag saying to flip the arrowhead.
getFont() - Method in class diva.canvas.toolbox.LabelFigure
Get the font that this label is drawn in.
getFont() - Method in class diva.util.java2d.PaintedString
Get the font that this label is drawn in.
getFontName() - Method in class diva.canvas.toolbox.LabelFigure
Get the font name.
getFontName() - Method in class diva.util.java2d.PaintedString
Get the font name.
getForegroundAt(int) - Method in class diva.gui.toolbox.JShadePane
Returns the tab foreground color at the given index.
getForegroundEventLayer() - Method in class diva.canvas.GraphicsPane
Get the foreground event layer
getForegroundInterpreter() - Method in class diva.sketch.BasicSketchController
Return the interpreter that processes strokes on the foreground event layer.
getForegroundLayer() - Method in class diva.canvas.GraphicsPane
Get the foreground layer
getFrameIcon() - Method in class diva.gui.DesktopContext
Return the icon that is displayed in the frame.
getFrameIcon() - Method in interface diva.gui.MDIContext
Get the icon that is displayed in internal frames.
getGeometry() - Method in interface diva.canvas.GeometricSet
Get the geometry.
getGestureModel() - Method in class diva.whiteboard.CommandInterpreter
Return a sketch model containing all of the gestures that this interpreter has processed, for debugging.
getGestureModel() - Method in class diva.whiteboard.WhiteboardView
Return a sketch model of the sketched gestures, for debugging.
getGlassPane() - Method in class diva.gui.AppContextDelegate
Returns the glassPane of the delegate.
getGrabHandleFactory() - Method in class diva.canvas.interactor.Manipulator
Get the grab handle factory.
getGrammar() - Method in class diva.sketch.parser2d.ParsingSceneRecognizer
Return the grammar that is used to perform the parsing.
getGraphController() - Method in class diva.graph.GraphPane
Get the graph controller
getGraphController() - Method in class diva.graph.NodeInteractor
Return the graph controller that manages this interactor.
getGraphController() - Method in class diva.graph.basic.BasicNodeRenderer
Return the graph controller.
getGraphic() - Method in class diva.canvas.toolbox.IconFigure
Get the painted object that is drawn over the top of the icon as its "graphic."
getGraphicsPane() - Method in class diva.graph.basic.BasicLayoutTarget
Return the pane of this display.
getGraphModel() - Method in class diva.graph.GraphController
Return the graph being viewed.
getGraphModel() - Method in class diva.graph.GraphPane
Return the graph being viewed.
getGraphModel() - Method in class diva.graph.basic.BasicLayoutTarget
Return the graph model that we are operating on.
getGraphModel() - Method in interface diva.graph.layout.LayoutTarget
Return the graph model that provides a traversal interface to the graph I'm trying to layout.
getGraphModel() - Method in class diva.graph.schematic.GraphDocument
Get the graph data model.
getGraphPane() - Method in class diva.graph.GraphController
Return the graphics pane of this controller cast as a GraphPane.
getGraphPane() - Method in class diva.graph.JGraph
Return the canvas pane, which is of type GraphPane.
getGridPaint() - Method in class diva.canvas.toolbox.GridLayer
Get the grid line paint.
getGridStroke() - Method in class diva.canvas.toolbox.GridLayer
Get the grid line stroke.
getHalo() - Method in class diva.canvas.toolbox.BasicHighlighter
Get the halo.
getHandle() - Method in class diva.canvas.connector.ConnectorInteractor
Get the current grab handle.
getHandleInteractor() - Method in class diva.canvas.interactor.Manipulator
Get the grab handle interactor.
getHead() - Method in interface diva.graph.modular.Edge
Return the node at the head of this edge.
getHead(Object) - Method in interface diva.graph.GraphModel
Return the head node of the given edge.
getHead(Object) - Method in class diva.graph.modular.ModularGraphModel
Return the head node of the given edge.
getHead(Object) - Method in interface diva.graph.modular.EdgeModel
Return the node at the head of this edge.
getHead(Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel
Return the head node of the given edge.
getHeadEnd() - Method in class diva.canvas.connector.AbstractConnector
Get the object drawn at the head end of the connector, if there is one.
getHeadHandle() - Method in class diva.canvas.connector.ConnectorManipulator
Get the head handle
getHeadSite() - Method in class diva.canvas.connector.AbstractConnector
Get the site that marks the "head" of the connector.
getHeadSite() - Method in interface diva.canvas.connector.Connector
Get the site that marks the "head" of the connector.
getHeadSite(Connector, Figure, double, double) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return a suitable site to connect the given connector's head to, based on this figure and location.
getHeadSite(Connector, Figure, double, double) - Method in interface diva.canvas.connector.ConnectorTarget
Return a suitable site to connect the given connector's head to, based on this figure and location.
getHeadSite(Connector, Site, double, double) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return a suitable site to connect a connector's head to.
getHeadSite(Connector, Site, double, double) - Method in interface diva.canvas.connector.ConnectorTarget
Return a suitable site to connect a connector's head to.
getHeadSite(Figure, double, double) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return a suitable site to connect a connector's head to, based on this figure and location.
getHeadSite(Figure, double, double) - Method in class diva.canvas.connector.CenterTarget
Return a center site located on the figure, if the figure is not a connector.
getHeadSite(Figure, double, double) - Method in class diva.canvas.connector.PerimeterTarget
Return the nearest site on the figure if the figure is not a connector
getHeadSite(Figure, double, double) - Method in interface diva.canvas.connector.ConnectorTarget
Return a suitable site to connect a connector's head to, based on this figure and location.
getHeadSite(Figure, double, double) - Method in class diva.canvas.tutorial.ConnectorTutorial.SRTarget
Return the nearest site on the figure
getHeadSite(Site, double, double) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return a suitable site to connect a connector's head to.
getHeadSite(Site, double, double) - Method in interface diva.canvas.connector.ConnectorTarget
Deprecated. Use getHeadSite that takes a connector.
getIconAt(int) - Method in class diva.gui.toolbox.JShadePane
Returns the tab icon at the given index.
getIconAt(String) - Method in class diva.gui.toolbox.JTreePane
Returns the tab icon at the given index.
getIconHeight() - Method in class diva.whiteboard.Whiteboard.GrayedOutWidthIcon
 
getIconImage() - Method in class diva.gui.AppletContext
Get the image that represents this frame.
getIconImage() - Method in class diva.gui.ApplicationContext
Get the image that represents this frame.
getIconImage() - Method in class diva.gui.AppContextDelegate
Return the image icon of the delegate.
getIconImage() - Method in interface diva.gui.AppContext
Get the image that represents this frame.
getIconWidth() - Method in class diva.whiteboard.Whiteboard.GrayedOutWidthIcon
 
getID() - Method in interface diva.canvas.Site
Get the ID of this site.
getID() - Method in class diva.canvas.SiteDecorator
Get the ID of this site.
getID() - Method in class diva.canvas.AbstractSite
Get the ID of this site.
getID() - Method in class diva.canvas.connector.ConnectorEvent
Return the type id for this event.
getID() - Method in class diva.canvas.connector.PerimeterSite
Get the ID of this site.
getID() - Method in class diva.canvas.connector.BoundsSite
Get the ID of this site.
getID() - Method in class diva.canvas.connector.CenterSite
Get the ID of this site.
getID() - Method in class diva.canvas.connector.AutonomousSite
Return zero.
getID() - Method in class diva.canvas.connector.NullSite
Return 0
getID() - Method in class diva.canvas.connector.ParametricSite
Get the ID of this site.
getID() - Method in class diva.canvas.interactor.PathGeometry.Vertex
Get the ID of this site.
getID() - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Get the ID of this site.
getID() - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Get the ID of this site.
getID() - Method in class diva.graph.GraphEvent
Return the type id for this event.
getID() - Method in class diva.graph.GraphViewEvent
Return the type id for this event.
getID() - Method in class diva.gui.ViewEvent
Return the event type.
getID() - Method in class diva.sketch.SketchEvent
Return the event type id.
getID() - Method in class diva.sketch.recognition.Type
Return the type ID of this object.
getImage() - Method in class diva.canvas.toolbox.ImageFigure
Return the figure's image.
getImage(String) - Method in class diva.gui.ApplicationResources
Deprecated. Get a resource as an image.
getImage(String) - Method in class diva.resource.RelativeBundle
Get a resource as an image.
getImageIcon(String) - Method in class diva.gui.ApplicationResources
Deprecated. Get a resource as an image icon.
getImageIcon(String) - Method in class diva.resource.RelativeBundle
Get a resource as an image icon.
getIndex(String) - Method in class diva.util.PropertyIndexSet
Returns the index of the property named by slotName.
getInteractor() - Method in class diva.canvas.AbstractFigure
Return the interactor role of this figure.
getInteractor() - Method in interface diva.canvas.Figure
Return the interactor of this figure.
getInteractor() - Method in class diva.canvas.connector.TerminalFigure
Return the interactor of this figure.
getInternalFrame(JComponent) - Method in class diva.gui.DesktopContext
Return the internal frame for a given component.
getIntersectedFigures(Rectangle2D) - Method in interface diva.canvas.ZList
Get the figures with bounding boxes that intersect the given region.
getIntersectedFigures(Rectangle2D) - Method in class diva.canvas.BasicZList
Get the figures with bounding boxes that intersect the given region.
getInverseTransform() - Method in class diva.canvas.TransformContext
Get the transform from parent coordinates into local coordinates.
getIterationCount(int) - Method in class diva.graph.layout.GridAnnealingLayout
 
getJCanvas() - Method in class diva.canvas.demo.SpaceDemo
Get the canvas.
getJCanvas() - Method in class diva.canvas.demo.FigureDemo
Get the canvas.
getJMenuBar() - Method in class diva.gui.AppletContext
Return the menu bar that the container uses.
getJMenuBar() - Method in class diva.gui.ApplicationContext
Return the menu bar that the container uses.
getJMenuBar() - Method in class diva.gui.AppContextDelegate
Return the menu bar of the delegate.
getJMenuBar() - Method in interface diva.gui.AppContext
Return the menu bar that the container uses.
getJToolBar() - Method in class diva.gui.DesktopContext
Get the tool bar.
getKeys() - Method in class diva.gui.ApplicationResources
Deprecated. Get an enumeration over the keys
getKeys() - Method in class diva.resource.RelativeBundle
Get an enumeration over the keys
getLabel() - Method in class diva.canvas.toolbox.LabelWrapper
Get the label.
getLabelFigure() - Method in class diva.canvas.connector.AbstractConnector
Get the figure that display's this connector's label.
getLastSelection() - Method in class diva.canvas.interactor.BasicSelectionModel
Return the last selection in the list.
getLastSelection() - Method in interface diva.canvas.interactor.SelectionModel
Return the last selection in the list.
getLayer() - Method in class diva.canvas.AbstractFigure
Get the most immediate layer containing this figure.
getLayer() - Method in interface diva.canvas.Figure
Get the most immediate layer containing this figure.
getLayer() - Method in class diva.canvas.connector.TerminalFigure
Get the most immediate layer containing this figure.
getLayer(int) - Method in class diva.canvas.toolbox.BasicCanvasPane
Get the layer at the given index.
getLayeredPane() - Method in class diva.gui.AppContextDelegate
Returns the layeredPane of the delegate.
getLayerPoint() - Method in class diva.canvas.event.LayerEvent
Get the point where the event occured.
getLayerSource() - Method in class diva.canvas.event.LayerEvent
Get the layer that the event occurred on.
getLayerX() - Method in class diva.canvas.event.LayerEvent
Get the horizontal component of the point where the event occured.
getLayerY() - Method in class diva.canvas.event.LayerEvent
Get the vertical component of the point where the event occured.
getLayout() - Method in class diva.graph.layout.IncrementalLayoutListener
Return the layout.
getLayoutMode() - Method in class diva.gui.DesktopContext
Get the layout mode
getLayoutPercentage() - Method in class diva.graph.basic.BasicLayoutTarget
Return the percentage of the pane that is used for layout.
getLayoutTarget() - Method in class diva.graph.layout.IncrLayoutAdapter
Return the layout target.
getLayoutTarget() - Method in class diva.graph.layout.ProxyIncrLayout
Return the layout target.
getLayoutTarget() - Method in class diva.graph.layout.RandomIncrLayout
Return the layout target.
getLayoutTarget() - Method in class diva.graph.layout.AbstractGlobalLayout
Return the layout target.
getLayoutTarget() - Method in interface diva.graph.layout.GlobalLayout
Return the layout target.
getLength() - Method in class diva.canvas.connector.Arrowhead
Get the length.
getLevelCount() - Method in class diva.graph.layout.LevelLayout.LevelData
 
getLHSType() - Method in class diva.sketch.parser2d.AbstractRule
Return the LHS type of the rule.
getLHSType() - Method in class diva.sketch.parser2d.SingleRule
Return the LHS type of the rule.
getLHSType() - Method in interface diva.sketch.parser2d.Rule
Return the LHS type of the rule.
getLine() - Method in class diva.util.aelfred.XmlException
Get the line number containing the error.
getLineNumber() - Method in class diva.util.LoggableOp
 
getLineNumber() - Method in class diva.util.aelfred.XmlParser
Return the current line number.
getLineNumber() - Method in class diva.util.xml.XmlReader
Get the current line number.
getLineWidth() - Method in class diva.canvas.connector.AbstractConnector
Get the line width of this connector.
getLineWidth() - Method in class diva.canvas.toolbox.BasicFigure
Get the line width of this figure.
getLineWidth() - Method in class diva.canvas.toolbox.PathFigure
Get the line width of this figure.
getLineWidth() - Method in class diva.canvas.toolbox.VersatileFigure
Get the line width of this figure.
getLineWidth() - Method in class diva.sketch.StrokeSymbol
Return the line width used to draw this symbol.
getLineWidth() - Method in class diva.sketch.CompositeSymbol
Return the linewidth of the children if it is the same for all children, or Symbol.MIXED_LINEWIDTH if not.
getLineWidth() - Method in class diva.sketch.BasicSketchController
Return the line width used to draw symbols.
getLineWidth() - Method in interface diva.sketch.Symbol
 
getLineWidth() - Method in interface diva.util.java2d.PaintedGraphic
Get the line width.
getLineWidth() - Method in class diva.util.java2d.AbstractPaintedGraphic
Get the line width.
getLineWidth() - Method in class diva.util.java2d.PaintedPath
Get the line width.
getLineWidth() - Method in class diva.util.java2d.PaintedShape
Get the line width
getLinkController() - Method in class diva.graph.schematic.SchematicGraphController
Return the link controller.
getList() - Method in class diva.gui.toolbox.ListDataModel
Return this model as a list.
getLocalGraphModel() - Method in class diva.graph.layout.LevelLayout
Return the local graph model.
getLocation(Rectangle2D, int) - Static method in class diva.canvas.CanvasUtilities
Get the point on the given rectangular shape indicated by the location flag.
getMaximumSize() - Method in class diva.gui.toolbox.JPseudoFrame
Return a fixed size
getMaxLevelWidth(boolean) - Method in class diva.graph.layout.LevelLayout.LevelData
Each level contains a list of nodes that are in that level (level width).
getMDIContext() - Method in class diva.gui.MDIApplication
Get the MDI frame -- type-specific version of getApplicationFrame().
getMenuFactory() - Method in class diva.gui.toolbox.MenuCreator
Return the menu factory.
getMessage() - Method in class diva.util.aelfred.XmlException
Get the error message from the parser.
getMinConfidence() - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Return the minimum confidence value which is necessary for a type to get considered in the vote.
getMinConfidence() - Method in class diva.sketch.recognition.VotingSceneRecognizer
Return the minimum confidence value which is necessary for a type to get considered in the vote.
getMinimumSize() - Method in class diva.canvas.interactor.BoundsGeometry
Get the minimum size of the rectangle.
getMinimumSize() - Method in class diva.canvas.interactor.CircleGeometry
Get the minimum size of the rectangle.
getMinimumSize() - Method in class diva.gui.toolbox.JPseudoFrame
Return a fixed size
getMode() - Method in class diva.whiteboard.WhiteboardState
 
getModel() - Method in interface diva.gui.Page
Return the model of the page.
getModel() - Method in class diva.gui.BasicPage
Return the model of the page.
getMouseFilter() - Method in class diva.canvas.event.LayerMouseAdapter
 
getMouseFilter() - Method in class diva.canvas.interactor.AbstractInteractor
Get the mouse filter used by this interactor to decide whether to accept an event.
getMouseFilter() - Method in interface diva.canvas.interactor.Interactor
Get the mouse filter used by this interactor to decide whether to accept an event.
getMoveCount(int) - Method in class diva.graph.layout.GridAnnealingLayout
 
getMultipage() - Method in class diva.gui.BasicPage
Return the multipage that owns this model.
getMultipageModel() - Method in class diva.gui.MultipageDocument
Return the model associated with this document.
getMutableEdgeModel(Object) - Method in class diva.graph.modular.MutableModularGraphModel
Return the model for the given edge object, cast as a MutableEdgeModel.
getMutableNodeModel(Object) - Method in class diva.graph.modular.MutableModularGraphModel
Return the node model for the given object, cast as a MutableNodeModel.
getMuValues() - Method in class diva.sketch.classification.WeightSet
Return the mu values.
getN() - Method in class diva.canvas.interactor.BoundsGeometry
Get the north site.
getN() - Method in class diva.canvas.interactor.CircleGeometry
Get the north site (only site).
getN() - Method in class diva.canvas.tutorial.ConnectorTutorial.SitedRectangle
Get the north site.
getName() - Method in class diva.sketch.features.AreaRatioFE
Return the name of the feature extractor.
getName() - Method in class diva.sketch.features.SumOfSquaredAnglesFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.SumOfAbsoluteAnglesFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.AspectRatioFE
Return the name of the feature extractor.
getName() - Method in class diva.sketch.features.SumOfAbsDeltaRatioFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.MaxSpeedFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.StrokePathLengthFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.CosFirstLastPtsFE
Return the name of this feature extractor.
getName() - Method in interface diva.sketch.features.FeatureExtractor
Return the name of the feature extractor.
getName() - Method in class diva.sketch.features.BBoxDiagonalAngleFE
Return the name of the feature extractor.
getName() - Method in class diva.sketch.features.DurationFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.CornerFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.CosInitAngleFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.BBoxDiagonalLengthFE
Return the name of the feature extractor.
getName() - Method in class diva.sketch.features.SineFirstLastPtsFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.DistanceStartEndPtsFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.SineInitAngleFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.PathRatioFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.features.SumOfAnglesFE
Return the name of this feature extractor.
getName() - Method in class diva.sketch.parser2d.DeltaXRelation
The name of this relation.
getName() - Method in class diva.sketch.parser2d.DeltaYRelation
The name of this relation.
getName() - Method in class diva.sketch.parser2d.AngleRelation
The name of this relation.
getName() - Method in interface diva.sketch.parser2d.Relation
Return the name of the relation extractor.
getName() - Method in class diva.sketch.parser2d.WidthRatioRelation
The name of this relation.
getName() - Method in class diva.sketch.parser2d.DistanceRelation
The name of this relation.
getName() - Method in class diva.sketch.parser2d.OverlapRelation
The name of this relation.
getName() - Method in class diva.sketch.parser2d.HeightRatioRelation
The name of this relation.
getName() - Method in class diva.sketch.parser2d.AreaRatioRelation
The name of this relation.
getName() - Method in class diva.util.jester.TestCase
Get the name of this test case
getNE() - Method in class diva.canvas.interactor.BoundsGeometry
Get the north-east site.
getNextUtf8Byte(int, int) - Method in class diva.util.aelfred.XmlParser
Return the next byte value in a UTF-8 sequence.
getNHighest() - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Return the "n-highest" value, which says that the n-highest classifications will get passed on when the child recognizers vote.
getNHighest() - Method in class diva.sketch.recognition.VotingSceneRecognizer
Return the "n-highest" value, which says that the n-highest classifications will get passed on when the child recognizers vote.
getNodeController() - Method in class diva.graph.SimpleGraphController
Return the node controller.
getNodeController(Object) - Method in class diva.graph.GraphController
Given an node, return the controller associated with that node.
getNodeController(Object) - Method in class diva.graph.SimpleGraphController
Given an node, return the controller associated with that node.
getNodeController(Object) - Method in class diva.graph.schematic.SchematicGraphController
Given an node, return the controller associated with that node.
getNodeCount() - Method in interface diva.graph.modular.Graph
Return a count of the nodes this graph contains.
getNodeCount(Object) - Method in interface diva.graph.GraphModel
Return the number of nodes contained in this graph or composite node.
getNodeCount(Object) - Method in class diva.graph.modular.ModularGraphModel
Return the number of nodes contained in this graph or composite node.
getNodeCount(Object) - Method in interface diva.graph.modular.CompositeModel
Return a count of the nodes this graph contains.
getNodeCount(Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicNodeModel
Return the number of nodes contained in this graph or composite node.
getNodeFill() - Method in class diva.graph.basic.BasicNodeRenderer
Return the fill that nodes are painted with.
getNodeInteractor() - Method in class diva.graph.NodeController
Return the node interactor associated with this controller.
getNodeModel(Object) - Method in class diva.graph.modular.ModularGraphModel
Return the node model for the given object.
getNodeModel(Object) - Method in class diva.graph.modular.BasicModularGraphModel
Return the node model for the given object.
getNodeRenderer() - Method in class diva.graph.NodeController
Return the node renderer associated with this controller.
getNodeShape() - Method in class diva.graph.basic.BasicNodeRenderer
Return the shape that nodes are rendered in.
getNormal() - Method in interface diva.canvas.Site
Get the angle of the normal to this site, in radians between zero and 2pi.
getNormal() - Method in class diva.canvas.SiteDecorator
Get the angle of the normal to this site, in radians between zero and 2pi.
getNormal() - Method in class diva.canvas.AbstractSite
Get the angle of the normal to this site, in radians between zero and 2pi.
getNormal() - Method in class diva.canvas.connector.BoundsSite
Get the normal of the site.
getNormal() - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Get the angle of the normal to this site, in radians between zero and 2pi.
getNormal() - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Get the angle of the normal to this site, in radians between zero and 2pi.
getNormal(int) - Static method in class diva.canvas.CanvasUtilities
Return an angle in radians, given a direction from SwingConstants.
getNotationPublicId(String) - Method in class diva.util.aelfred.XmlParser
Look up the public identifier for a notation.
getNotationSystemId(String) - Method in class diva.util.aelfred.XmlParser
Look up the system identifier for a notation.
getNW() - Method in class diva.canvas.interactor.BoundsGeometry
Get the north-west site.
getOffset() - Method in class diva.canvas.connector.BoundsSite
Get the distance to be located along the side, in percent.
getOldValue() - Method in class diva.graph.GraphEvent
Return the old value, which is event-specific.
getOldValue() - Method in class diva.graph.GraphViewEvent
Return the old value, which is event-specific.
getOldValue() - Method in class diva.util.UserObjectChangeEvent
Return the old value of the user object.
getOldValue() - Method in class diva.util.SemanticObjectChangeEvent
Return the old value of the semantic object.
getOpenFileChooser() - Method in class diva.gui.DefaultStoragePolicy
Get the open file chooser used by this storage policy.
getOrientation() - Method in class diva.graph.layout.LevelLayout
Return the orientation in which the graph is to be layed out, either VERTICAL or HORIZONTAL.
getOrigin() - Method in class diva.canvas.interactor.QuadrantConstraint
Get the origin
getOrigin(Point2D) - Method in class diva.canvas.connector.Arrowhead
Get the origin into the given point.
getOrigin(Point2D) - Method in class diva.canvas.connector.Blob
Get the origin into the given point.
getOrigin(Point2D) - Method in interface diva.canvas.connector.ConnectorEnd
Get the origin of the line end.
getOutline() - Method in class diva.sketch.StrokeSymbol
Return the outline color of this symbol.
getOutline() - Method in class diva.sketch.CompositeSymbol
Return the outline color of the children if it is the same for all children, or Symbol.MIXED_COLOR if not.
getOutline() - Method in interface diva.sketch.Symbol
 
getOverlayLayer() - Method in class diva.canvas.GraphicsPane
Get the overlay layer
getOverlayLayer() - Method in class diva.canvas.interactor.SelectionDragger
Get the layer that drag rectangles are drawn on
getPadding() - Method in class diva.canvas.toolbox.LabelFigure
Get the padding around the text.
getPage(int) - Method in class diva.gui.MultipageModel
Get the page at the given index.
getPage(String) - Method in class diva.gui.MultipageModel
Get the page with the given title.
getPageCount() - Method in class diva.gui.MultipageModel
Get the number of pages in this document.
getPaint() - Method in class diva.canvas.OverlayLayer
Get the current paint
getPaint() - Method in class diva.canvas.connector.StraightTerminal
Get the paint of this terminal.
getPaint() - Method in class diva.canvas.toolbox.BasicHighlighter
Get the paint.
getPaintedList() - Method in class diva.canvas.toolbox.PaintedFigure
Get the painted list of painted objects of this figure.
getPaintedObject() - Method in class diva.canvas.toolbox.VersatileFigure
Get the painted object of this figure.
getPaintedPath() - Method in class diva.canvas.connector.AbstractConnector
Get the PaintedPath that paints this connector.
getPalettePane() - Method in class diva.gui.DesktopContext
Get the component used for palettes and the like.
getPanX() - Method in class diva.sketch.toolbox.PanRecognizer.PanData
 
getPanY() - Method in class diva.sketch.toolbox.PanRecognizer.PanData
 
getParent() - Method in interface diva.canvas.CanvasComponent
Return the parent of this component.
getParent() - Method in class diva.canvas.TransformContext
Get the parent transform context of this one, or null if this context is at the root of the transform tree.
getParent() - Method in class diva.canvas.AbstractFigure
Return the parent of this figure.
getParent() - Method in interface diva.canvas.Figure
Return the parent of this figure.
getParent() - Method in class diva.canvas.CanvasLayer
Get the parent component, or null if there isn't one.
getParent() - Method in class diva.canvas.CanvasPane
Get the parent component, or null if there isn't one.
getParent() - Method in class diva.canvas.connector.TerminalFigure
Return the parent of this component.
getParent() - Method in interface diva.graph.modular.Node
Return the graph parent of this node.
getParent() - Method in class diva.sketch.recognition.Type
Return the parent type of this one.
getParent() - Method in class diva.util.xml.XmlElement
Return the parent element of this element, or null if it has no parent.
getParent(Object) - Method in interface diva.graph.GraphModel
Return the parent graph of this node, return null if there is no parent.
getParent(Object) - Method in class diva.graph.modular.ModularGraphModel
Return the parent graph of this node, return null if there is no parent.
getParent(Object) - Method in interface diva.graph.modular.NodeModel
Return the graph parent of the given node.
getParent(Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicNodeModel
Return the graph parent of the given node.
getPath() - Method in class diva.util.jester.demo.Foo
 
getPath() - Method in class diva.util.jester.demo.Bar
 
getPathIterator(AffineTransform) - Method in class diva.util.java2d.Polyline2D
Get a path iterator over the object.
getPathIterator(AffineTransform) - Method in class diva.util.java2d.Polygon2D
Get a path iterator over the object.
getPathIterator(AffineTransform, double) - Method in class diva.util.java2d.Polyline2D
Get a path iterator over the object.
getPathIterator(AffineTransform, double) - Method in class diva.util.java2d.Polygon2D
Get a path iterator over the object.
getPathLength() - Method in class diva.sketch.features.ConvexHull
Return the path length of this convex hull from the first point to the last point.
getPCData() - Method in class diva.util.xml.XmlElement
Return the PCData that is associated with this XmlElement.
getPenColor() - Method in class diva.sketch.BasicSketchController
Return the color used to draw symbols.
getPenColor() - Method in class diva.whiteboard.WhiteboardState
 
getPenWidth() - Method in class diva.whiteboard.WhiteboardState
 
getPickHalo() - Method in class diva.canvas.FigureLayer
Get the "pick halo".
getPoint() - Method in interface diva.canvas.Site
Get the point location of the site, in the enclosing transform context with default normal.
getPoint() - Method in class diva.canvas.SiteDecorator
Get the point location of the site, in the enclosing transform context with default normal.
getPoint() - Method in class diva.canvas.AbstractSite
Get the point location of the site, in the enclosing transform context with the default normal.
getPoint() - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Get the point location of the site.
getPoint() - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Get the point location of the site.
getPoint(double) - Method in interface diva.canvas.Site
Get the point location of the site, in the enclosing transform context with the given normal.
getPoint(double) - Method in class diva.canvas.SiteDecorator
Get the point location of the site, in the enclosing transform context with the given normal.
getPoint(double) - Method in class diva.canvas.AbstractSite
Get the point location of the site, in the enclosing transform context with the given normal.
getPoint(double) - Method in class diva.canvas.connector.PerimeterSite
Get the point location of the site, in the enclosing transform context.
getPoint(TransformContext) - Method in interface diva.canvas.Site
Get the point location of the site, in the given transform context with the default normal.
getPoint(TransformContext) - Method in class diva.canvas.SiteDecorator
Get the point location of the site, in the given transform context with the default normal.
getPoint(TransformContext) - Method in class diva.canvas.AbstractSite
Get the point location of the site, in the given transform context with the default normal.
getPoint(TransformContext, double) - Method in interface diva.canvas.Site
Get the point location of the site, in the given transform context with the given normal.
getPoint(TransformContext, double) - Method in class diva.canvas.SiteDecorator
Get the point location of the site, in the given transform context with the given normal.
getPoint(TransformContext, double) - Method in class diva.canvas.AbstractSite
Get the point location of the site, in the given transform context with the given normal.
getPortController() - Method in class diva.graph.schematic.SchematicGraphController
Return the port controller.
getPreferredSize() - Method in class diva.gui.toolbox.JPseudoFrame
Return a fixed size
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.AddStrokeEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.DeleteStrokeEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.DeleteGroupedStrokeEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.CutEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.PasteEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.NewPageEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.ReorderPageEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.DeletePageEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
getPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
getPrimarySelection() - Method in class diva.canvas.interactor.SelectionEvent
Return the primary selection object.
getProgressBar() - Method in class diva.gui.toolbox.JStatusBar
Return the progress bar associated with this status bar
getProperty(Object, String) - Method in interface diva.graph.GraphModel
Return the property of the object associated with the given property name.
getProperty(Object, String) - Method in class diva.graph.modular.ModularGraphModel
Return the property of the object associated with the given property name.
getProperty(Object, String) - Method in class diva.graph.modular.BasicModularGraphModel
Return the property of the object associated with the given property name.
getProperty(String) - Method in class diva.sketch.recognition.TimedStroke
Return the property corresponding to the given key, or null if no such property exists.
getProperty(String) - Method in interface diva.util.PropertyContainer
Return the property corresponding to the given key, or null if no such property exists.
getProperty(String) - Method in class diva.util.BasicPropertyContainer
Return the property corresponding to the given key, or null if no such property exists.
getQuadrant() - Method in class diva.canvas.interactor.QuadrantConstraint
Get the quadrant
getRandomizedPlacement() - Method in class diva.graph.layout.LevelLayout
Return whether or not placement will be randomized.
getRecognitionCount() - Method in class diva.sketch.recognition.StrokeRecognitionSet
Return the number of recognitions in this set.
getRecognitionOfType(Type) - Method in class diva.sketch.recognition.StrokeRecognitionSet
Return the recognition contained by this set with the given type, or null if it's not contained.
getRedoPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.DeleteGroupedStrokeEdit
 
getRedoPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.CutEdit
 
getRedoPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.PasteEdit
 
getResource(String) - Method in class diva.gui.ApplicationResources
Deprecated. Get a resource as an absolute URL.
getResource(String) - Method in class diva.resource.RelativeBundle
Get a resource as an absolute URL.
getResourceAsStream(String) - Method in class diva.resource.RelativeBundle
Get a resource as an input stream.
getResources() - Method in class diva.gui.AbstractApplication
Get the resources object.
getRHSNames() - Method in class diva.sketch.parser2d.AbstractRule
Return the RHS names of the rule.
getRHSNames() - Method in class diva.sketch.parser2d.SingleRule
Return the RHS names of the rule.
getRHSNames() - Method in interface diva.sketch.parser2d.Rule
Return the RHS names of the rule.
getRHSTypes() - Method in class diva.sketch.parser2d.AbstractRule
Return the RHS types of the rule.
getRHSTypes() - Method in class diva.sketch.parser2d.SingleRule
Return the RHS types of the rule.
getRHSTypes() - Method in interface diva.sketch.parser2d.Rule
Return the RHS types of the rule.
getRoot() - Method in interface diva.graph.GraphModel
Return the root graph of this graph model.
getRoot() - Method in class diva.graph.modular.ModularGraphModel
Return the root graph of this graph model.
getRoot() - Method in class diva.sketch.recognition.SceneDelta
Root that was added
getRoot() - Method in class diva.sketch.recognition.SceneDelta.Subtractive
Root that was added
getRoot() - Method in class diva.sketch.recognition.SceneDelta.Additive
Root that was added
getRoot() - Method in class diva.util.xml.XmlDocument
Get the root element of this document.
getRootGraph() - Method in class diva.graph.basic.BasicLayoutTarget
Return the root graph of this display.
getRootPane() - Method in class diva.gui.AppContextDelegate
Returns the rootPane of the delegate.
getRouter() - Method in class diva.canvas.connector.ManhattanConnector
Return the router.
getRules() - Method in class diva.sketch.parser2d.Grammar2D
Return the set of rules that comprises this grammar.
getS() - Method in class diva.canvas.interactor.BoundsGeometry
Get the south site.
getS() - Method in class diva.canvas.tutorial.ConnectorTutorial.SitedRectangle
Get the south site.
getSaveFileChooser() - Method in class diva.gui.DefaultStoragePolicy
Get the save file chooser used by this storage policy.
getScreenTransform() - Method in class diva.canvas.TransformContext
Get the transform from local coordinates into screen coordinates.
getSE() - Method in class diva.canvas.interactor.BoundsGeometry
Get the south-east site.
getSelectedIndex() - Method in class diva.gui.toolbox.JShadePane
Return the index of the selected shade, or -1 if there is none.
getSelectedTitle() - Method in class diva.gui.toolbox.JTreePane
Return the selectedString.
getSelection() - Method in class diva.canvas.interactor.BasicSelectionModel
Return an iterator over the selected objects.
getSelection() - Method in interface diva.canvas.interactor.SelectionModel
Return an iterator over the selected objects.
getSelectionAdditions() - Method in class diva.canvas.interactor.SelectionEvent
Return an iterator over the objects added to the selection model.
getSelectionAsArray() - Method in class diva.canvas.interactor.BasicSelectionModel
Return the contents of the selection as an array.
getSelectionAsArray() - Method in interface diva.canvas.interactor.SelectionModel
Return the contents of the selection as an array.
getSelectionCount() - Method in class diva.canvas.interactor.BasicSelectionModel
Return the number of selected objects.
getSelectionCount() - Method in interface diva.canvas.interactor.SelectionModel
Return the number of selected objects.
getSelectionDragger() - Method in class diva.canvas.toolbox.BasicController
Get the selection interactor
getSelectionDragger() - Method in class diva.sketch.toolbox.PanZoomController
Get the selection interactor
getSelectionFilter() - Method in class diva.canvas.interactor.SelectionInteractor
Get the mouse filter that controls when this selection filter is activated.
getSelectionFilter() - Method in class diva.canvas.interactor.SelectionDragger
Get the mouse filter that controls when this selection filter is activated.
getSelectionFilter() - Method in class diva.sketch.BasicSketchController
Return the mouse filter used for the selection interactor.
getSelectionInteractor() - Method in class diva.canvas.demo.SelectionPane
Get the selection interactor
getSelectionInteractor() - Method in class diva.canvas.demo.SimplePane
Return the selection interactor
getSelectionInteractor() - Method in class diva.canvas.demo.RootPane
Get the selection interactor
getSelectionInteractor() - Method in class diva.canvas.toolbox.BasicController
Get the selection interactor
getSelectionInteractor() - Method in class diva.sketch.BasicSketchController
Return the selection interactor on all symbols.
getSelectionInteractor() - Method in class diva.sketch.toolbox.PanZoomController
Get the selection interactor
getSelectionMode() - Method in class diva.canvas.interactor.BasicSelectionModel
Return the mode of the selection, either SINGLE_SELECTION or MULTIPLE_SELECTION.
getSelectionMode() - Method in interface diva.canvas.interactor.SelectionModel
Return the mode of the selection, either SINGLE_SELECTION or MULTIPLE_SELECTION.
getSelectionModel() - Method in class diva.canvas.interactor.SelectionInteractor
Get the selection model
getSelectionModel() - Method in class diva.graph.GraphController
Get the default selection model
getSelectionModel() - Method in class diva.sketch.SketchController
Get the default selection model.
getSelectionRemovals() - Method in class diva.canvas.interactor.SelectionEvent
Return an iterator over the objects removed from the selection model.
getSelectionRenderer() - Method in class diva.canvas.interactor.SelectionInteractor
Get the selection renderer
getSelectionRenderer() - Method in class diva.canvas.toolbox.BasicController
Get the selection renderer
getSelectionRenderer() - Method in class diva.sketch.toolbox.PanZoomController
Get the selection renderer
getSelectiveEnabled() - Method in class diva.canvas.interactor.DragInteractor
Get the flag that says that the interactor responds only if the figure being moused on is selected.
getSemanticObject() - Method in interface diva.util.SemanticObjectContainer
Return the semantic object.
getSemanticObject(Object) - Method in interface diva.graph.GraphModel
Return the visual object corresponding to the given node, composite, or edge.
getSemanticObject(Object) - Method in class diva.graph.modular.ModularGraphModel
Return the semantic object correspoding to the given node, edge, or composite.
getSemanticObject(Object) - Method in class diva.graph.modular.BasicModularGraphModel
Return the semantic object correspoding to the given node, edge, or composite.
getShadeCount() - Method in class diva.gui.toolbox.JShadePane
Return the number of shades in this pane.
getShape() - Method in class diva.canvas.AbstractFigure
Get the outline shape of this figure.
getShape() - Method in class diva.canvas.CompositeFigure
Get the shape of this figure.
getShape() - Method in interface diva.canvas.Figure
Get the outline shape of this figure.
getShape() - Method in class diva.canvas.FigureWrapper
Get the outline shape of the child figure.
getShape() - Method in class diva.canvas.PaneWrapper
Get the shape of this figure.
getShape() - Method in class diva.canvas.FigureDecorator
Get the outline shape of this figure, which is by default the same as the child figure, if there is one, or a very small rectangle if there isn't.
getShape() - Method in class diva.canvas.connector.StraightTerminal
Get the outline shape of this terminal.
getShape() - Method in class diva.canvas.connector.AbstractConnector
Get the outline shape of this connector.
getShape() - Method in class diva.canvas.connector.TerminalFigure
Get the outline shape of this figure.
getShape() - Method in class diva.canvas.demo.WarpImageFigure
 
getShape() - Method in class diva.canvas.interactor.PathGeometry
Get the shape that defines this geometry object.
getShape() - Method in class diva.canvas.interactor.BoundsGeometry
Get the current shape that defines this geometry
getShape() - Method in interface diva.canvas.interactor.Geometry
Get the shape that defines this geometry.
getShape() - Method in class diva.canvas.interactor.CircleGeometry
Get the current shape that defines this geometry
getShape() - Method in class diva.canvas.toolbox.BasicFigure
Get the shape of this figure.
getShape() - Method in class diva.canvas.toolbox.ImageFigure
Return the rectangular shape of the image, or a small rectangle if the image is null.
getShape() - Method in class diva.canvas.toolbox.LabelFigure
Get the shape of this label figure.
getShape() - Method in class diva.canvas.toolbox.SwingWrapper
Get the shape of this figure.
getShape() - Method in class diva.canvas.toolbox.PathFigure
Get the shape of this figure.
getShape() - Method in class diva.canvas.toolbox.LabelWrapper
Get the shape of this figure.
getShape() - Method in class diva.canvas.toolbox.IconFigure
Get the shape of this figure.
getShape() - Method in class diva.canvas.toolbox.VersatileFigure
Get the shape of this figure.
getShape() - Method in class diva.canvas.toolbox.PaintedFigure
Get the shape of this figure.
getShape() - Method in class diva.canvas.tutorial.TransformedFigureTutorial.CloudFigure
Get the shape of this figure.
getShape() - Method in class diva.canvas.tutorial.FigureTutorial.CustomRectangle
Get the shape of this figure.
getShape() - Method in class diva.graph.toolbox.StateBubble
Get the shape of this figure.
getShape() - Method in class diva.util.java2d.PaintedString
Get the shape of this label figure.
getShortTitle() - Method in class diva.graph.schematic.GraphView
 
getShortTitle() - Method in class diva.graph.schematic.ContextGraphView
 
getShortTitle() - Method in class diva.gui.AbstractDocument
Get the short title of this document.
getShortTitle() - Method in class diva.gui.AbstractView
Get the short title of this document.
getShortTitle() - Method in interface diva.gui.Document
Get the short title of this document.
getShortTitle() - Method in interface diva.gui.View
Get the short title of this document.
getShortTitle() - Method in class diva.gui.tutorial.TextView
 
getShortTitle() - Method in class diva.whiteboard.WhiteboardView
 
getSide() - Method in class diva.canvas.connector.BoundsSite
Get the side to be located on: NORTH, SOUTH, EAST, WEST.
getSigmaValues() - Method in class diva.sketch.classification.WeightSet
Return the sigma values.
getSite() - Method in interface diva.canvas.interactor.GrabHandle
Get the site to which this grab-handle is attached.
getSite() - Method in class diva.canvas.interactor.MoveHandle
Get the site that this handle is attached to
getSite() - Method in class diva.canvas.interactor.BasicGrabHandle
Get the site that this handle is attached to
getSite(int) - Method in class diva.canvas.interactor.BoundsGeometry
Get the single site with the given ID.
getSite(int) - Method in class diva.canvas.interactor.CircleGeometry
Get the single site with the given ID.
getSite1() - Method in class diva.sketch.parser2d.DeltaXRelation
Get the site for the first rectangle.
getSite1() - Method in class diva.sketch.parser2d.DeltaYRelation
Get the site for the first rectangle.
getSite1() - Method in class diva.sketch.parser2d.AngleRelation
Get the site for the first rectangle.
getSite1() - Method in class diva.sketch.parser2d.DistanceRelation
Get the site for the first rectangle.
getSite2() - Method in class diva.sketch.parser2d.DeltaXRelation
Get the site for the second rectangle.
getSite2() - Method in class diva.sketch.parser2d.DeltaYRelation
Get the site for the second rectangle.
getSite2() - Method in class diva.sketch.parser2d.AngleRelation
Get the site for the second rectangle.
getSite2() - Method in class diva.sketch.parser2d.DistanceRelation
Get the site for the second rectangle.
getSize() - Method in class diva.canvas.CanvasPane
Get the size of this pane, in logical coordinates.
getSize() - Method in interface diva.canvas.interactor.GrabHandle
Get the "size" of the grab-handle.
getSize() - Method in class diva.canvas.interactor.MoveHandle
Get the "size" of the grab-handle.
getSize() - Method in class diva.canvas.interactor.BasicGrabHandle
Get the "size" of the grab-handle.
getSize() - Method in class diva.canvas.toolbox.LabelFigure
Get the font size.
getSize() - Method in class diva.util.java2d.PaintedString
Get the font size.
getSizeUnit() - Method in class diva.canvas.connector.Blob
Get the size unit.
getSketchController() - Method in class diva.sketch.SketchPane
Get the sketch controller that controls the behavior of this pane.
getSketchLayer() - Method in class diva.sketch.SketchPane
Return the sketch layer for optimized drawing of strokes.
getSketchLayer() - Method in class diva.whiteboard.SketchTest2.LocalSketchPane
Return the sketch layer for optimized drawing of strokes.
getSketchLayer() - Method in class diva.whiteboard.SketchTest3.LocalSketchPane
Return the sketch layer for optimized drawing of strokes.
getSketchModel() - Method in class diva.sketch.BasicSketchController
Return the sketch model this pane views.
getSketchPane() - Method in class diva.sketch.JSketch
Return the sketch pane which displays and handles sketched input.
getSketchPane() - Method in class diva.sketch.SketchController
Return the parent pane of this controller.
getSnapHalo() - Method in class diva.canvas.connector.ConnectorManipulator
Get the snap halo.
getSparseness() - Method in class diva.graph.layout.GridAnnealingLayout
Return the sparseness value of this layout; the default value is 1.0.
getSplitPane() - Method in class diva.gui.DesktopContext
Get the split pane separating the shade pane and the desktop pane.
getSplitPane() - Method in class diva.gui.toolbox.JTreePane
Returns the split pane object.
getStateType() - Method in class diva.graph.toolbox.StateBubble
Get the state type.
getStatusBar() - Method in class diva.gui.DesktopContext
Get the status bar.
getStoragePolicy() - Method in class diva.gui.AbstractApplication
Get the storage policy of this application.
getStoragePolicy() - Method in interface diva.gui.Application
Get the storage policy of this application.
getString() - Method in class diva.canvas.toolbox.LabelFigure
Get the string of this label.
getString() - Method in class diva.util.java2d.PaintedString
Get the string of this label.
getStroke() - Method in class diva.canvas.OverlayLayer
Get the current paint stroke
getStroke() - Method in class diva.canvas.connector.StraightTerminal
Get the stroke of this terminal.
getStroke() - Method in class diva.canvas.connector.AbstractConnector
Get the stroke of this connector.
getStroke() - Method in class diva.canvas.toolbox.BasicFigure
Get the stroke of this figure.
getStroke() - Method in class diva.canvas.toolbox.PathFigure
Get the stroke of this figure.
getStroke() - Method in class diva.canvas.toolbox.VersatileFigure
Get the stroke of this figure if it is a painted shape or painted path.
getStroke() - Method in class diva.graph.toolbox.StateBubble
Get the stroke of this figure.
getStroke() - Method in class diva.sketch.StrokeSymbol
Return the stroke that's wrapped by this symbol.
getStroke() - Method in interface diva.sketch.recognition.StrokeElement
Return the timed stroke object that is contained by this element.
getStroke() - Method in interface diva.util.java2d.PaintedGraphic
Get the stroke.
getStroke() - Method in class diva.util.java2d.AbstractPaintedGraphic
Get the stroke.
getStroke(float) - Static method in class diva.util.java2d.AbstractPaintedGraphic
Get a new stroke of the given width and with no dashing.
getStroke(int) - Static method in class diva.util.java2d.AbstractPaintedGraphic
Get a new stroke of the given width and with no dashing.
getStrokeCount() - Method in class diva.sketch.recognition.BasicScene
Return a count of the total number of stroke nodes in the database, for a crude measure of performance.
getStrokeFilter() - Method in class diva.sketch.recognition.BasicStrokeRecognizer
Return the stroke filter that is used to preprocess the strokes.
getStrokePaint() - Method in class diva.canvas.connector.AbstractConnector
Get the stroke paint pattern of this connector.
getStrokePaint() - Method in class diva.canvas.toolbox.BasicFigure
Get the stroke paint pattern of this figure.
getStrokePaint() - Method in class diva.canvas.toolbox.PathFigure
Get the stroke paint of this figure.
getStrokePaint() - Method in class diva.canvas.toolbox.VersatileFigure
Get the stroke paint pattern of this figure if it is a painted shape or painted path.
getStrokePaint() - Method in class diva.graph.basic.BubbleRenderer
Get the stroke paint pattern of this figure.
getStrokePaint() - Method in class diva.graph.toolbox.StateBubble
Get the stroke paint pattern of this figure.
getStyle() - Method in class diva.canvas.connector.Blob
Get the style.
getStyle() - Method in class diva.canvas.toolbox.LabelFigure
Get the font style.
getStyle() - Method in class diva.util.java2d.PaintedString
Get the font style.
getSW() - Method in class diva.canvas.interactor.BoundsGeometry
Get the south-west site.
getSymbol() - Method in class diva.sketch.SketchEvent
Return the symbol that initiates this event.
getSymbolCount() - Method in class diva.sketch.SketchModel
Return the number of symbols in this model.
getSystemId() - Method in class diva.util.aelfred.XmlException
Get the URI of the entity containing the error.
getTail() - Method in interface diva.graph.modular.Edge
Return the node at the tail of this edge.
getTail(Object) - Method in interface diva.graph.GraphModel
Return the tail node of this edge.
getTail(Object) - Method in class diva.graph.modular.ModularGraphModel
Return the tail node of this edge.
getTail(Object) - Method in interface diva.graph.modular.EdgeModel
Return the node at the tail of this edge.
getTail(Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel
Return the tail node of this edge.
getTailEnd() - Method in class diva.canvas.connector.AbstractConnector
Get the object drawn at the tail end of the connector, if there is one.
getTailHandle() - Method in class diva.canvas.connector.ConnectorManipulator
Get the tail handle
getTailSite() - Method in class diva.canvas.connector.AbstractConnector
Get the site that marks the "tail" of the connector.
getTailSite() - Method in interface diva.canvas.connector.Connector
Get the site that marks the "tail" of the connector.
getTailSite(Connector, Figure, double, double) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return a suitable site to connect the given connector's tail to, based on this figure and location.
getTailSite(Connector, Figure, double, double) - Method in interface diva.canvas.connector.ConnectorTarget
Return a suitable site to connect the given connector's tail to, based on this figure and location.
getTailSite(Connector, Site, double, double) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return a suitable site to connect a connector's tail to.
getTailSite(Connector, Site, double, double) - Method in interface diva.canvas.connector.ConnectorTarget
Return a suitable site to connect a connector's tail to.
getTailSite(Figure, double, double) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return a suitable site to connect a connector's tail to, based on this figure and location.
getTailSite(Figure, double, double) - Method in interface diva.canvas.connector.ConnectorTarget
Return a suitable site to connect a connector's tail to, based on this figure and location.
getTailSite(Site, double, double) - Method in class diva.canvas.connector.AbstractConnectorTarget
Return a suitable site to connect a connector's tail to.
getTailSite(Site, double, double) - Method in interface diva.canvas.connector.ConnectorTarget
Deprecated. Use getTailSite that takes a connector.
getTarget() - Method in class diva.canvas.connector.ConnectorEvent
Return the target that the connector is snapped to or unsnapped from.
getTarget() - Method in class diva.canvas.connector.ConnectorInteractor
Get the current target figure.
getTarget() - Method in class diva.graph.GraphEvent
Return the target value, which is event-specific.
getTarget() - Method in class diva.graph.GraphViewEvent
Return the target value, which is event-specific.
getTarget() - Method in class diva.gui.toolbox.JContextMenu
The object that this context menu was created on.
getTargetArray() - Method in class diva.canvas.interactor.DragInteractor
Get the target array.
getTargetHighlighter() - Method in class diva.canvas.connector.ConnectorManipulator
Get the listener that highlights target objects.
getTerminal(int) - Method in class diva.canvas.toolbox.IconFigure
Get the terminal at the given index
getTestHarness() - Method in class diva.util.jester.TestSuite
Get the test harness used by this test suite.
getText() - Method in class diva.gui.tutorial.TextDocument
Return the text contained in this document.
getText() - Method in class diva.sketch.toolbox.TextData
Return the text string contained by this data.
getTextDocument() - Method in class diva.gui.tutorial.TextView
 
getTimestamp(int) - Method in class diva.sketch.recognition.TimedStroke
Return the timestamp of the point at the given index.
getTitle() - Method in class diva.graph.schematic.GraphEditor
Get the title of this application
getTitle() - Method in class diva.graph.schematic.GraphView
 
getTitle() - Method in class diva.graph.schematic.ContextGraphView
 
getTitle() - Method in class diva.graph.schematic.MultiWindowGraphEditor
Get the title of this application
getTitle() - Method in class diva.gui.AppletContext
Return the title of the context.
getTitle() - Method in class diva.gui.AbstractApplication
Get the title of this application
getTitle() - Method in class diva.gui.AbstractDocument
Get the title of this document.
getTitle() - Method in class diva.gui.AbstractView
Get the title of this document
getTitle() - Method in class diva.gui.MultipageDocument
Return the title of this documen
getTitle() - Method in interface diva.gui.Page
Return the title of the page.
getTitle() - Method in class diva.gui.ApplicationContext
Return the title of the context.
getTitle() - Method in interface diva.gui.Document
Get the title of this document
getTitle() - Method in class diva.gui.AppContextDelegate
Return the title of the context.
getTitle() - Method in class diva.gui.BasicPage
Return the title of the page.
getTitle() - Method in interface diva.gui.Application
Get the title of this application
getTitle() - Method in class diva.gui.MultipageModel
Return the title of this model
getTitle() - Method in interface diva.gui.View
Get the title of this document
getTitle() - Method in interface diva.gui.AppContext
Return the title of the context.
getTitle() - Method in class diva.gui.tutorial.ApplicationTutorial
Get the title of this application
getTitle() - Method in class diva.gui.tutorial.TextView
 
getTitle() - Method in class diva.gui.tutorial.MDIApplicationTutorial
Get the title of this application
getTitle() - Method in class diva.whiteboard.Whiteboard
Get the title of this application
getTitle() - Method in class diva.whiteboard.WhiteboardView
 
getTitleAt(int) - Method in class diva.gui.toolbox.JShadePane
Returns the tab title at the given index.
getToggleFilter() - Method in class diva.canvas.interactor.SelectionInteractor
Get the mouse filter that controls the toggling of selections
getToggleFilter() - Method in class diva.canvas.interactor.SelectionDragger
Get the mouse filter that controls the toggling of selections
getTokenTypes() - Method in class diva.sketch.parser2d.Grammar2D
Return the set of token types that the grammar expects from the low-level recognizer in order to function properly.
getToolBarPane() - Method in class diva.gui.DesktopContext
Get the tool bar pane.
getToolTipText() - Method in class diva.canvas.AbstractFigure
Return the tooltip string for this figure, or null if the figure does not have a tooltip.
getToolTipText() - Method in interface diva.canvas.Figure
Return the tooltip string for this figure, or null if the figure does not have a tooltip.
getToolTipText() - Method in class diva.canvas.connector.TerminalFigure
Return the tooltip for this figure.
getToolTipText(LayerEvent) - Method in class diva.canvas.CanvasLayer
Get the toolTipText for the point in the given MouseEvent.
getToolTipText(LayerEvent) - Method in class diva.canvas.FigureLayer
Get the toolTipText for the point in the given LayerEvent.
getToolTipText(LayerEvent) - Method in class diva.canvas.CanvasPane
Get the toolTipText for the point in the given LayerEvent.
getToolTipText(MouseEvent) - Method in class diva.canvas.JCanvas
Get the toolTipText for the point in the given MouseEvent.
getTransform() - Method in class diva.canvas.TransformContext
Get the transform of this context.
getTransformContext() - Method in interface diva.canvas.CanvasComponent
Return the transform context of the component.
getTransformContext() - Method in interface diva.canvas.Site
Get the enclosing transform context of this site.
getTransformContext() - Method in class diva.canvas.SiteDecorator
Get the enclosing transform context of this site.
getTransformContext() - Method in class diva.canvas.AbstractFigure
Return the transform context of the figure.
getTransformContext() - Method in class diva.canvas.AbstractSite
Get the enclosing transform context of this site.
getTransformContext() - Method in class diva.canvas.CompositeFigure
Return the transform context of this figure.
getTransformContext() - Method in class diva.canvas.CanvasLayer
Return the transform context of the parent pane, if there is one.
getTransformContext() - Method in class diva.canvas.CanvasPane
Return the transform context of this pane.
getTransformContext() - Method in class diva.canvas.connector.TerminalFigure
Return the transform context of the component.
getTransformContext() - Method in class diva.canvas.connector.AutonomousSite
Get the enclosing transform context of this site.
getTransformContext() - Method in class diva.canvas.tutorial.TransformedFigureTutorial.CloudFigure
Get the transform context.
getTree() - Method in class diva.gui.toolbox.JTreePane
Returns the tree object.
getType() - Method in class diva.sketch.classification.WeightSet
Return the type of this classifier.
getType() - Method in class diva.sketch.recognition.SimpleData
Construct a simple data with the given dynamic identifier.
getType() - Method in interface diva.sketch.recognition.TypedData
Return the uniquely identifying type associated with this piece of data.
getType() - Method in class diva.sketch.recognition.StrokeRecognition
Return the type of this recognition.
getType() - Method in class diva.sketch.toolbox.PanRecognizer.PanData
 
getType() - Method in class diva.sketch.toolbox.TextData
Return the type of this data, implementing the TypedData interface.
getType() - Method in class diva.sketch.toolbox.BulletedItems
 
getType() - Method in class diva.sketch.toolbox.TextLine
 
getType() - Method in class diva.sketch.toolbox.BulletedItem
 
getType() - Method in class diva.sketch.toolbox.TextBlock
 
getType() - Method in class diva.sketch.toolbox.BulletedData
 
getType() - Method in class diva.sketch.toolbox.ZoomRecognizer.ZoomData
 
getType() - Method in class diva.sketch.toolbox.BulletedLine
 
getType() - Method in class diva.sketch.toolbox.BulletedList
 
getType() - Method in class diva.util.xml.XmlElement
Return the type of this XmlElement.
getType(int) - Method in class diva.sketch.classification.Classification
Return the i'th type.
getTypeCount() - Method in class diva.sketch.classification.Classification
Return the number of types in this classification.
getTypeCount() - Method in class diva.sketch.classification.TrainingSet
Return how many types are contained in this training set.
getTypeCount() - Method in class diva.sketch.recognition.TrainingModel
Return how many types are contained in this training model.
getTypeID() - Method in class diva.sketch.recognition.SimpleData
Return the dynamic type identifier of this data item.
getUndoManager() - Method in class diva.gui.AbstractDocument
Return the undo manager of this document.
getUndoManager() - Method in interface diva.gui.Document
Return the undo manager of this document.
getUndoPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.DeleteGroupedStrokeEdit
 
getUndoPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.CutEdit
 
getUndoPresentationName() - Method in class diva.whiteboard.WhiteboardEdits.PasteEdit
 
getURL() - Method in class diva.gui.AbstractDocument
Get the URL that this document is associated with.
getURL() - Method in interface diva.gui.Document
Get the URL that this document is associated with.
getURL() - Method in class diva.util.xml.XmlDocument
Get the URL of this document.
getUserObject() - Method in class diva.canvas.AbstractFigure
Get the user object of this figure.
getUserObject() - Method in class diva.canvas.connector.TerminalFigure
Return the user object.
getUserObject() - Method in interface diva.util.UserObjectContainer
Return the user object.
getVersion() - Method in class diva.canvas.TransformContext
Get the version number of the transfom context.
getVertex(int) - Method in class diva.canvas.interactor.PathGeometry
Get the site on the given vertex.
getVertexCount() - Method in class diva.canvas.interactor.PathGeometry
Get the number of vertices of this shape.
getVertexCount() - Method in class diva.util.java2d.Polyline2D
Get the number of vertices
getVertexCount() - Method in class diva.util.java2d.Polyline2D.Double
Get the number of vertices
getVertexCount() - Method in class diva.util.java2d.Polygon2D
Get the number of vertices
getVertexCount() - Method in class diva.util.java2d.Polygon2D.Double
Get the number of vertices
getVertexPaint() - Method in class diva.canvas.toolbox.GridLayer
Get the vertex point paint.
getVertexShape() - Method in class diva.canvas.toolbox.GridLayer
Get the vertex point shape.
getView() - Method in class diva.gui.ViewEvent
Return the component/view that the event refers to
getView(JComponent) - Method in class diva.gui.MDIApplication
Get the Document displayed by the given component.
getView(Window) - Method in class diva.gui.MultiWindowApplication
Get the Document displayed by the given component.
getViewport() - Method in class diva.gui.toolbox.JPanner
Return the target component that is being wrapped.
getViewport(Object) - Method in class diva.graph.basic.BasicLayoutTarget
Return the viewport of the given graph as a rectangle in logical coordinates.
getViewport(Object) - Method in interface diva.graph.layout.LayoutTarget
Return the viewport of the given graph as a rectangle in logical coordinates.
getVisualObject() - Method in interface diva.util.VisualObjectContainer
Return the visual object.
getVisualObject(Object) - Method in class diva.graph.basic.BasicLayoutTarget
Return the visual object of the given graph object.
getVisualObject(Object) - Method in interface diva.graph.layout.LayoutTarget
Return the visual object of the given graph object.
getW() - Method in class diva.canvas.interactor.BoundsGeometry
Get the west site.
getW() - Method in class diva.canvas.tutorial.ConnectorTutorial.SitedRectangle
Get the west site.
getWarningCount() - Method in class diva.util.LoggableOp
Get the number of warnings generated during the most recent parse.
getWhiteboardState() - Method in class diva.whiteboard.Whiteboard
 
getWindingRule() - Method in class diva.util.java2d.PolylineIterator
Return the winding rule.
getWindingRule() - Method in class diva.util.java2d.PolygonIterator
Return the winding rule.
getWrappedPane() - Method in class diva.canvas.PaneWrapper
Get the wrapped pane
getX() - Method in interface diva.canvas.Site
Get the x-coordinate of the site, in the enclosing transform context.
getX() - Method in class diva.canvas.SiteDecorator
Get the x-coordinate of the site, in the enclosing transform context.
getX() - Method in class diva.canvas.AbstractSite
Get the x-coordinate of the site, in the enclosing transform context.
getX() - Method in class diva.canvas.connector.PerimeterSite
Get the x-coordinate of the site.
getX() - Method in class diva.canvas.connector.BoundsSite
Get the x-coordinate of the site.
getX() - Method in class diva.canvas.connector.CenterSite
Get the x-coordinate of the site.
getX() - Method in class diva.canvas.connector.AutonomousSite
Get the x-coordinate of the site, in the enclosing transform context.
getX() - Method in class diva.canvas.connector.NullSite
Return 0.0.
getX() - Method in class diva.canvas.connector.ParametricSite
Get the X-coordinate of the site.
getX() - Method in class diva.canvas.interactor.PathGeometry.Vertex
Get the x-coordinate of the site, in the local coordinates of the containing pane.
getX() - Method in class diva.canvas.interactor.PathGeometry.CloseSegment
Get the x-coordinate of the site, in the local coordinates of the containing pane
getX() - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Get the x-coordinate of the site, in the local coordinates of the containing pane.
getX() - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Get the x-coordinate of the site, in the local coordinates of the containing pane.
getX(int) - Method in class diva.util.java2d.Polyline2D
Get the given X-coordinate
getX(int) - Method in class diva.util.java2d.Polyline2D.Float
Get the given X-coordinate
getX(int) - Method in class diva.util.java2d.Polyline2D.Double
Get the given X-coordinate
getX(int) - Method in class diva.util.java2d.Polygon2D
Get the given X-coordinate
getX(int) - Method in class diva.util.java2d.Polygon2D.Float
Get the given X-coordinate
getX(int) - Method in class diva.util.java2d.Polygon2D.Double
Get the given X-coordinate
getXmlDocument() - Method in class diva.graph.schematic.GraphDocument
Get the XML document that contains the raw XML data.
getXY(Object) - Method in class diva.graph.layout.GridAnnealingLayout
Return the logical X, Y positions of the given node as an integer array of length 2.
getY() - Method in interface diva.canvas.Site
Get the y-coordinate of the site, in the enclosing transform context.
getY() - Method in class diva.canvas.SiteDecorator
Get the y-coordinate of the site, in the enclosing transform context.
getY() - Method in class diva.canvas.AbstractSite
Get the y-coordinate of the site, in the enclosing transform context.
getY() - Method in class diva.canvas.connector.PerimeterSite
Get the y-coordinate of the site.
getY() - Method in class diva.canvas.connector.BoundsSite
Get the y-coordinate of the site.
getY() - Method in class diva.canvas.connector.CenterSite
Get the y-coordinate of the site.
getY() - Method in class diva.canvas.connector.AutonomousSite
Get the y-coordinate of the site, in the enclosing transform context.
getY() - Method in class diva.canvas.connector.NullSite
Return 0.0.
getY() - Method in class diva.canvas.connector.ParametricSite
Get the Y-coordinate of the site.
getY() - Method in class diva.canvas.interactor.PathGeometry.Vertex
Get the y-coordinate of the site, in the local coordinates of the containing pane.
getY() - Method in class diva.canvas.interactor.PathGeometry.CloseSegment
Get the y-coordinate of the site, in the local coordinates of the containing pane.
getY() - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Get the y-coordinate of the site, in the local coordinates of the containing pane.
getY() - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Get the y-coordinate of the site, in the local coordinates of the containing pane.
getY(int) - Method in class diva.util.java2d.Polyline2D
Get the given Y-coordinate
getY(int) - Method in class diva.util.java2d.Polyline2D.Float
Get the given Y-coordinate
getY(int) - Method in class diva.util.java2d.Polyline2D.Double
Get the given Y-coordinate
getY(int) - Method in class diva.util.java2d.Polygon2D
Get the given Y-coordinate
getY(int) - Method in class diva.util.java2d.Polygon2D.Float
Get the given Y-coordinate
getY(int) - Method in class diva.util.java2d.Polygon2D.Double
Get the given Y-coordinate
getZoomAmount() - Method in class diva.sketch.toolbox.ZoomRecognizer.ZoomData
Return the absolute scale factor relative to the zoom center point.
getZoomFactor() - Method in class diva.sketch.toolbox.ZoomRecognizer
Return the zoom scaling factor for this recognizer.
GlobalLayout - interface diva.graph.layout.GlobalLayout.
A static layout engine which layouts traverse the graph structure and performs layout from scratch, ignoring the previous positions of the nodes in the graphs.
GrabHandle - interface diva.canvas.interactor.GrabHandle.
A grab handle for manipulating figures and so on.
GrabHandleFactory - interface diva.canvas.interactor.GrabHandleFactory.
A factory so that a client can create grab handles without knowing anything about their implementation.
grabPointer(LayerEvent, Figure) - Method in class diva.canvas.FigureLayer
"Grab" the pointer.
Grammar2D - class diva.sketch.parser2d.Grammar2D.
A grammar is a collection of rules that implement productions and a collection of tokens that are expected from the low-level recognizer in order for these rules to make sense.
Grammar2D(Rule[], Type[]) - Constructor for class diva.sketch.parser2d.Grammar2D
Construct a grammar using the given set of rules and token types.
Graph - interface diva.graph.modular.Graph.
A graph is an object that contains nodes and edges.
GraphController - class diva.graph.GraphController.
A class that represents the main component of a typical graph editor.
GraphController() - Constructor for class diva.graph.GraphController
Construct a graph controller without a parent pane.
GraphDocument - class diva.graph.schematic.GraphDocument.
A class representing graph-structured documents.
GraphDocument.Factory - class diva.graph.schematic.GraphDocument.Factory.
GraphDocument.Factory is a factory for graph documents.
GraphDocument.Factory() - Constructor for class diva.graph.schematic.GraphDocument.Factory
 
GraphDocument(Application) - Constructor for class diva.graph.schematic.GraphDocument
Construct a graph document that is owned by the given application.
GraphDropTarget - class diva.graph.schematic.GraphDropTarget.
This class provides customizable drag-and-drop support for the graph editor widget.
GraphDropTarget(JGraph) - Constructor for class diva.graph.schematic.GraphDropTarget
Construct a new graph target to operate on the given JGraph.
GraphEditor - class diva.graph.schematic.GraphEditor.
A graph editor for non-hierarchical graphs.
GraphEditor(DesktopContext) - Constructor for class diva.graph.schematic.GraphEditor
Construct a new graph editing application.
GraphEditorApplet - class diva.graph.schematic.GraphEditorApplet.
A graph editor that runs as an applet.
GraphEditorApplet() - Constructor for class diva.graph.schematic.GraphEditorApplet
 
GraphEvent - class diva.graph.GraphEvent.
A graph event that is emitted when anything interesting happens inside a graph by way of a GraphModel.
GraphEvent(Object, int, Object) - Constructor for class diva.graph.GraphEvent
Construct a GraphEvent with the given source and target and a null previous value.
GraphEvent(Object, int, Object, Object) - Constructor for class diva.graph.GraphEvent
Construct a GraphEvent with the given source, target, and previous value.
GraphEventMulticaster - class diva.graph.toolbox.GraphEventMulticaster.
A list of GraphListeners which is smart enough to call the correct methods on these listeners given a GraphEvent's ID.
GraphEventMulticaster() - Constructor for class diva.graph.toolbox.GraphEventMulticaster
Create an empty multicaster object.
GraphException - exception diva.graph.GraphException.
A graph package topological error.
GraphException() - Constructor for class diva.graph.GraphException
 
GraphException(Exception) - Constructor for class diva.graph.GraphException
 
GraphException(String) - Constructor for class diva.graph.GraphException
 
GraphicsPane - class diva.canvas.GraphicsPane.
A CanvasPane which has a default set of layers that are useful for interactive drawing and editing applications.
GraphicsPane() - Constructor for class diva.canvas.GraphicsPane
Create a new Graphics pane with an instance of FigureLayer as the main figure layer.
GraphicsPane(FigureLayer) - Constructor for class diva.canvas.GraphicsPane
Create a new Graphics pane with the passed Layer as the main graphics pane.
GraphicsParser - class diva.canvas.toolbox.GraphicsParser.
A collection of utilities to help parsing graphics from strings and other kinds of external storage.
GraphicsParser() - Constructor for class diva.canvas.toolbox.GraphicsParser
 
GraphListener - interface diva.graph.GraphListener.
A listener for changes in a graph's structure or contents, which are communicated through GraphEvent objects.
GraphLogger - class diva.graph.toolbox.GraphLogger.
A logger of graph events.
GraphLogger() - Constructor for class diva.graph.toolbox.GraphLogger
 
GraphModel - interface diva.graph.GraphModel.
A graph model is an abstraction of a graph implementation and a registration point for GraphListeners.
GraphPane - class diva.graph.GraphPane.
The display part of the JGraph user-level widget.
GraphPane(GraphController, GraphModel) - Constructor for class diva.graph.GraphPane
Create a new graph pane with the given controller and model.
GraphPane(GraphModel) - Constructor for class diva.graph.GraphPane
Create a new graph pane with a view on the given model.
GraphUtilities - class diva.graph.GraphUtilities.
A set of utilities for traversing/manipulating/etc.
GraphView - class diva.graph.schematic.GraphView.
 
GraphView(Document) - Constructor for class diva.graph.schematic.GraphView
 
GraphViewEvent - class diva.graph.GraphViewEvent.
A graph view event that is emitted when anything interesting happens inside a graph view.
GraphViewEvent(Object, int, Object) - Constructor for class diva.graph.GraphViewEvent
Construct a GraphViewEvent with the given source and target and a null previous value.
GraphViewEvent(Object, int, Object, Object) - Constructor for class diva.graph.GraphViewEvent
Construct a GraphViewEvent with the given source, target, and previous value.
GraphViewListener - interface diva.graph.GraphViewListener.
A listener for changes in a graph's structure or contents, which are communicated through GraphViewEvent objects.
GridAnnealingLayout - class diva.graph.layout.GridAnnealingLayout.
A simple layout which places nodes on a grid using a cost function.
GridAnnealingLayout(LayoutTarget) - Constructor for class diva.graph.layout.GridAnnealingLayout
 
GridLayer - class diva.canvas.toolbox.GridLayer.
A grid layer displays a rectangular grid.
GridLayer() - Constructor for class diva.canvas.toolbox.GridLayer
Create a new GridLayer with a default one-pixel grid stroke and a light grey grid color.
GridLayer(Shape, Paint) - Constructor for class diva.canvas.toolbox.GridLayer
Create a new GridLayer with the given vertex shape and paint.
GridLayer(Stroke, Paint) - Constructor for class diva.canvas.toolbox.GridLayer
Create a new GridLayer with the given grid stroke and paint
groupSelected() - Method in class diva.whiteboard.WhiteboardView
 
GUIUtilities - class diva.gui.GUIUtilities.
A collection of utilities for the GUI.
GUIUtilities() - Constructor for class diva.gui.GUIUtilities
 

H

handle(Throwable) - Method in class diva.gui.ApplicationExceptionHandler
 
handleDeltas(SceneDeltaSet, Scene) - Method in class diva.sketch.parser2d.ParsingSceneRecognizer
Handle any deltas that may have occurred in the scene from the addition, modification, or completion of strokes/sessions to the scene database.
handleGetObject(String) - Method in class diva.gui.ApplicationResources
Deprecated. Get an object from a ResourceBundle.
handleGetObject(String) - Method in class diva.resource.RelativeBundle
Get an object from a ResourceBundle.
handler - Variable in class diva.util.aelfred.XmlParser
 
HandlerBase - class diva.util.aelfred.HandlerBase.
Convenience base class for AElfred handlers.
HandlerBase() - Constructor for class diva.util.aelfred.HandlerBase
 
hasAttribute(String) - Method in class diva.util.xml.XmlElement
Test if this element has the attribute with the given name.
hashAttributes(String, Map) - Static method in class diva.canvas.toolbox.GraphicsParser
Given a XML-style attribute string and a hash-table, add each attribute and its value to the table.
hashAttributes(String, Map) - Static method in class diva.canvas.toolbox.SVGParser
Given a XML-style attribute string and a hash-table, add each attribute and its value to the table.
hashCode() - Method in class diva.sketch.recognition.Type
Override the hashCode() method so that objects of the same type hash to the same index.
hasNext() - Method in class diva.util.IteratorAdapter
 
hasNext() - Method in class diva.util.NullIterator
 
hasNext() - Method in class diva.util.FilteredIterator
 
hasNext() - Method in class diva.util.IteratorIterator
 
hasNext() - Method in class diva.util.ArrayIterator
 
hasNext() - Method in class diva.util.ProxyIterator
 
hasNext() - Method in class diva.util.UnitIterator
 
hasNext() - Method in class diva.util.CompoundIterator
 
hasNext() - Method in class diva.util.ReverseIterator
Test if there are more elements
hasNormal() - Method in interface diva.canvas.Site
Test if this site has a "normal" to it.
hasNormal() - Method in class diva.canvas.SiteDecorator
Test if this site has a "normal" to it.
hasNormal() - Method in class diva.canvas.AbstractSite
Test if this site has a "normal" to it.
hasNormal() - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Test if this site has a "normal" to it.
hasNormal() - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Test if this site has a "normal" to it.
hasStrokeChanged(TimedStroke) - Method in class diva.sketch.toolbox.CachingStrokeRecognizer
Return whether or not the given stroke is changed relative to the previous cached version.
HEAD_END - Static variable in class diva.canvas.connector.ConnectorEvent
This event concernts the head end of the connector.
headMoved() - Method in class diva.canvas.connector.AbstractConnector
Inform the connector that the head site has moved.
headMoved() - Method in interface diva.canvas.connector.Connector
Inform the connector that the head site has moved.
height - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
HEIGHT - Static variable in class diva.apps.SketchPad
The default height of the editor.
HEIGHT - Static variable in class diva.apps.GestureTrainer
The default height of the editor.
heightRatio(SceneElement, SceneElement) - Static method in class diva.sketch.parser2d.AbstractRule
Calculate the height ratio of the bounding boxes of the two given scene elements.
HeightRatioRelation - class diva.sketch.parser2d.HeightRatioRelation.
Calculate the ratio of the height of the first input scene element to the height of the second.
HeightRatioRelation() - Constructor for class diva.sketch.parser2d.HeightRatioRelation
 
hideFrame() - Method in class diva.gui.toolbox.JPseudoFrame
Hide the pseudo-frame.
hit(Rectangle2D) - Method in class diva.canvas.AbstractFigure
Test if this figure intersects the given rectangle, and the interior of the figure is not transparent to hits.
hit(Rectangle2D) - Method in interface diva.canvas.Figure
Test if this figure is "hit" by the given rectangle.
hit(Rectangle2D) - Method in class diva.canvas.FigureDecorator
Test if the child is hit.
hit(Rectangle2D) - Method in class diva.canvas.connector.StraightTerminal
Test if this terminal is hit by the given rectangle.
hit(Rectangle2D) - Method in class diva.canvas.connector.AbstractConnector
Test if this connector is hit by the given rectangle.
hit(Rectangle2D) - Method in class diva.canvas.connector.TerminalFigure
Test if this figure is "hit" by the given rectangle.
hit(Rectangle2D) - Method in class diva.canvas.toolbox.BasicFigure
Test if this figure intersects the given rectangle.
hit(Rectangle2D) - Method in class diva.canvas.toolbox.BasicHighlighter
Return false.
hit(Rectangle2D) - Method in class diva.canvas.toolbox.PathFigure
Test if this figure intersects the given rectangle.
hit(Rectangle2D) - Method in class diva.canvas.toolbox.LabelWrapper
We are hit if either the child or the figure is hit.
hit(Rectangle2D) - Method in class diva.canvas.toolbox.VersatileFigure
Test if this figure intersects the given rectangle.
hit(Rectangle2D) - Method in class diva.graph.toolbox.StateBubble
Test if this figure intersects the given rectangle.
hit(Rectangle2D) - Method in interface diva.util.java2d.PaintedGraphic
Test if this shape is hit by the given rectangle.
hit(Rectangle2D) - Method in class diva.util.java2d.AbstractPaintedGraphic
Test if this shape intersects the given rectangle.
hit(Rectangle2D) - Method in class diva.util.java2d.PaintedPath
Test if this shape is hit by the given rectangle.
hit(Rectangle2D) - Method in class diva.util.java2d.PaintedShape
Test if this shape is hit by the given rectangle.
hitSketchFigures(Rectangle2D) - Method in class diva.sketch.SketchController
Return an iterator over the figures that intersect the given rectangular region.
HOLD_TIMEOUT - Static variable in class diva.sketch.BasicInterpreter
The timeout for the popup hold, in milliseconds.
HORIZONTAL - Static variable in class diva.graph.layout.LevelLayout
Layout the graph in levels from left to right.

I

IconFigure - class diva.canvas.toolbox.IconFigure.
An IconFigure is a figure that contains a main background figure, a PaintedObject to decorate that figure, a label, and an arbitrary number of attached Terminal objects.
IconFigure(Figure) - Constructor for class diva.canvas.toolbox.IconFigure
Create a new icon figure using the given figure as the "background" figure.
IconFigure(Figure, PaintedObject) - Constructor for class diva.canvas.toolbox.IconFigure
Create a new icon figure using the given figure as the "background" figure and the given Painted object as its "graphic."
IconFigure(Figure, PaintedObject, String) - Constructor for class diva.canvas.toolbox.IconFigure
Create a new icon figure using the given figure as the "background" figure, the given Painted object as its "graphic," and the given string as a displayed label.
IconFigure(Figure, String) - Constructor for class diva.canvas.toolbox.IconFigure
Create a new icon figure using the given figure as the "background" figure and with the given label.
IconTutorial - class diva.canvas.tutorial.IconTutorial.
This tutorial illustrates how to use Icons.
IconTutorial() - Constructor for class diva.canvas.tutorial.IconTutorial
Create a JCanvas and put it into a window
ID_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
IDLE - Static variable in class diva.sketch.toolbox.ModedIncrRecognizer
The recognizer is IDLE, and should ignore all events except for STROKE_STARTED.
idToString(int) - Static method in class diva.canvas.event.LayerEvent
Print the string representation of an event ID
ignorableWhitespace(char[], int, int) - Method in class diva.util.aelfred.HandlerBase
Handle ignorable whitespace.
ignorableWhitespace(char[], int, int) - Method in interface diva.util.aelfred.XmlHandler
Ignorable whitespace.
ignorableWhitespace(char[], int, int) - Method in class diva.util.xml.XmlReader.Handler
Handle ignorable whitespace.
IMAGE_FILE_NAME - Static variable in class diva.canvas.tutorial.FigureTutorial
 
IMAGE_FILE_NAME - Static variable in class diva.canvas.test.ConcreteFigures.ImageFigureFactory
 
ImageFigure - class diva.canvas.toolbox.ImageFigure.
A figure which draws a user-specified image.
ImageFigure() - Constructor for class diva.canvas.toolbox.ImageFigure
Create an empty image figure.
ImageFigure(Image) - Constructor for class diva.canvas.toolbox.ImageFigure
Create an image figure displaying the given image.
IncrementalLayout - interface diva.graph.layout.IncrementalLayout.
A layout engine which operates incrementally, based on the arrival of new node information.
IncrementalLayoutListener - class diva.graph.layout.IncrementalLayoutListener.
A Listener that applies the given incremental layout whenever a graph event is received.
IncrementalLayoutListener(IncrementalLayout, Filter) - Constructor for class diva.graph.layout.IncrementalLayoutListener
Construct a new listener that invokes the given incremental layout whenever a graph event is received.
IncrLayoutAdapter - class diva.graph.layout.IncrLayoutAdapter.
An adapter to make global layouts incremental.
IncrLayoutAdapter(GlobalLayout) - Constructor for class diva.graph.layout.IncrLayoutAdapter
Construct a new adapter that uses the given global layout for every change in the graph, and operates within the context of the given layout target.
IncrManhattanRouter - class diva.canvas.connector.IncrManhattanRouter.
A manhattan router which does only incremental routing and delegates static routing to another manhattan router implementation.
IncrManhattanRouter(ManhattanRouter) - Constructor for class diva.canvas.connector.IncrManhattanRouter
Construct a new incremental router which delegates static routing to the given manhattan router, but does incremental routing (the reroute*() methods) on its own.
indent() - Method in class diva.util.LoggableOp
Increment the indentation counter.
indexName(int) - Method in class diva.util.PropertyIndexSet
Returns the string name of the property held by index.
indexOf(CanvasLayer) - Method in class diva.canvas.toolbox.BasicCanvasPane
Get the index of the given layer, or -1 if it is not in this pane.
indexOf(Figure) - Method in interface diva.canvas.ZList
Return the index of the given figure in the Z-list.
indexOf(Figure) - Method in class diva.canvas.BasicZList
Return the index of the given figure in the Z-list.
indexOf(Figure) - Method in class diva.canvas.CompositeFigure
Return the index of the given figure in the Z-list, or -1 if the figure is not in this list.
indexOf(Figure) - Method in class diva.canvas.FigureLayer
Return the index of the given figure.
indexOf(Page) - Method in class diva.gui.MultipageModel
Get the index of the given page.
indexOfShade(String) - Method in class diva.gui.toolbox.JShadePane
Returns the index of the shade with the given title.
inEdges() - Method in interface diva.graph.modular.Node
Return an iterator over the edges coming into this node.
inEdges(Object) - Method in interface diva.graph.GraphModel
Return an iterator over the in edges of this node.
inEdges(Object) - Method in class diva.graph.modular.ModularGraphModel
Return an iterator over the in edges of this node.
inEdges(Object) - Method in interface diva.graph.modular.NodeModel
Return an iterator over the edges coming into the given node.
inEdges(Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicNodeModel
Return an iterator over the edges coming into the given node.
init() - Method in class diva.util.jester.TestCase
Initialize the test case.
init() - Method in class diva.canvas.test.FigureTest.RegionTestCase
 
initGrid() - Method in class diva.graph.layout.GridAnnealingLayout
Initialize the grid and randomly assign nodes to vertices of the grid.
INITIAL_STATE - Static variable in class diva.graph.toolbox.StateBubble
The style of an initial state
initializeApp() - Method in class diva.gui.tutorial.ApplicationTutorial
Initialize the application.
initializeApp() - Method in class diva.gui.tutorial.MDIApplicationTutorial
Initialize the application.
initializeDebugMenu(JMenuBar) - Method in class diva.whiteboard.Whiteboard
Create the Debug menu with the following items: Save Gestures Load Gestures
initializeEditMenu(JMenuBar) - Method in class diva.whiteboard.Whiteboard
Create the Edit menu with the following items: Cut Copy Paste
initializeFileMenu(JMenuBar) - Method in class diva.whiteboard.Whiteboard
Create the File menu with the following items: New Open Close Save Save As Print Exit
initializeInteraction() - Method in class diva.graph.GraphController
Initialize all interaction on the graph pane.
initializeInteraction() - Method in class diva.graph.NodeController
Initialize all interaction on the graph pane.
initializeInteraction() - Method in class diva.graph.EdgeController
Initialize all interaction on the graph pane.
initializeInteraction() - Method in class diva.graph.basic.BasicGraphController
Initialize all interaction on the graph pane.
initializeInteraction() - Method in class diva.graph.schematic.SchematicGraphController
Initialize all interaction on the graph pane.
initializeInteraction() - Method in class diva.sketch.SketchController
Initialize all interaction on the sketch pane.
initializeInteraction() - Method in class diva.sketch.BasicSketchController
Initialize all interaction on the sketch pane.
initializeInteraction() - Method in class diva.sketch.toolbox.PanZoomController
 
initializeMenuBar(JMenuBar) - Method in class diva.graph.schematic.GraphEditor
Initialize the given menubar.
initializeMenuBar(JMenuBar) - Method in class diva.graph.schematic.MultiWindowGraphEditor
Initialize the given menubar.
initializeMenuBar(JMenuBar) - Method in class diva.gui.tutorial.ApplicationTutorial
Initialize the menu bar
initializeMenuBar(JMenuBar) - Method in class diva.gui.tutorial.MDIApplicationTutorial
Initialize the menu bar
initializeMenuBar(JMenuBar) - Method in class diva.whiteboard.Whiteboard
Initialize the given menubar.
initializePalette() - Method in class diva.graph.schematic.GraphEditor
Initialize the palette in the.
initializePalette() - Method in class diva.graph.schematic.MultiWindowGraphEditor
Initialize the palette in the.
initializeToolBar(JToolBar) - Method in class diva.graph.schematic.GraphEditor
Initialize the given toolbar.
initializeToolBar(JToolBar) - Method in class diva.graph.schematic.MultiWindowGraphEditor
Initialize the given toolbar.
initializeToolBar(JToolBar) - Method in class diva.gui.tutorial.ApplicationTutorial
Initialize the given toolbar.
initializeToolBar(JToolBar) - Method in class diva.gui.tutorial.MDIApplicationTutorial
Initialize the given toolbar.
initializeToolBar(JToolBar) - Method in class diva.whiteboard.Whiteboard
Initialize the given toolbar.
initializeToolbarPenColorMenu(JToolBar) - Method in class diva.whiteboard.Whiteboard
Adds a button to the toolbar which allows the user to change the color of the pen ink.
initializeToolbarPenWidthMenu(JToolBar) - Method in class diva.whiteboard.Whiteboard
Adds a button to the toolbar which allows the user to change the thickness of the pen.
initializeVariables() - Method in class diva.util.aelfred.XmlParser
Re-initialize the variables for each parse.
initializeViewMenu(JMenuBar) - Method in class diva.whiteboard.Whiteboard
Create the View menu with the following items: Next Page Previous Page
inNodes(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Return an iterator over the nodes on the other side of edges arriving in the given node.
insertEntry(String, String, Icon, JComponent, String) - Method in class diva.gui.toolbox.JTreePane
Insert a entry with the given title/icon/component/tip at the specified index.
insertPage(Page, int) - Method in class diva.gui.MultipageModel
Add a page to the document at the given index (between 0 and getPageCount()-1) and notify page listeners.
insertShade(String, Icon, Component, String, int) - Method in class diva.gui.toolbox.JShadePane
Insert a shade with the given title/icon/comnponent/tip at the specified index.
Interactor - interface diva.canvas.interactor.Interactor.
An object that encapsulate the interaction that a figure plays in an interactive application.
interactors() - Method in class diva.canvas.event.EventLayer
Return an iteractor over the attached interactors.
interactors() - Method in class diva.canvas.interactor.CompositeInteractor
Return an iteractor over the attached interactors.
intern(char[], int, int) - Method in class diva.util.aelfred.XmlParser
Create an internalised string from a character array.
intern(String) - Method in class diva.util.aelfred.XmlParser
Return an internalised version of a string.
intersectingEdges(Rectangle2D) - Method in class diva.graph.basic.BasicLayoutTarget
Return an iterator over the node or edge figures which intersect the given rectangle.
intersectingEdges(Rectangle2D) - Method in interface diva.graph.layout.LayoutTarget
Return an iterator over nodes in the view which intersect the given rectangle.
intersectingNodes(Rectangle2D) - Method in class diva.graph.basic.BasicLayoutTarget
Return an iterator over the nodes which intersect the given rectangle in the top-level graph.
intersectingNodes(Rectangle2D) - Method in interface diva.graph.layout.LayoutTarget
Return an iterator over edges in the view which intersect the given rectangle.
INTERSECTS - Static variable in class diva.sketch.parser2d.RelationUtilities
Positional constraint: does A intersect B?
intersects(double, double, double, double) - Method in class diva.util.java2d.Polyline2D
Test if the polyline is intersected by the given rectangle.
intersects(double, double, double, double) - Method in class diva.util.java2d.Polygon2D
Test if the polygon is intersected by the given rectangle.
intersects(Rectangle2D) - Method in class diva.canvas.AbstractFigure
Test if this figure intersects the given rectangle.
intersects(Rectangle2D) - Method in class diva.canvas.CompositeFigure
Test if this figure intersects the given rectangle.
intersects(Rectangle2D) - Method in interface diva.canvas.Figure
Test if this figure intersects the given rectangle.
intersects(Rectangle2D) - Method in class diva.canvas.connector.AbstractConnector
Test if this connector intersects the given rectangle.
intersects(Rectangle2D) - Method in class diva.canvas.connector.TerminalFigure
Test if this figure intersects the given rectangle.
intersects(Rectangle2D) - Method in class diva.canvas.toolbox.IconFigure
Test if this figure intersects the given rectangle.
intersects(Rectangle2D) - Method in class diva.util.java2d.Polyline2D
Test if the polyline is intersected by the given rectangle.
intersects(Rectangle2D) - Method in interface diva.util.java2d.PaintedGraphic
Test if this shape intersects the given rectangle.
intersects(Rectangle2D) - Method in class diva.util.java2d.PaintedPath
Test if this shape intersects the given rectangle.
intersects(Rectangle2D) - Method in class diva.util.java2d.Polygon2D
Test if the polygon is intersected by the given rectangle.
intersects(Rectangle2D) - Method in class diva.util.java2d.PaintedShape
Test if this shape intersects the given rectangle.
intersectsOutline(Rectangle2D, Shape) - Static method in class diva.util.java2d.ShapeUtilities
Return true if the outline of the given shape intersects with the given rectangle.
intervalAdded(ListDataEvent) - Method in class diva.whiteboard.Whiteboard.WBAppViewListener
 
intervalAdded(ListDataEvent) - Method in class diva.whiteboard.Whiteboard.WBPageListener
 
intervalAdded(ListDataEvent) - Method in class diva.whiteboard.WhiteboardView.LocalPageListener
When a new page has been added, create a new sketch pane to display the model of this page.
intervalRemoved(ListDataEvent) - Method in class diva.whiteboard.Whiteboard.WBAppViewListener
 
intervalRemoved(ListDataEvent) - Method in class diva.whiteboard.Whiteboard.WBPageListener
 
intervalRemoved(ListDataEvent) - Method in class diva.whiteboard.WhiteboardView.LocalPageListener
 
invalidateCache() - Method in class diva.canvas.TransformContext
Notify that cached data based on the transform is now invalid.
invalidateCachedBounds() - Method in class diva.canvas.CompositeFigure
 
isAntialiasing() - Method in class diva.canvas.CanvasPane
Return whether or not this pane is antialiased
isCacheValid() - Method in class diva.canvas.TransformContext
Test if the cache is valid.
isClipEnabled() - Method in class diva.canvas.PaneWrapper
Get the clipping enabled flag.
isClosed() - Method in class diva.gui.toolbox.JPseudoFrame
Test if the frame is closed.
isComposite(Object) - Method in interface diva.graph.GraphModel
Return true if the given object is a composite node, i.e.
isComposite(Object) - Method in class diva.graph.modular.ModularGraphModel
Return true if the given object is a composite node in this model, i.e.
isConsistent(SceneElement, SceneElement) - Method in class diva.sketch.recognition.BasicScene
Return whether or not the two elements are consistent, that is, whether the leaf nodes that they cover (their support) are strictly disjoint.
isConsistent(SceneElement, SceneElement) - Method in interface diva.sketch.recognition.Scene
Return whether or not the two elements are consistent, that is, whether the leaf nodes that they span are strictly disjoint.
isConsuming() - Method in class diva.canvas.event.EventLayer
Test the consuming flag of this layer.
isConsuming() - Method in class diva.canvas.interactor.AbstractInteractor
Test the consuming flag of this interactor.
isConsuming() - Method in interface diva.canvas.interactor.Interactor
Test the consuming flag of this interactor.
isContainedNode(Object, Object, GraphModel) - Static method in class diva.graph.GraphUtilities
 
isCoveringAll(SceneElement) - Method in class diva.sketch.recognition.BasicScene
Return whether or not this element covers all of the leaves.
isCoveringAll(SceneElement) - Method in interface diva.sketch.recognition.Scene
Return whether or not this element covers all of the leaves.
isDirected() - Method in interface diva.graph.modular.Edge
Return whether or not this edge is directed.
isDirected(Object) - Method in interface diva.graph.GraphModel
Return whether or not this edge is directed.
isDirected(Object) - Method in class diva.graph.modular.ModularGraphModel
Return whether or not this edge is directed.
isDirected(Object) - Method in interface diva.graph.modular.EdgeModel
Return whether or not this edge is directed.
isDirected(Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel
Return whether or not this edge is directed.
isDirty() - Method in class diva.gui.AbstractDocument
Test the "dirty" flag.
isDirty() - Method in interface diva.gui.Document
Test the "dirty" flag.
isDone() - Method in class diva.util.java2d.PolylineIterator
Test if the iterator is done.
isDone() - Method in class diva.util.java2d.PolygonIterator
Test if the iterator is done.
isEdge(Object) - Method in interface diva.graph.GraphModel
Return true if the given object is an edge in this model.
isEdge(Object) - Method in class diva.graph.modular.ModularGraphModel
Return true if the given object is a node in this model.
isEdgeVisible(Object) - Method in class diva.graph.basic.BasicLayoutTarget
Return whether or not the given edge is actually visible in the view.
isEdgeVisible(Object) - Method in interface diva.graph.layout.LayoutTarget
Return whether or not the given edge is actually visible in the view.
isEditable() - Method in class diva.gui.AbstractDocument
Test the "editable" flag.
isEditable() - Method in interface diva.gui.Document
Test the "editable" flag.
isEnabled() - Method in class diva.canvas.PaneWrapper
Test the enabled flag of the wrapped pane.
isEnabled() - Method in class diva.canvas.FigureLayer
Test the enabled flag of this layer.
isEnabled() - Method in class diva.canvas.CanvasPane
Test the enabled flag of this pane.
isEnabled() - Method in class diva.canvas.event.EventLayer
Test the enabled flag of this layer.
isEnabled() - Method in interface diva.canvas.event.EventAcceptor
Test the enabled flag of this object.
isEnabled() - Method in class diva.canvas.interactor.AbstractInteractor
Test the enabled flag of this role.
isEnabled() - Method in interface diva.canvas.interactor.Interactor
Test the enabled flag of this interactor.
isEnabledAt(int) - Method in class diva.gui.toolbox.JShadePane
Returns whether or not the tab at the given index is currently enabled.
isEnabledAt(String) - Method in class diva.gui.toolbox.JTreePane
Returns whether or not the tab at the given index is currently enabled.
isExtensionListInDescription() - Method in class diva.gui.ExtensionFileFilter
Returns whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
isFilled() - Method in class diva.canvas.connector.Blob
Test if the blob is filled or not.
isFocusTraversable() - Method in class diva.canvas.JCanvas
Return whether or not focus should be traversable across this object.
isIconified() - Method in class diva.gui.toolbox.JPseudoFrame
Test if the frame is iconified.
isIncremental() - Method in class diva.sketch.classification.WeightedEuclideanClassifier
Return false; WeightedEuclideanClassifiers are not incremental.
isIncremental() - Method in class diva.sketch.classification.RubineClassifier
Return whether this classifier is incremental, i.e.
isIncremental() - Method in interface diva.sketch.classification.TrainableClassifier
Return whether this classifier is incremental, i.e.
isMaximizeMode() - Method in class diva.gui.DesktopContext
Test if we are in maximize mode
isMaximum() - Method in class diva.gui.toolbox.JPseudoFrame
Test if the frame is maximized.
isMotionEnabled() - Method in class diva.canvas.interactor.AbstractInteractor
Test the motion enabled flag of this role.
isMotionEnabled() - Method in class diva.canvas.interactor.CompositeInteractor
Return true if any contained interactor is motion enabled.
isMotionEnabled() - Method in interface diva.canvas.interactor.Interactor
Test the motion enabled flag of this interactor.
isMotionEnabled() - Method in class diva.sketch.BasicInterpreter
We are consuming motion events.
isMotionEnabled() - Method in class diva.sketch.toolbox.PanZoomInterpreter
We're not handling motion events.
isNode(Object) - Method in interface diva.graph.GraphModel
Return true if the given object is a node in this model.
isNode(Object) - Method in class diva.graph.modular.ModularGraphModel
Return true if the given object is a node in this model.
isNodeVisible(Object) - Method in class diva.graph.basic.BasicLayoutTarget
Return whether or not the given node is actually visible in the view.
isNodeVisible(Object) - Method in interface diva.graph.layout.LayoutTarget
Return whether or not the given node is actually visible in the view.
isNormal(int) - Method in interface diva.canvas.Site
Test if this site has a normal in the given direction.
isNormal(int) - Method in class diva.canvas.SiteDecorator
Test if this site has a normal in the given direction.
isNormal(int) - Method in class diva.canvas.AbstractSite
Test if this site has a normal in the given direction.
isNormal(int) - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Test if this site has a normal in the given direction.
isNormal(int) - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Test if this site has a normal in the given direction.
isOrthogonal(AffineTransform) - Static method in class diva.canvas.CanvasUtilities
Return true if the given transform maps a rectangle to a rectangle.
isOrthogonal(AffineTransform) - Static method in class diva.util.java2d.ShapeUtilities
Return true if the given transform maps a rectangle to a rectangle.
isPartiallyContainedEdge(Object, Object, GraphModel) - Static method in class diva.graph.GraphUtilities
 
isRenderedSelected(Figure) - Method in class diva.canvas.interactor.BasicSelectionRenderer
Test if the given figure is currently rendered selected.
isRenderedSelected(Figure) - Method in interface diva.canvas.interactor.SelectionRenderer
Test if the given figure is currently rendered selected.
isRepainting() - Method in class diva.canvas.interactor.Manipulator
Test if this manipulator is in the process of repainting itself and its child.
isSelected(LayerEvent) - Static method in class diva.canvas.interactor.SelectionInteractor
Given a mouse event, check that the figure it contains as its event source is selected.
isStaticType(String) - Static method in class diva.sketch.recognition.Type
Return whether the given type name has been registered as a native type in this type system.
isTotallyContainedEdge(Object, Object, GraphModel) - Static method in class diva.graph.GraphUtilities
 
isVerbose() - Method in class diva.util.LoggableOp
Test if we are in verbose mode
isVisible() - Method in class diva.canvas.AbstractFigure
Test the visibility flag of this figure.
isVisible() - Method in class diva.canvas.OverlayLayer
Test the visibility flag of this layer.
isVisible() - Method in class diva.canvas.FigureLayer
Test the visibility flag of this layer.
isVisible() - Method in interface diva.canvas.VisibleComponent
Test the visibility flag of this object.
isVisible() - Method in class diva.canvas.connector.TerminalFigure
Test the visibility flag of this object.
isVisible() - Method in class diva.canvas.toolbox.GridLayer
Test the visibility flag of this layer.
isVisible() - Method in class diva.gui.AppletContext
Return true.
isVisible() - Method in class diva.gui.AbstractApplication
Test whether the application frame is visible.
isVisible() - Method in class diva.gui.ApplicationContext
Return whether or not the frame is visible.
isVisible() - Method in class diva.gui.AppContextDelegate
Invoke the delegate's isvisible().
isVisible() - Method in interface diva.gui.Application
Test whether the application frame is visible.
isVisible() - Method in interface diva.gui.AppContext
Return whether the context is visible.
isVisited(Object) - Method in class diva.graph.layout.LevelLayout
 
isWhitespace(char) - Method in class diva.util.aelfred.XmlParser
Test if a character is whitespace.
isWritable() - Method in class diva.gui.AbstractDocument
Test the "writable" flag.
isWritable() - Method in interface diva.gui.Document
Test the "writable" flag.
iterator() - Method in class diva.graph.toolbox.GraphLogger
Return a sequentially-sorted iterator over the GraphEvent objects contained by the log.
iterator() - Method in class diva.gui.toolbox.ListDataModel
Return an iterator over the elements in the model.
iterator(Object) - Method in class diva.util.IteratorIterator
 
IteratorAdapter - class diva.util.IteratorAdapter.
An iterator that implements the Iterator, intended for subclassing so that you don't have to provide the remove() method all the time....
IteratorAdapter() - Constructor for class diva.util.IteratorAdapter
 
IteratorIterator - class diva.util.IteratorIterator.
An iterator that takes an iterator over objects that themselves produce iterators, and which iterators over the elements in the sub-iterators.
IteratorIterator(Iterator) - Constructor for class diva.util.IteratorIterator
 
IteratorUtilities - class diva.util.IteratorUtilities.
A collection of utilities dealing with iterators.

J

JCanvas - class diva.canvas.JCanvas.
The JCanvas class is the center-piece of this package.
JCanvas() - Constructor for class diva.canvas.JCanvas
Create a new canvas that contains a single GraphicsPane.
JCanvas(CanvasPane) - Constructor for class diva.canvas.JCanvas
Create a new canvas that contains the given CanvasPane.
JCanvasPalette - class diva.gui.toolbox.JCanvasPalette.
A "palette" of figures that can be dragged onto another JComponent.
JCanvasPalette() - Constructor for class diva.gui.toolbox.JCanvasPalette
 
JCanvasTest - class diva.canvas.test.JCanvasTest.
A test suite for JCanvas.
JCanvasTest.CanvasFactory - class diva.canvas.test.JCanvasTest.CanvasFactory.
The canvas factory provides methods for default creation of canvas objects.
JCanvasTest.CanvasFactory() - Constructor for class diva.canvas.test.JCanvasTest.CanvasFactory
 
JCanvasTest.FramedCanvas - class diva.canvas.test.JCanvasTest.FramedCanvas.
FramedCanvas is a test case that accepts a JCanvas and places it into a pane.
JCanvasTest.FramedCanvas(JCanvasTest, JCanvas) - Constructor for class diva.canvas.test.JCanvasTest.FramedCanvas
 
JCanvasTest(TestHarness, JCanvasTest.CanvasFactory) - Constructor for class diva.canvas.test.JCanvasTest
Constructor
JContextMenu - class diva.gui.toolbox.JContextMenu.
An improved version of a popup menu that works well for context menus.
JContextMenu(Object) - Constructor for class diva.gui.toolbox.JContextMenu
Create a popup menu without an "invoker".
JContextMenu(Object, String) - Constructor for class diva.gui.toolbox.JContextMenu
Create a popup menu with the given target and the given title.
jdk12beta4() - Static method in class diva.util.java2d.ShapeUtilities
Test if we are running in JDK1.2beta4
JGraph - class diva.graph.JGraph.
A graph widget analagous to java.swing.JTree.
JGraph(GraphPane) - Constructor for class diva.graph.JGraph
Construct a new JGraph with the given graph pane.
JPalette - class diva.gui.toolbox.JPalette.
A "palette" of components that can be dragged onto another JComponent.
JPalette() - Constructor for class diva.gui.toolbox.JPalette
Construct a new palette instance with a vertical grid layout.
JPanner - class diva.gui.toolbox.JPanner.
A panner is a window that provides a mechanism to visualize and manipulate a JViewport object without using scrollbars.
JPanner() - Constructor for class diva.gui.toolbox.JPanner
Construct a new panner that is initially viewing nothing.
JPanner(JViewport) - Constructor for class diva.gui.toolbox.JPanner
Construct a new wrapper that wraps the given target.
JPEG - Static variable in class diva.whiteboard.SketchStoragePolicy
The file extension for JPEG images.
JPseudoFrame - class diva.gui.toolbox.JPseudoFrame.
JPseudoFrame is not a Frame at all, but a widget that enables a JInternalFrame to be maximized in the manner exhibited by Windows applications.
JPseudoFrame(JDesktopPane, JMenuBar) - Constructor for class diva.gui.toolbox.JPseudoFrame
Construct a new PseudoFrame which will steal layout from the given desktop and draw itself in the given JMenuBar.
JShadePane - class diva.gui.toolbox.JShadePane.
A Visio-style tab box that uses a "window shade" metaphor instead of a tabbed folder metaphor.
JShadePane() - Constructor for class diva.gui.toolbox.JShadePane
Construct an empty instance of the shade pane.
JSketch - class diva.sketch.JSketch.
JSketch is a canvas which supports sketch input.
JSketch() - Constructor for class diva.sketch.JSketch
Create a JSketch object with a blank drawing area.
JSketch(SketchPane) - Constructor for class diva.sketch.JSketch
Create a JSketch object with the given drawing pane.
JStatusBar - class diva.gui.toolbox.JStatusBar.
A status bar for displaying at the bottonm of typical applications.
JStatusBar() - Constructor for class diva.gui.toolbox.JStatusBar
Create a new JStatusBar
JTreePane - class diva.gui.toolbox.JTreePane.
In the case of a small number of panes, a JTabbedPane or a JTreePane is a good way of organizing them.
JTreePane() - Constructor for class diva.gui.toolbox.JTreePane
 
JTreePane(String) - Constructor for class diva.gui.toolbox.JTreePane
Construct an empty instance of the Tree pane.

K

KEY_EVENT_TAG - Static variable in class diva.util.jester.EventParser
 
KEYCHAR_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
KEYCODE_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
keyStrokeToString(KeyStroke) - Static method in class diva.gui.GUIUtilities
Return a good string representation of the given keystroke, since the toString method returns more garbage than we want to see in a user interface.

L

LABEL_TAG - Static variable in class diva.sketch.recognition.TrainingParser
Indicate the label (positive or negative) for an example.
LabelFigure - class diva.canvas.toolbox.LabelFigure.
A figure which draws user-specified text in a user-specified font.
LabelFigure() - Constructor for class diva.canvas.toolbox.LabelFigure
Construct an empty label figure.
LabelFigure(String) - Constructor for class diva.canvas.toolbox.LabelFigure
Construct a label figure displaying the given string, using the default font.
LabelFigure(String, Font) - Constructor for class diva.canvas.toolbox.LabelFigure
Construct a label figure displaying the given string in the given font.
LabelFigure(String, Font, double, int) - Constructor for class diva.canvas.toolbox.LabelFigure
Construct a label figure displaying the given string in the given font, with the given padding and anchor.
LabelFigure(String, String, int, int) - Constructor for class diva.canvas.toolbox.LabelFigure
Construct a label figure displaying the given string in the given face, style, and size.
LabelTutorial - class diva.canvas.tutorial.LabelTutorial.
This tutorial illustrates how to use LabelFigure and related classes.
LabelTutorial() - Constructor for class diva.canvas.tutorial.LabelTutorial
Create a JCanvas and put it into a window
LabelWrapper - class diva.canvas.toolbox.LabelWrapper.
A LabelWrapper is a figure that attaches a label to some other figure.
LabelWrapper(Figure, String) - Constructor for class diva.canvas.toolbox.LabelWrapper
Construct a new figure with the given child figure and the given string.
LARGE_ICON - Static variable in class diva.gui.GUIUtilities
This key is used in an action to specify an icon used in toolbars.
layer - Variable in class diva.canvas.tutorial.CompositeFigureTutorial
 
LayerAdapter - class diva.canvas.event.LayerAdapter.
An adapter for layer listeners.
LayerAdapter() - Constructor for class diva.canvas.event.LayerAdapter
 
LayerConsumer - class diva.canvas.event.LayerConsumer.
An adapter for layer listeners that consumes events.
LayerConsumer() - Constructor for class diva.canvas.event.LayerConsumer
 
LayerEvent - class diva.canvas.event.LayerEvent.
The class representing mouse events in layers.
LayerEvent(MouseEvent) - Constructor for class diva.canvas.event.LayerEvent
Create a new layer event from the given mouse event.
LayerEvent(MouseEvent, int) - Constructor for class diva.canvas.event.LayerEvent
Create a new layer event from the given mouse event, but give it a different ID.
LayerEventMulticaster - class diva.canvas.event.LayerEventMulticaster.
A subclass of the AWT event multi-caster, which adds support for layer events.
LayerEventMulticaster(EventListener, EventListener) - Constructor for class diva.canvas.event.LayerEventMulticaster
Create an event multicaster from two listeners.
LayerListener - interface diva.canvas.event.LayerListener.
The interface for listeners that respond to mouse clicks and drags.
LayerMotionAdapter - class diva.canvas.event.LayerMotionAdapter.
An adapter for layer motion listeners.
LayerMotionAdapter() - Constructor for class diva.canvas.event.LayerMotionAdapter
 
LayerMotionListener - interface diva.canvas.event.LayerMotionListener.
The interface for listeners that respond to motion of the mouse over a figure.
LayerMouseAdapter - class diva.canvas.event.LayerMouseAdapter.
An object which wraps a mouse listener and makes it compatible with the Diva canvas, sending it mouse events in the local coordinate system.
LayerMouseAdapter(MouseListener, MouseMotionListener) - Constructor for class diva.canvas.event.LayerMouseAdapter
 
layers() - Method in class diva.canvas.CanvasPane
Return an iteration of the layers, in undefined order.
layersFromBack() - Method in class diva.canvas.CanvasPane
Return an iteration of the layers from back to front -- that is, in redraw order.
layersFromBack() - Method in class diva.canvas.GraphicsPane
Return an iteration of the layers, in redraw order (that is, from back to front).
layersFromBack() - Method in class diva.canvas.toolbox.BasicCanvasPane
Return an iteration of the layers, in redraw order (that is, from back to front).
layersFromFront() - Method in class diva.canvas.CanvasPane
Return an iteration of the layers from front to back -- that is, in event-processing order.
layersFromFront() - Method in class diva.canvas.GraphicsPane
Return an iteration of the layers, in event-processing order (that is, from front to back).
layersFromFront() - Method in class diva.canvas.toolbox.BasicCanvasPane
Return an iteration of the layers, in event-processing order (that is, from front to back).
LAYOUT_CASCADED - Static variable in class diva.gui.DesktopContext
The layout mode in which internal frames are cascaded one above another.
LAYOUT_HORIZONTAL - Static variable in class diva.gui.DesktopContext
The layout mode in which internal frames are tiled horizontally.
LAYOUT_PLACED - Static variable in class diva.gui.DesktopContext
The layout mode in which internal frames are placed by the user.
LAYOUT_VERTICAL - Static variable in class diva.gui.DesktopContext
The layout mode in which internal frames are tiled vertically.
layout(Object) - Method in class diva.graph.layout.IncrLayoutAdapter
Call the global layout on the graph.
layout(Object) - Method in class diva.graph.layout.ProxyIncrLayout
Layout the graph model in the viewport specified by the layout target environment.
layout(Object) - Method in class diva.graph.layout.RandomIncrLayout
Layout the graph model in the viewport specified by the layout target environment.
layout(Object) - Method in class diva.graph.layout.AbstractGlobalLayout
Layout the graph model in the viewport specified by the layout target environment.
layout(Object) - Method in class diva.graph.layout.RandomLayout
Layout the graph model and viewport specified by the given target environment.
layout(Object) - Method in class diva.graph.layout.LevelLayout
Perform the levelizing layout on the given composite in the given target environment.
layout(Object) - Method in class diva.graph.layout.GridAnnealingLayout
Perform the annealing layout algorithm on the given graph in the context of the given layout target.
layout(Object) - Method in interface diva.graph.layout.GlobalLayout
Layout the graph model in the viewport specified by the layout target environment.
LayoutTarget - interface diva.graph.layout.LayoutTarget.
The basic set of information necessary to layout a graph: a mapping the graph data structure to aspects of its visual representation, a viewport to layout in, and some manipulation routines including pick, place, and route.
LayoutUtilities - class diva.graph.layout.LayoutUtilities.
Miscellaneous utility routines used in layout.
LayoutUtilities() - Constructor for class diva.graph.layout.LayoutUtilities
 
LETTER_P - Static variable in class diva.sketch.toolbox.PanRecognizer
 
LETTER_Z - Static variable in class diva.sketch.toolbox.ZoomRecognizer
 
level - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
LevelLayout - class diva.graph.layout.LevelLayout.
A level-based layout algorithm originally implemented by Ulfar Erlingsson at Cornell/RPI and modified to fit into this system.
LevelLayout.LevelData - class diva.graph.layout.LevelLayout.LevelData.
 
LevelLayout.LevelData(LevelLayout, LayoutTarget, Object) - Constructor for class diva.graph.layout.LevelLayout.LevelData
 
LevelLayout.LevelInfo - class diva.graph.layout.LevelLayout.LevelInfo.
The semantic object of each node in the graph copy that is being layed out.
LevelLayout.LevelInfo() - Constructor for class diva.graph.layout.LevelLayout.LevelInfo
 
LevelLayout(LayoutTarget) - Constructor for class diva.graph.layout.LevelLayout
Construct a new levelizing layout with a vertical orientation.
lineTo(double, double) - Method in class diva.util.java2d.Polyline2D
Add a new vertex to the end of the line.
lineTo(double, double) - Method in class diva.util.java2d.Polyline2D.Float
Add a new vertex to the end of the line.
lineTo(double, double) - Method in class diva.util.java2d.Polyline2D.Double
Add a new vertex to the end of the line.
lineTo(double, double) - Method in class diva.util.java2d.Polygon2D
Add a new vertex to the end of the polygon.
lineTo(double, double) - Method in class diva.util.java2d.Polygon2D.Float
Add a new vertex to the end of the line.
lineTo(double, double) - Method in class diva.util.java2d.Polygon2D.Double
Add a new vertex to the end of the line.
LINEWIDTH_TAG - Static variable in class diva.sketch.SketchParser
Indicate the line width to draw the gesture with.
ListDataModel - class diva.gui.toolbox.ListDataModel.
A model that captures the notion of a list of elements with a single selected element.
ListDataModel() - Constructor for class diva.gui.toolbox.ListDataModel
Create a new model.
listeners() - Method in class diva.graph.toolbox.GraphEventMulticaster
Return an iterator over the list of listeners.
listeners() - Method in class diva.util.PropertyChangeMulticaster
Return an iterator over the list of listeners.
localEdges(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Deprecated. use totallyContainedEdges instead.
logError(String) - Method in class diva.util.LoggableOp
Print an error message to the error stream.
logError(String, String) - Method in class diva.util.LoggableOp
Print an error message to the error stream.
logError(String, String, String) - Method in class diva.util.LoggableOp
Print an error message to the error stream.
LoggableOp - class diva.util.LoggableOp.
This is an abstract base class for objects that need to log error or warning messages.
LoggableOp() - Constructor for class diva.util.LoggableOp
 
logInfo(String) - Method in class diva.util.LoggableOp
If in verbose mode, print an info message to the error stream, otherwise do nothing.
logInfo(String, String) - Method in class diva.util.LoggableOp
If in verbose mode, print an info message to the error stream, otherwise do nothing.
logWarning(String) - Method in class diva.util.LoggableOp
Print an warning message to the error stream.
logWarning(String, String) - Method in class diva.util.LoggableOp
Print an warning message to the error stream.
logWarning(String, String, String) - Method in class diva.util.LoggableOp
Print an warning message to the error stream.
lostOwnership(Clipboard, Transferable) - Method in class diva.whiteboard.WhiteboardView
Do nothing.

M

mahalanobisDistance(double[], double[], double[][]) - Static method in class diva.sketch.classification.RubineClassifier
Mahalanobis distance is used to determine number of standard deviations the given feature set is away from the mean feature vector of a training class.
main(String[]) - Static method in class diva.apps.GestureTrainer
 
main(String[]) - Static method in class diva.canvas.demo.SpaceDemo
Run it
main(String[]) - Static method in class diva.canvas.demo.ZoomDemo
Main function
main(String[]) - Static method in class diva.canvas.demo.FigureDemo
Run it
main(String[]) - Static method in class diva.canvas.tutorial.TransformedFigureTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.LabelTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.SimpleTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.FigureTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.IconTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.ArcTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.TerminalTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.DragTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.ConnectorTutorial
Main function
main(String[]) - Static method in class diva.canvas.tutorial.CompositeFigureTutorial
Main function
main(String[]) - Static method in class diva.graph.basic.BubbleGraphDemo
Construct a new instance of graph demo, which does the work of setting up the graphs and displaying itself.
main(String[]) - Static method in class diva.graph.basic.BasicGraphDemo
Construct a new instance of graph demo, which does the work of setting up the graphs and displaying itself.
main(String[]) - Static method in class diva.graph.schematic.GraphEditor
Create and run a new graph application
main(String[]) - Static method in class diva.graph.schematic.MultiWindowGraphEditor
Create and run a new graph application
main(String[]) - Static method in class diva.gui.toolbox.JPanner
 
main(String[]) - Static method in class diva.gui.toolbox.JTreePane
 
main(String[]) - Static method in class diva.gui.toolbox.JShadePane
 
main(String[]) - Static method in class diva.gui.tutorial.ApplicationTutorial
Construct a new instance of the Tutorial, running in a new application context.
main(String[]) - Static method in class diva.gui.tutorial.MDIApplicationTutorial
Construct a new instance of the Tutorial, running in a new application context.
main(String[]) - Static method in class diva.sketch.classification.RubineClassifier
 
main(String[]) - Static method in class diva.sketch.demo.SketchDemo
Create and run a basic sketch application.
main(String[]) - Static method in class diva.sketch.recognition.SceneParser
Simple test of this class.
main(String[]) - Static method in class diva.util.java2d.ShapeUtilities
Main function.
main(String[]) - Static method in class diva.util.jester.EventParser
Simple test of this class.
main(String[]) - Static method in class diva.util.jester.EventWriter
Simple test of this class.
main(String[]) - Static method in class diva.util.jester.demo.BarTest
 
main(String[]) - Static method in class diva.util.jester.demo.FooTest
 
main(String[]) - Static method in class diva.util.test.XMLElementTest
Create a default test harness and run all tests on it.
main(String[]) - Static method in class diva.util.test.XMLParserTest
Create a default test harness and run all tests on it.
main(String[]) - Static method in class diva.util.test.ShapeUtilitiesTest
Create a default test harness and run all tests on it.
main(String[]) - Static method in class diva.util.test.All
Create a default test harness and run all tests on it.
main(String[]) - Static method in class diva.util.xml.XmlDemo
 
main(String[]) - Static method in class diva.whiteboard.SketchTest1
 
main(String[]) - Static method in class diva.whiteboard.Whiteboard
Create and run a new whiteboard application.
main(String[]) - Static method in class diva.whiteboard.SketchTest2
 
main(String[]) - Static method in class diva.whiteboard.SketchTest3
 
main(String[]) - Static method in class diva.canvas.test.JCanvasTest
Create a default test harness and a canvas factory and run all tests on it.
main(String[]) - Static method in class diva.canvas.test.ConcreteFigures
Create a default test harness and run all tests on it.
main(String[]) - Static method in class diva.canvas.test.All
Create a default test harness and run all tests on it.
MainWindow - class diva.canvas.demo.MainWindow.
MainWindow is the JFrame that is used to display a canvas for demos.
MainWindow(String) - Constructor for class diva.canvas.demo.MainWindow
 
makeAbsoluteURL(String) - Static method in class diva.util.xml.XmlUtilities
Given a file name in the current working directory, complete it and turn it into a URL.
makeAttributeType(String, String) - Method in class diva.util.xml.XmlWriter
Generate the attribute type as a normalised string.
makeAttributeValue(String, String) - Method in class diva.util.xml.XmlWriter
Generate a full attribute default value.
makeComponent() - Method in class diva.gui.AppletContext
Return "this" as a component.
makeComponent() - Method in class diva.gui.ApplicationContext
Return "this" as a component.
makeComponent() - Method in class diva.gui.AppContextDelegate
Call makeComponent() on the delegate.
makeComponent() - Method in interface diva.gui.AppContext
Make this into a component (since Component is not an interface.
makeDraggable(JComponent, String) - Method in class diva.gui.toolbox.JPalette
Make the given component draggable; the given data string will be the "dragged" object that is associated with the component.
makeExternalIdentifiers(String, String) - Method in class diva.util.xml.XmlWriter
Construct a string equivalent of external identifiers.
makeLiteral(String) - Method in class diva.util.xml.XmlWriter
Quote a literal, and escape any '"' or non-ASCII characters within it.
makeRelation(String) - Static method in class diva.sketch.parser2d.RelationUtilities
Return a relation with the given name and the two given sites.
makeRelation(String, int, int) - Static method in class diva.sketch.parser2d.RelationUtilities
Return a relation with the given name and the two given sites.
makeType(Class) - Static method in class diva.sketch.recognition.Type
Return the type object associated with the given class and register it as static.
makeType(String) - Static method in class diva.sketch.recognition.Type
Return the type object associated with the given type name.
ManhattanConnector - class diva.canvas.connector.ManhattanConnector.
A Connector that draws itself with perpendicular lines.
ManhattanConnector(Site, Site) - Constructor for class diva.canvas.connector.ManhattanConnector
Create a new manhattan connector between the given sites.
ManhattanConnector(Site, Site, ManhattanRouter) - Constructor for class diva.canvas.connector.ManhattanConnector
Create a new manhattan connector between the given sites and with the given router.
ManhattanRouter - interface diva.canvas.connector.ManhattanRouter.
A ManhattanRouter is an object that routes Polylines as a series of perpendicular edges.
Manipulator - class diva.canvas.interactor.Manipulator.
A Manipulator is an object that decorates some figure, and generally paint grab-handles or some other stuff to the figure to that it can be resized and manipulated.
Manipulator() - Constructor for class diva.canvas.interactor.Manipulator
 
match(CompositeElement[], Scene) - Method in class diva.sketch.parser2d.AbstractRule
Match the given scene elements and return a resulting element, or return null if there is no match.
match(CompositeElement[], Scene) - Method in class diva.sketch.parser2d.SingleRule
Match the given scene elements and return a resulting element, or return null if there is no match.
match(CompositeElement[], Scene) - Method in interface diva.sketch.parser2d.Rule
Match the given scene elements and return a resulting element, or return null if there is no match.
MaxSpeedFE - class diva.sketch.features.MaxSpeedFE.
MaxSpeedFE computes the maximum speed (squared) along the path of a stroke.
MaxSpeedFE() - Constructor for class diva.sketch.features.MaxSpeedFE
 
MDIApplication - class diva.gui.MDIApplication.
An abstract superclass for applications that use an MDI (multiple document interface) style of presentation.
MDIApplication(MDIContext) - Constructor for class diva.gui.MDIApplication
Create an MDI application in the given MDI context
MDIApplicationTutorial - class diva.gui.tutorial.MDIApplicationTutorial.
A simple MDI text editor.
MDIApplicationTutorial(DesktopContext) - Constructor for class diva.gui.tutorial.MDIApplicationTutorial
 
MDIContext - interface diva.gui.MDIContext.
An app context that provides methods for multiple documents and views.
menubar - Variable in class diva.canvas.demo.SpaceWindow
 
menubar - Variable in class diva.canvas.demo.MainWindow
 
menubar - Variable in class diva.util.gui.BasicWindow
Deprecated.  
menubar - Variable in class diva.util.gui.TutorialWindow
Deprecated.  
MenuCreator - class diva.gui.toolbox.MenuCreator.
This interactor creates a menu when it is activated.
MenuCreator(MenuFactory) - Constructor for class diva.gui.toolbox.MenuCreator
Construct a new interactor with a right button mouse filter.
MenuFactory - class diva.gui.toolbox.MenuFactory.
A factory for popup menus.
MenuFactory() - Constructor for class diva.gui.toolbox.MenuFactory
 
MIN_DRAG_DISTANCE - Static variable in class diva.sketch.BasicInterpreter
The distance beyond which a click becomes a drag.
MIXED_COLOR - Static variable in interface diva.sketch.Symbol
 
MIXED_LINEWIDTH - Static variable in interface diva.sketch.Symbol
 
MNEMONIC_KEY - Static variable in class diva.gui.GUIUtilities
JDK1.2 doesn't have this string defined in javax.swing.Action.
MODE - Static variable in class diva.whiteboard.WhiteboardState
 
ModedIncrRecognizer - class diva.sketch.toolbox.ModedIncrRecognizer.
An abstract class for "moded" incremental recognizers that examines the first part of a gesture to see if it matches its starting signal and thereafter responds to events in a moded interaction.
ModedIncrRecognizer() - Constructor for class diva.sketch.toolbox.ModedIncrRecognizer
 
MODEL_TAG - Static variable in class diva.sketch.SketchParser
Indicate a sketch model.
MODEL_TAG - Static variable in class diva.sketch.recognition.TrainingParser
Indicate that the file contains a training model.
ModelParser - interface diva.util.ModelParser.
ModelParser is an interface that should be extended by application specified model parsers.
ModelWriter - interface diva.util.ModelWriter.
ModelWriter is an interface that should be extended by application specified model writers to write out data structures to an output stream.
MODIFIERS_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
ModularGraphModel - class diva.graph.modular.ModularGraphModel.
A modular implementation of the graph model, whereby users with heterogeneous graphs can implement the graph model interface by implementing the simple interfaces of Graph, Node, CompositeNode, and Edge.
ModularGraphModel(Object) - Constructor for class diva.graph.modular.ModularGraphModel
Construct an empty graph model whose root is the given semantic object.
moduloAngle(double) - Static method in class diva.canvas.CanvasUtilities
Return the angle between -PI and PI that corresponds to the given angle.
MOUSE_EVENT_TAG - Static variable in class diva.util.jester.EventParser
 
mouseClicked(LayerEvent) - Method in class diva.canvas.event.LayerMouseAdapter
 
mouseClicked(LayerEvent) - Method in class diva.canvas.event.LayerAdapter
Invoked when the mouse is clicked on a layer or figure.
mouseClicked(LayerEvent) - Method in class diva.canvas.event.LayerEventMulticaster
Invoked when the mouse is clicked on a layer or figure.
mouseClicked(LayerEvent) - Method in interface diva.canvas.event.LayerListener
Invoked when the mouse is clicked on a layer or figure.
mouseClicked(LayerEvent) - Method in class diva.canvas.event.LayerConsumer
Invoked when the mouse is clicked on a layer or figure.
mouseClicked(LayerEvent) - Method in class diva.canvas.interactor.AbstractInteractor
Do nothing.
mouseClicked(LayerEvent) - Method in class diva.whiteboard.CommandInterpreter.ClickListener
 
mouseClicked(MouseEvent) - Method in class diva.gui.toolbox.FocusMouseListener
 
mouseDragged(LayerEvent) - Method in class diva.canvas.event.LayerMouseAdapter
 
mouseDragged(LayerEvent) - Method in class diva.canvas.event.LayerAdapter
Invoked when the mouse moves while the button is still held down.
mouseDragged(LayerEvent) - Method in class diva.canvas.event.LayerEventMulticaster
Invoked when the mouse moves while the button is still held down.
mouseDragged(LayerEvent) - Method in interface diva.canvas.event.LayerListener
Invoked when the mouse moves while the button is still held down.
mouseDragged(LayerEvent) - Method in class diva.canvas.event.LayerConsumer
Invoked when the mouse moves while the button is still held down.
mouseDragged(LayerEvent) - Method in class diva.canvas.interactor.AbstractInteractor
Do nothing.
mouseDragged(LayerEvent) - Method in class diva.canvas.interactor.DragInteractor
Constrain the point and move the target if the mouse move.
mouseDragged(LayerEvent) - Method in class diva.canvas.interactor.CompositeInteractor
Handle a mouse drag event.
mouseDragged(LayerEvent) - Method in class diva.canvas.interactor.SelectionDragger
Reshape the rubber-band, swapping coordinates if necessary.
mouseDragged(LayerEvent) - Method in class diva.sketch.BasicInterpreter
Update the current stroke and its visual representation.
mouseDragged(LayerEvent) - Method in class diva.sketch.toolbox.PanZoomInterpreter
Update the current stroke and its visual representation.
mouseDragged(LayerEvent) - Method in class diva.whiteboard.SketchTest2.SketchInteractor
 
mouseDragged(LayerEvent) - Method in class diva.whiteboard.WhiteboardView.SketchInterpreter
 
mouseDragged(LayerEvent) - Method in class diva.whiteboard.SketchTest3.SketchInteractor
 
mouseDragged(MouseEvent) - Method in class diva.whiteboard.SketchTest1.LocalMouseMotionListener
 
mouseEntered(LayerEvent) - Method in class diva.canvas.connector.ConnectorManipulator.TargetHighlighter
 
mouseEntered(LayerEvent) - Method in class diva.canvas.event.LayerMouseAdapter
 
mouseEntered(LayerEvent) - Method in interface diva.canvas.event.LayerMotionListener
Invoked when the mouse enters a layer or figure.
mouseEntered(LayerEvent) - Method in class diva.canvas.event.LayerMotionAdapter
Invoked when the mouse enters a layer or figure.
mouseEntered(LayerEvent) - Method in class diva.canvas.event.LayerEventMulticaster
Invoked when the mouse enters a layer or figure.
mouseEntered(LayerEvent) - Method in class diva.canvas.interactor.AbstractInteractor
Do nothing.
mouseEntered(LayerEvent) - Method in class diva.canvas.interactor.CompositeInteractor
Handle a mouse entered event.
mouseEntered(MouseEvent) - Method in class diva.gui.toolbox.FocusMouseListener
 
mouseExited(LayerEvent) - Method in class diva.canvas.connector.ConnectorManipulator.TargetHighlighter
 
mouseExited(LayerEvent) - Method in class diva.canvas.event.LayerMouseAdapter
 
mouseExited(LayerEvent) - Method in interface diva.canvas.event.LayerMotionListener
Invoked when the mouse exits a layer or figure.
mouseExited(LayerEvent) - Method in class diva.canvas.event.LayerMotionAdapter
Invoked when the mouse exits a layer or figure.
mouseExited(LayerEvent) - Method in class diva.canvas.event.LayerEventMulticaster
Invoked when the mouse exits a layer or figure.
mouseExited(LayerEvent) - Method in class diva.canvas.interactor.AbstractInteractor
Do nothing.
mouseExited(LayerEvent) - Method in class diva.canvas.interactor.CompositeInteractor
Handle a mouse exited event.
mouseExited(MouseEvent) - Method in class diva.gui.toolbox.FocusMouseListener
 
MouseFilter - class diva.canvas.event.MouseFilter.
A class that accepts mouse events.
MouseFilter(int) - Constructor for class diva.canvas.event.MouseFilter
Construct a mouse filter that responds to the given mouse buttons and modifier keys.
MouseFilter(int, int) - Constructor for class diva.canvas.event.MouseFilter
Construct a mouse filter that responds to the given mouse buttons and modifier keys.
MouseFilter(int, int, int) - Constructor for class diva.canvas.event.MouseFilter
Construct a mouse filter that responds to the given mouse buttons and modifier keys.
MouseFilter(int, int, int, int) - Constructor for class diva.canvas.event.MouseFilter
Construct a mouse filter that responds to the given mouse buttons and modifier keys.
mouseMoved(LayerEvent) - Method in class diva.canvas.connector.ConnectorManipulator.TargetHighlighter
 
mouseMoved(LayerEvent) - Method in class diva.canvas.event.LayerMouseAdapter
 
mouseMoved(LayerEvent) - Method in interface diva.canvas.event.LayerMotionListener
Invoked when the mouse moves while over a layer or figure.
mouseMoved(LayerEvent) - Method in class diva.canvas.event.LayerMotionAdapter
Invoked when the mouse moves while over a layer or figure.
mouseMoved(LayerEvent) - Method in class diva.canvas.event.LayerEventMulticaster
Invoked when the mouse moves while over a layer or figure.
mouseMoved(LayerEvent) - Method in class diva.canvas.interactor.AbstractInteractor
Do nothing.
mouseMoved(LayerEvent) - Method in class diva.canvas.interactor.CompositeInteractor
Handle a mouse moved event.
mousePressed(LayerEvent) - Method in class diva.canvas.event.LayerMouseAdapter
 
mousePressed(LayerEvent) - Method in class diva.canvas.event.LayerAdapter
Invoked when the mouse is pressed on a layer or figure.
mousePressed(LayerEvent) - Method in class diva.canvas.event.LayerEventMulticaster
Invoked when the mouse is pressed on a layer or figure.
mousePressed(LayerEvent) - Method in interface diva.canvas.event.LayerListener
Invoked when the mouse is pressed on a layer or figure.
mousePressed(LayerEvent) - Method in class diva.canvas.event.LayerConsumer
Invoked when the mouse is pressed on a layer or figure.
mousePressed(LayerEvent) - Method in class diva.canvas.interactor.AbstractInteractor
Do nothing.
mousePressed(LayerEvent) - Method in class diva.canvas.interactor.DragInteractor
Handle a mouse press on a figure or layer.
mousePressed(LayerEvent) - Method in class diva.canvas.interactor.CompositeInteractor
Handle a mouse press event.
mousePressed(LayerEvent) - Method in class diva.canvas.interactor.SelectionInteractor
Handle a mouse press event.
mousePressed(LayerEvent) - Method in class diva.canvas.interactor.ActionInteractor
Activate the action referenced by this interactor.
mousePressed(LayerEvent) - Method in class diva.canvas.interactor.SelectionDragger
Clear the selection, and create the rubber-band
mousePressed(LayerEvent) - Method in class diva.graph.EdgeCreator
Create a new edge, add it to the graph controller and add the connector to the selection.
mousePressed(LayerEvent) - Method in class diva.graph.basic.BasicGraphController.NodeCreator
 
mousePressed(LayerEvent) - Method in class diva.sketch.BasicInterpreter
Instantiate a new stroke and add its visual representation as a symbol in the pane.
mousePressed(LayerEvent) - Method in class diva.sketch.toolbox.PanZoomInterpreter
Instantiate a new stroke and add its visual representation as a symbol in the pane.
mousePressed(LayerEvent) - Method in class diva.whiteboard.SketchTest2.SketchInteractor
 
mousePressed(LayerEvent) - Method in class diva.whiteboard.CommandInterpreter.HoldListener
 
mousePressed(LayerEvent) - Method in class diva.whiteboard.WhiteboardView.SketchInterpreter
 
mousePressed(LayerEvent) - Method in class diva.whiteboard.SketchTest3.SketchInteractor
 
mousePressed(MouseEvent) - Method in class diva.gui.toolbox.FocusMouseListener
Grab the keyboard focus when the component that this listener is attached to is clicked on.
mousePressed(MouseEvent) - Method in class diva.whiteboard.SketchTest1.LocalMouseListener
 
mouseReleased(LayerEvent) - Method in class diva.apps.SketchPad.SketchPadInterpreter
 
mouseReleased(LayerEvent) - Method in class diva.canvas.connector.ConnectorInteractor
Handle a mouse-released event.
mouseReleased(LayerEvent) - Method in class diva.canvas.event.LayerMouseAdapter
 
mouseReleased(LayerEvent) - Method in class diva.canvas.event.LayerAdapter
Invoked when the mouse is released on a layer or figure.
mouseReleased(LayerEvent) - Method in class diva.canvas.event.LayerEventMulticaster
Invoked when the mouse is released on a layer or figure.
mouseReleased(LayerEvent) - Method in interface diva.canvas.event.LayerListener
Invoked when the mouse is released on a layer or figure.
mouseReleased(LayerEvent) - Method in class diva.canvas.event.LayerConsumer
Invoked when the mouse is released on a layer or figure.
mouseReleased(LayerEvent) - Method in class diva.canvas.interactor.AbstractInteractor
Do nothing.
mouseReleased(LayerEvent) - Method in class diva.canvas.interactor.DragInteractor
Handle a mouse released event.
mouseReleased(LayerEvent) - Method in class diva.canvas.interactor.CompositeInteractor
Handle a mouse released event.
mouseReleased(LayerEvent) - Method in class diva.canvas.interactor.SelectionDragger
Delete the rubber-band
mouseReleased(LayerEvent) - Method in class diva.gui.toolbox.MenuCreator
When a mouse press happens, ask the factory to create a menu and show it on the screen.
mouseReleased(LayerEvent) - Method in class diva.sketch.BasicInterpreter
Update the current stroke and its visual representation, then reset the stroke to "null".
mouseReleased(LayerEvent) - Method in class diva.sketch.toolbox.PanZoomInterpreter
Update the current stroke and its visual representation, and interpret the stroke using either the command recognizer or the UML recognizer.
mouseReleased(LayerEvent) - Method in class diva.whiteboard.SketchTest2.SketchInteractor
 
mouseReleased(LayerEvent) - Method in class diva.whiteboard.CommandInterpreter.CommandStrokeListener
 
mouseReleased(LayerEvent) - Method in class diva.whiteboard.WhiteboardView.SketchInterpreter
 
mouseReleased(LayerEvent) - Method in class diva.whiteboard.SketchTest3.SketchInteractor
 
mouseReleased(MouseEvent) - Method in class diva.gui.toolbox.FocusMouseListener
 
MoveHandle - class diva.canvas.interactor.MoveHandle.
A grab-handle that is intended for acting as a "move me" handle.
MoveHandle(Site) - Constructor for class diva.canvas.interactor.MoveHandle
Construct a new grab handle attached to the given site.
moveTo(double, double) - Method in class diva.util.java2d.Polyline2D
Move the start point of the vertex to the given position.
moveTo(double, double) - Method in class diva.util.java2d.Polyline2D.Float
Move the start point of the vertex to the given position.
moveTo(double, double) - Method in class diva.util.java2d.Polyline2D.Double
Move the start point of the vertex to the given position.
moveTo(double, double) - Method in class diva.util.java2d.Polygon2D
Move the start point of the vertex to the given position.
moveTo(double, double) - Method in class diva.util.java2d.Polygon2D.Float
Move the start point of the vertex to the given position.
moveTo(double, double) - Method in class diva.util.java2d.Polygon2D.Double
Move the start point of the vertex to the given position.
MULTIPAGE_TAG - Static variable in class diva.gui.MultipageParser
The string constant that specifies the start and end of a document.
MultipageDocument - class diva.gui.MultipageDocument.
A document that contains a linear sequence of Pages.
MultipageDocument(String, Application, ModelParser, ModelWriter) - Constructor for class diva.gui.MultipageDocument
Construct a multipage document that is owned by the given application
MultipageModel - class diva.gui.MultipageModel.
A document that contains a linear sequence of Pages.
MultipageModel() - Constructor for class diva.gui.MultipageModel
 
MultipageParser - class diva.gui.MultipageParser.
Parse all pages of a multi-page document from a file.
MultipageParser(ModelParser) - Constructor for class diva.gui.MultipageParser
Create a MultipageParser with the specified model parser which is used to parse the content of a page.
MultipageWriter - class diva.gui.MultipageWriter.
MultipageWriter writes out all pages of a multi-page document to a file.
MultipageWriter(ModelWriter) - Constructor for class diva.gui.MultipageWriter
Create a MultipageWriter with the specified model parser which is used to write the content of a page.
MULTIPLE_SELECTION - Static variable in interface diva.canvas.interactor.SelectionModel
Allow multiple screen objects to be selected at once.
MultiWindowApplication - class diva.gui.MultiWindowApplication.
An application that manages a group of toplevel frames for each document.
MultiWindowApplication(AppContext) - Constructor for class diva.gui.MultiWindowApplication
Create a MultiWindow application based on the given context.
MultiWindowGraphEditor - class diva.graph.schematic.MultiWindowGraphEditor.
A graph editor for non-hierarchical graphs.
MultiWindowGraphEditor(DesktopContext) - Constructor for class diva.graph.schematic.MultiWindowGraphEditor
Construct a new graph editing application.
MutableCompositeNodeModel - interface diva.graph.modular.MutableCompositeNodeModel.
A graph is an object that contains nodes and edges.
MutableEdgeModel - interface diva.graph.modular.MutableEdgeModel.
An edge is an object that is contained by a graph and connects nodes.
MutableGraphModel - interface diva.graph.MutableGraphModel.
A mutable graph model is a read-write subclass of the read-only graph model, allowing users to actually create new nodes and edges, and to modify the topology of the graph.
MutableModularGraphModel - class diva.graph.modular.MutableModularGraphModel.
A modular implementation of the graph model, whereby users with heterogeneous graphs can implement the graph model interface by implementing the simple interfaces of Graph, Node, CompositeNode, and Edge.
MutableModularGraphModel(Object) - Constructor for class diva.graph.modular.MutableModularGraphModel
Construct an empty graph model whose root is the given semantic object.
MutableNodeModel - interface diva.graph.modular.MutableNodeModel.
A node is an object that is contained by a graph and is connected to other nodes by edges.
myInvert(double[][], double[][]) - Static method in class diva.sketch.classification.RubineClassifier
A new invert routine taken directly from Amulet's gest_matrix.cc (where it's called InvertMatrix).

N

NAME - Static variable in class diva.sketch.parser2d.DeltaXRelation
The name that this relation goes by in text form.
NAME - Static variable in class diva.sketch.parser2d.DeltaYRelation
The name that this relation goes by in text form.
NAME - Static variable in class diva.sketch.parser2d.AngleRelation
The name that this relation goes by in text form.
NAME - Static variable in class diva.sketch.parser2d.WidthRatioRelation
The name that this relation goes by in text form.
NAME - Static variable in class diva.sketch.parser2d.DistanceRelation
The name that this relation goes by in text form.
NAME - Static variable in class diva.sketch.parser2d.OverlapRelation
The name that this relation goes by in text form.
NAME - Static variable in class diva.sketch.parser2d.HeightRatioRelation
The name that this relation goes by in text form.
NAME - Static variable in class diva.sketch.parser2d.AreaRatioRelation
The name that this relation goes by in text form.
NAME_TAG - Static variable in class diva.sketch.recognition.TrainingParser
Indicate the name of a type.
NAME_TAG - Static variable in class diva.sketch.recognition.SceneParser
Indicates the name of scene element in a composite element.
NativeResults - class diva.sketch.parser2d.NativeResults.
A class that encapsulates the parse results of a native rule so that native rules do not have to deal with the implementation details of the parser.
NativeResults(TypedData, double) - Constructor for class diva.sketch.parser2d.NativeResults
Construct a new result object that contains the given data and probability.
NEGATIVE - Static variable in class diva.sketch.recognition.TrainingModel
Internal constant for the array slot of negative examples.
negativeExampleCount(String) - Method in class diva.sketch.classification.TrainingSet
Returns the number of negative examples for the given type.
negativeExampleCount(String) - Method in class diva.sketch.recognition.TrainingModel
Returns the number of negative examples for the given type.
negativeExamples(String) - Method in class diva.sketch.classification.TrainingSet
An iterator over the negative examples for the given type.
negativeExamples(String) - Method in class diva.sketch.recognition.TrainingModel
An iterator over the negative examples for the given type.
NEW - Static variable in class diva.gui.DefaultActions
 
newAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "New" that creates a new document.
newInstance(Figure) - Method in class diva.canvas.FigureDecorator
Create a new instance of this figure decorator, modelled on this one.
newInstance(Figure) - Method in class diva.canvas.connector.ConnectorManipulator
Create a new instance of this manipulator.
newInstance(Figure) - Method in class diva.canvas.connector.ArcManipulator
Create a new instance of this manipulator.
newInstance(Figure) - Method in class diva.canvas.interactor.CircleManipulator
Create a new instance of this manipulator.
newInstance(Figure) - Method in class diva.canvas.interactor.PathManipulator
Create a new instance of this manipulator.
newInstance(Figure) - Method in class diva.canvas.interactor.BoundsManipulator
Create a new instance of this manipulator.
newInstance(Figure) - Method in class diva.canvas.toolbox.BasicHighlighter
Create a new instance of this highlighter.
newInstance(Figure) - Method in class diva.canvas.toolbox.TypedDecorator
Return a new decorator, according to the type of the figure.
next() - Method in class diva.util.IteratorAdapter
 
next() - Method in class diva.util.NullIterator
 
next() - Method in class diva.util.FilteredIterator
 
next() - Method in class diva.util.IteratorIterator
 
next() - Method in class diva.util.ArrayIterator
 
next() - Method in class diva.util.ProxyIterator
 
next() - Method in class diva.util.UnitIterator
 
next() - Method in class diva.util.CompoundIterator
 
next() - Method in class diva.util.ReverseIterator
Return the next element.
next() - Method in class diva.util.java2d.PolylineIterator
Move the iterator along by one point.
next() - Method in class diva.util.java2d.PolygonIterator
Move the iterator along by one point.
nextPage() - Method in class diva.whiteboard.WhiteboardView
 
NO_DELTA - Static variable in class diva.sketch.recognition.SceneDeltaSet
A constant representing no change to a scene.
NO_INDEX - Static variable in class diva.util.PropertyIndexSet
A constant which designates that a particular slot name does not yet have an index in the property table.
NO_MAX - Static variable in class diva.sketch.parser2d.AbstractRule
 
NO_MAX_CONSTRAINT - Static variable in class diva.sketch.parser2d.BasicConstraint
Use this constant to specify no maximum constraint for a particular relation.
NO_MIN - Static variable in class diva.sketch.parser2d.AbstractRule
 
NO_MIN_CONSTRAINT - Static variable in class diva.sketch.parser2d.BasicConstraint
Use this to constant specify no minimum constraint for a particular relation.
NO_RECOGNITION - Static variable in class diva.sketch.recognition.StrokeRecognitionSet
A constant that represents no recognition results.
NO_SIZE_RATIO - Static variable in class diva.sketch.parser2d.RelationUtilities
No size constant.
NO_TYPE - Static variable in class diva.sketch.recognition.Type
The type to be associated with an unrecognized piece of data.
Node - interface diva.graph.modular.Node.
A node is an object that is contained by a graph and is connected to other nodes by edges.
NODE_ADDED - Static variable in class diva.graph.GraphEvent
A node is added to a graph; target is the node, old value is the previous parent of the graph.
NODE_DRAWN - Static variable in class diva.graph.GraphViewEvent
The given node was just drawn.
NODE_MOVED - Static variable in class diva.graph.GraphViewEvent
The figure representing a node was moved.
NODE_REMOVED - Static variable in class diva.graph.GraphEvent
A node is deleted from a graph; target is the node, old value is the previous parent of the graph.
nodeAdded(GraphEvent) - Method in interface diva.graph.GraphListener
A node has been been added to the registered graph or one of its subgraphs.
nodeAdded(GraphEvent) - Method in class diva.graph.toolbox.GraphLogger
Add this event to the log.
nodeAdded(GraphEvent) - Method in class diva.graph.toolbox.GraphEventMulticaster
Dispatch the nodeAdded() event to each of the listeners.
NodeController - class diva.graph.NodeController.
 
NodeController(GraphController) - Constructor for class diva.graph.NodeController
Create a new basic controller with default node and edge interactors.
nodeCost(Object) - Method in class diva.graph.layout.GridAnnealingLayout
Return the absolute cost of an individual node.
NodeDragInteractor - class diva.graph.NodeDragInteractor.
An interaction role that drags nodes.
NodeDragInteractor(GraphController) - Constructor for class diva.graph.NodeDragInteractor
Create a new NodeDragInteractor and give it a pointer to its controller to it can find other useful objects
nodeDrawn(GraphViewEvent) - Method in interface diva.graph.GraphViewListener
 
nodeDrawn(GraphViewEvent) - Method in class diva.graph.layout.IncrementalLayoutListener
 
nodeDrawn(Object) - Method in class diva.graph.layout.IncrLayoutAdapter
Called in response to the given node being added.
nodeDrawn(Object) - Method in class diva.graph.layout.ProxyIncrLayout
Called in response to the given node being given a figure.
nodeDrawn(Object) - Method in class diva.graph.layout.RandomIncrLayout
Lay out the given node randomly, trying not to overlap it with existing nodes.
nodeDrawn(Object) - Method in interface diva.graph.layout.IncrementalLayout
Called in response to the given node being given a figure.
NodeInteractor - class diva.graph.NodeInteractor.
An interaction role for nodes.
NodeInteractor(GraphController) - Constructor for class diva.graph.NodeInteractor
Create a new node interactor that belongs to the given controller.
NodeInteractor(GraphController, SelectionModel) - Constructor for class diva.graph.NodeInteractor
Create a new node interactor that belongs to the given controller and that uses the given selection model
NodeModel - interface diva.graph.modular.NodeModel.
A node is an object that is contained by a graph and is connected to other nodes by edges.
nodeMoved(GraphViewEvent) - Method in interface diva.graph.GraphViewListener
 
nodeMoved(GraphViewEvent) - Method in class diva.graph.layout.IncrementalLayoutListener
 
nodeMoved(Object) - Method in class diva.graph.layout.IncrLayoutAdapter
Called in response to the given node being moved.
nodeMoved(Object) - Method in class diva.graph.layout.ProxyIncrLayout
Called in response to the figure representing the given node being moved.
nodeMoved(Object) - Method in class diva.graph.layout.RandomIncrLayout
Called in response to the figure representing the given node being moved.
nodeMoved(Object) - Method in interface diva.graph.layout.IncrementalLayout
Called in response to the figure representing the given node being moved.
nodeRemoved(GraphEvent) - Method in interface diva.graph.GraphListener
A node has been been deleted from the registered graphs or one of its subgraphs.
nodeRemoved(GraphEvent) - Method in class diva.graph.toolbox.GraphLogger
Add this event to the log.
nodeRemoved(GraphEvent) - Method in class diva.graph.toolbox.GraphEventMulticaster
Dispatch the nodeRemoved() event to each of the listeners.
NodeRenderer - interface diva.graph.NodeRenderer.
A factory which creates a visual representation (Figure) given a node input.
nodes() - Method in interface diva.graph.modular.Graph
Return an iterator over the nodes that this graph contains.
nodes(Object) - Method in interface diva.graph.GraphModel
Provide an iterator over the nodes in the given graph or composite node.
nodes(Object) - Method in class diva.graph.modular.ModularGraphModel
Provide an iterator over the nodes in the given graph or composite node.
nodes(Object) - Method in interface diva.graph.modular.CompositeModel
Return an iterator over the nodes that this graph contains.
nodes(Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicNodeModel
Provide an iterator over the nodes in the given graph or composite node.
nodeSet(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Return a new set that contains all the nodes that are deeply contained in the given composite.
NORMAL_STATE - Static variable in class diva.graph.toolbox.StateBubble
The style of a regular state
NORTH - Static variable in class diva.sketch.parser2d.AbstractRule
The north direction constant.
NORTH - Static variable in class diva.sketch.parser2d.RelationUtilities
The north direction constant.
NORTH_EAST - Static variable in class diva.sketch.parser2d.AbstractRule
The north-east direction constant.
NORTH_EAST - Static variable in class diva.sketch.parser2d.RelationUtilities
The north-east direction constant.
NORTH_WEST - Static variable in class diva.sketch.parser2d.AbstractRule
The north-west direction constant.
NORTH_WEST - Static variable in class diva.sketch.parser2d.RelationUtilities
The north-west direction constant.
NotFilter - class diva.util.NotFilter.
A filter which returns the complement of a given filter.
NotFilter(Filter) - Constructor for class diva.util.NotFilter
 
NullIterator - class diva.util.NullIterator.
An iterator over nothing.
NullIterator() - Constructor for class diva.util.NullIterator
 
NullSite - class diva.canvas.connector.NullSite.
A site that doesn't do anything useful.
NullSite() - Constructor for class diva.canvas.connector.NullSite
 
numCrossings(Object, Object) - Method in class diva.graph.layout.GridAnnealingLayout
Return the number of crossings between this edge and other edges in the graph.
numOverlaps(Object, Object) - Method in class diva.graph.layout.GridAnnealingLayout
Return the number of overlaps between this edge and other edges in the graph.
numTees(Object) - Method in class diva.graph.layout.GridAnnealingLayout
Return the number of instances of nodes that are being placed on top of edges that they are not connected to.

O

objectChange(SemanticObjectChangeEvent) - Method in interface diva.util.SemanticObjectChangeListener
The semantic object has changed.
objectChange(UserObjectChangeEvent) - Method in interface diva.util.UserObjectChangeListener
The user object has changed.
OPEN - Static variable in class diva.gui.DefaultActions
 
open() - Method in class diva.graph.schematic.GraphDocument
Open the document from its current file.
open() - Method in class diva.gui.AbstractDocument
Open the document from its current file or URL.
open() - Method in class diva.gui.MultipageDocument
Open the document from its current file.
open() - Method in interface diva.gui.Document
Open the document from its current file or URL.
open() - Method in class diva.gui.tutorial.TextDocument
Open the document from its current file or URL.
open(Application) - Method in class diva.gui.BasicStoragePolicy
Open a new document.
open(Application) - Method in class diva.gui.DefaultStoragePolicy
Open a new document.
open(Application) - Method in interface diva.gui.StoragePolicy
Open a new document.
open(File, Application) - Method in class diva.gui.BasicStoragePolicy
Open a file and create a new document.
open(File, Application) - Method in class diva.gui.DefaultStoragePolicy
Open a file and create a new document.
open(File, Application) - Method in interface diva.gui.StoragePolicy
Open a file and create a new document.
open(URL, Application) - Method in class diva.gui.BasicStoragePolicy
Open a URL and create a new document.
open(URL, Application) - Method in class diva.gui.DefaultStoragePolicy
Open a URL and create a new document.
open(URL, Application) - Method in interface diva.gui.StoragePolicy
Open a URL and create a new document.
openAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Open" that opens a new document.
OrConstraint - class diva.sketch.parser2d.OrConstraint.
A composite constraint that ORs together the results of its child constraint objects.
OrConstraint() - Constructor for class diva.sketch.parser2d.OrConstraint
 
OrFilter - class diva.util.OrFilter.
A composite filter which ORs two filters together.
OrFilter(Filter, Filter) - Constructor for class diva.util.OrFilter
 
origNode - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
outEdges() - Method in interface diva.graph.modular.Node
Return an iterator over the edges coming out of this node.
outEdges(Object) - Method in interface diva.graph.GraphModel
Return an iterator over the out edges of this node.
outEdges(Object) - Method in class diva.graph.modular.ModularGraphModel
Return an iterator over the out edges of this node.
outEdges(Object) - Method in interface diva.graph.modular.NodeModel
Return an iterator over the edges coming out of the given node.
outEdges(Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicNodeModel
Return an iterator over the edges coming out of the given node.
OUTLINE_TAG - Static variable in class diva.sketch.SketchParser
Indicate the outline to draw the gesture with.
outNodes(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Return an iterator over the nodes on the other side of edges emanating from the given node.
overlap(SceneElement, SceneElement) - Static method in class diva.sketch.parser2d.AbstractRule
Calculate the ratio of the area of the intersection of the bounding boxes of the two given scene elements to the area of the bounding box of the "which" argument.
OverlapRelation - class diva.sketch.parser2d.OverlapRelation.
Calculate the percentage of one of the rectangles that overlaps the other.
OverlapRelation() - Constructor for class diva.sketch.parser2d.OverlapRelation
 
OverlayLayer - class diva.canvas.OverlayLayer.
OutlineLayer is a layer that is used to display the grey figures commonly used for drag-selection, reshaping items, and so on.
OverlayLayer() - Constructor for class diva.canvas.OverlayLayer
Create a new OverlayLayer with a default one-pixel stroke and a light grey stroke color.
OverlayLayer(Stroke, Paint) - Constructor for class diva.canvas.OverlayLayer
Create a new OverlayLayer with the given stroke and paint

P

Page - interface diva.gui.Page.
A multi-page document contains an ordered set of pages.
PAGE_NUM_TAG - Static variable in class diva.gui.MultipageParser
The string constant that specifies the page number of a page.
PAGE_TAG - Static variable in class diva.gui.MultipageParser
The string constant that specifies the start and end of a sheet in a document.
PAGE_TITLE_TAG - Static variable in class diva.gui.MultipageParser
The string constant that specifies the title attribute of a page.
pages() - Method in class diva.gui.MultipageModel
Return an iterator over all pages
paint(Graphics) - Method in class diva.canvas.JCanvas
Paint the canvas.
paint(Graphics2D) - Method in class diva.canvas.AbstractFigure
Paint the figure.
paint(Graphics2D) - Method in class diva.canvas.AbstractFigureContainer
Paint this composite figure onto a 2D graphics object.
paint(Graphics2D) - Method in class diva.canvas.CompositeFigure
Paint this composite figure onto a 2D graphics object.
paint(Graphics2D) - Method in class diva.canvas.OverlayLayer
Paint this layer onto a 2D graphics object.
paint(Graphics2D) - Method in class diva.canvas.FigureWrapper
Paint the child if this figure is visible.
paint(Graphics2D) - Method in class diva.canvas.PaneWrapper
Paint the pane figure.
paint(Graphics2D) - Method in class diva.canvas.FigureLayer
Paint this layer onto a 2D graphics object.
paint(Graphics2D) - Method in class diva.canvas.CanvasPane
Paint this pane onto a 2D graphics context.
paint(Graphics2D) - Method in interface diva.canvas.VisibleComponent
Paint this object onto a 2D graphics object.
paint(Graphics2D) - Method in class diva.canvas.FigureDecorator
Paint the figure.
paint(Graphics2D) - Method in class diva.canvas.connector.Arrowhead
Paint the arrow-head.
paint(Graphics2D) - Method in class diva.canvas.connector.StraightTerminal
Paint the terminal.
paint(Graphics2D) - Method in class diva.canvas.connector.AbstractConnector
Paint the connector.
paint(Graphics2D) - Method in class diva.canvas.connector.Blob
Paint the blob.
paint(Graphics2D) - Method in class diva.canvas.connector.TerminalFigure
Paint the figure.
paint(Graphics2D) - Method in interface diva.canvas.connector.ConnectorEnd
Paint the connector end.
paint(Graphics2D) - Method in class diva.canvas.demo.WarpImageFigure
 
paint(Graphics2D) - Method in class diva.canvas.interactor.Manipulator
Paint the manipulator.
paint(Graphics2D) - Method in class diva.canvas.toolbox.BasicFigure
Paint the figure.
paint(Graphics2D) - Method in class diva.canvas.toolbox.BasicHighlighter
Paint the figure.
paint(Graphics2D) - Method in class diva.canvas.toolbox.ImageFigure
Paint the figure's image.
paint(Graphics2D) - Method in class diva.canvas.toolbox.LabelFigure
Paint the label.
paint(Graphics2D) - Method in class diva.canvas.toolbox.SwingWrapper
Ask the wrapped component to paint itself.
paint(Graphics2D) - Method in class diva.canvas.toolbox.BackgroundedCompositeFigure
Paint this composite figure onto a 2D graphics object.
paint(Graphics2D) - Method in class diva.canvas.toolbox.PathFigure
Paint the figure.
paint(Graphics2D) - Method in class diva.canvas.toolbox.LabelWrapper
Paint this figure
paint(Graphics2D) - Method in class diva.canvas.toolbox.IconFigure
Paint the icon.
paint(Graphics2D) - Method in class diva.canvas.toolbox.VersatileFigure
Paint the figure.
paint(Graphics2D) - Method in class diva.canvas.toolbox.GridLayer
Paint this layer onto a 2D graphics object.
paint(Graphics2D) - Method in class diva.canvas.toolbox.PaintedFigure
Paint the figure.
paint(Graphics2D) - Method in class diva.canvas.tutorial.TransformedFigureTutorial.CloudFigure
Paint this figure onto the given graphics context.
paint(Graphics2D) - Method in class diva.canvas.tutorial.FigureTutorial.CustomRectangle
Paint this figure onto the given graphics context.
paint(Graphics2D) - Method in class diva.graph.toolbox.StateBubble
Paint the figure.
paint(Graphics2D) - Method in class diva.util.java2d.PaintedList
Paint the list of objects.
paint(Graphics2D) - Method in interface diva.util.java2d.PaintedObject
Paint the shape.
paint(Graphics2D) - Method in class diva.util.java2d.PaintedPath
Paint the shape.
paint(Graphics2D) - Method in class diva.util.java2d.PaintedString
Paint the label.
paint(Graphics2D) - Method in class diva.util.java2d.PaintedShape
Paint the shape.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.AbstractFigure
Repaint the figure in the given rectangle.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.CompositeFigure
Paint this composite figure onto a 2D graphics object, within the given region.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.OverlayLayer
Paint this layer onto a 2D graphics object, within the given region.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.PaneWrapper
Paint the pane figure within the given region.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.FigureLayer
Paint this layer onto a 2D graphics object, within the given region.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.CanvasPane
Paint this pane onto a 2D graphics object, within the given region.
paint(Graphics2D, Rectangle2D) - Method in interface diva.canvas.VisibleComponent
Paint this object onto a 2D graphics object, within the given region.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.connector.TerminalFigure
Paint this object onto a 2D graphics object, within the given region.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.toolbox.BackgroundedCompositeFigure
Paint this composite figure onto a 2D graphics object, within the given region.
paint(Graphics2D, Rectangle2D) - Method in class diva.canvas.toolbox.GridLayer
Paint this layer onto a 2D graphics object, within the given region.
paintComponent(Graphics) - Method in class diva.gui.toolbox.JPanner
 
PaintedFigure - class diva.canvas.toolbox.PaintedFigure.
A PaintedFigure is contains an arbitrary set of PaintedObjects in a list.
PaintedFigure() - Constructor for class diva.canvas.toolbox.PaintedFigure
Create a new blank figure.
PaintedFigure(PaintedList) - Constructor for class diva.canvas.toolbox.PaintedFigure
Create a new figure that paints itself using the given PaintedList.
PaintedGraphic - interface diva.util.java2d.PaintedGraphic.
The interface for a set of utility classes that paint shapes or other kinds of graphical objects.
PaintedList - class diva.util.java2d.PaintedList.
A class that collects a number of PaintedObjects.
PaintedList() - Constructor for class diva.util.java2d.PaintedList
 
PaintedObject - interface diva.util.java2d.PaintedObject.
The interface for a set of utility classes that paint shapes or other kinds of graphical objects.
paintedObjects - Variable in class diva.util.java2d.PaintedList
The list of PaintedObjects
PaintedPath - class diva.util.java2d.PaintedPath.
A utility class that strokes a shape.
PaintedPath(Shape) - Constructor for class diva.util.java2d.PaintedPath
Create a painted path on the given Shape.
PaintedPath(Shape, float) - Constructor for class diva.util.java2d.PaintedPath
Create a painted path on the given Shape with a given line width.
PaintedPath(Shape, float, Paint) - Constructor for class diva.util.java2d.PaintedPath
Create a painted path on the given Shape with a given line width and stroke color.
PaintedShape - class diva.util.java2d.PaintedShape.
A utility class that paints a shape with an stroke and/or fill.
PaintedShape(Shape) - Constructor for class diva.util.java2d.PaintedShape
Create a painted shape on the given Shape.
PaintedShape(Shape, float) - Constructor for class diva.util.java2d.PaintedShape
Create a painted shape on the given Shape.
PaintedShape(Shape, float, Paint) - Constructor for class diva.util.java2d.PaintedShape
Create a painted shape on the given Shape.
PaintedShape(Shape, Paint) - Constructor for class diva.util.java2d.PaintedShape
Create a painted shape on the given Shape.
PaintedShape(Shape, Paint, float) - Constructor for class diva.util.java2d.PaintedShape
Create a painted shape on the given Shape.
PaintedShape(Shape, Paint, float, Paint) - Constructor for class diva.util.java2d.PaintedShape
Create a painted shape on the given Shape.
PaintedString - class diva.util.java2d.PaintedString.
A utility class that paints a string.
PaintedString() - Constructor for class diva.util.java2d.PaintedString
Construct an empty label figure.
PaintedString(String) - Constructor for class diva.util.java2d.PaintedString
Construct a label figure displaying the given string, using the default font.
PaintedString(String, Font) - Constructor for class diva.util.java2d.PaintedString
Construct a label figure displaying the given string in the given font.
PaintedString(String, String, int, int) - Constructor for class diva.util.java2d.PaintedString
Construct a label figure displaying the given string in the given face, style, and size.
paintIcon(Component, Graphics, int, int) - Method in class diva.whiteboard.Whiteboard.GrayedOutWidthIcon
 
pan(double, double) - Method in class diva.sketch.toolbox.PanZoomController
 
panes() - Method in class diva.whiteboard.WhiteboardView
 
PaneWrapper - class diva.canvas.PaneWrapper.
A figure that wraps a whole canvas pane.
PaneWrapper(CanvasPane) - Constructor for class diva.canvas.PaneWrapper
Create a new pane figure with the given pane.
panner - Variable in class diva.canvas.demo.SpaceWindow
 
PanRecognizer - class diva.sketch.toolbox.PanRecognizer.
A recognizer that recognizes "pan" gestures ("P") and then pans left if the events are "left", etc.
PanRecognizer.PanData - class diva.sketch.toolbox.PanRecognizer.PanData.
A classification type for paning.
PanRecognizer.PanData(double, double) - Constructor for class diva.sketch.toolbox.PanRecognizer.PanData
Contruct a pan type object with the pan amount given.
PanRecognizer(StrokeRecognizer) - Constructor for class diva.sketch.toolbox.PanRecognizer
Construct a pan recognizer with a classifying recognizer which has been trained on "P" shapes.
PanZoomController - class diva.sketch.toolbox.PanZoomController.
A controller that combines conventional click- and drag-selection on a pane with gesture-based panning and zooming.
PanZoomController() - Constructor for class diva.sketch.toolbox.PanZoomController
Create a new controller for the given pane
PanZoomInterpreter - class diva.sketch.toolbox.PanZoomInterpreter.
 
PanZoomInterpreter.LocalRecognizer - class diva.sketch.toolbox.PanZoomInterpreter.LocalRecognizer.
 
PanZoomInterpreter.LocalRecognizer(PanZoomInterpreter, Reader) - Constructor for class diva.sketch.toolbox.PanZoomInterpreter.LocalRecognizer
 
PanZoomInterpreter(PanZoomController) - Constructor for class diva.sketch.toolbox.PanZoomInterpreter
 
ParametricSite - class diva.canvas.connector.ParametricSite.
A site that locates itself in a figure at a location in X and Y that is some percentage of the bounding box of the figure.
ParametricSite(Figure, int, double, double) - Constructor for class diva.canvas.connector.ParametricSite
Create a new site on the given figure with the given id, located at (xt, yt) percentage of the given figure's bounding box, with (0,0) being the upper left-hand corner and (1,1) being the lower right.
parents() - Method in interface diva.sketch.recognition.SceneElement
Return a set of the parents of this element in the ambiguous parse tree.
parse(CompositeElement, Scene) - Method in class diva.sketch.parser2d.ParsingSceneRecognizer
Perform a recursive, incremental parse of the element in the given scene, adding the results to the given delta set.
parse(Reader) - Method in class diva.sketch.SketchParser
Parse the input stream dictated by the given reader into a sketch model.
parse(Reader) - Method in class diva.sketch.recognition.TrainingParser
Create the full path string for the url and parses the file into a TrainingModel object.
parse(Reader) - Method in class diva.sketch.recognition.SceneParser
Parse the input stream dictated by the given reader intoa scene.
parse(Reader) - Method in interface diva.util.ModelParser
Parse the data in the given charater stream into a data structure and return the data structure.
parse(Reader) - Method in class diva.util.jester.EventParser
 
parse(Reader[]) - Method in class diva.sketch.recognition.TrainingParser
Parses the training files into one training model and return the model.
parse(Reader, MultipageModel) - Method in class diva.gui.MultipageParser
Parse the file (from reader) into the given multipage data structure.
parse(String, String, InputStream, String) - Method in class diva.util.aelfred.XmlParser
Parse an XML document from a byte stream.
parse(String, String, Reader) - Method in class diva.util.aelfred.XmlParser
Parse an XML document from a character stream.
parse(String, String, String) - Method in class diva.util.aelfred.XmlParser
Parse an XML document from a URI.
parse(XmlDocument) - Method in class diva.util.xml.XmlReader
Parse the given document from the URL it contains.
parse(XmlDocument, InputStream) - Method in class diva.util.xml.XmlReader
Parse the given document from the given input stream, but using the given URL to resolve external references.
parse(XmlDocument, Reader) - Method in class diva.util.xml.XmlReader
Parse the given document from the given reader, but using the given URL to resolve external references.
parseAttDef(String) - Method in class diva.util.aelfred.XmlParser
Parse a single attribute definition.
parseAttlistDecl() - Method in class diva.util.aelfred.XmlParser
Parse an attribute list declaration.
parseAttribute(String) - Method in class diva.util.aelfred.XmlParser
Parse an attribute assignment.
parseCDSect() - Method in class diva.util.aelfred.XmlParser
Parse a CDATA marked section.
parseCharRef() - Method in class diva.util.aelfred.XmlParser
Read a character reference.
parseColor(String) - Static method in class diva.sketch.SketchParser
Return the color object indicated by "val".
parseComment() - Method in class diva.util.aelfred.XmlParser
Skip a comment.
parseConditionalSect() - Method in class diva.util.aelfred.XmlParser
Parse a conditional section.
parseContent() - Method in class diva.util.aelfred.XmlParser
Parse the content of an element.
parseContentspec(String) - Method in class diva.util.aelfred.XmlParser
Content specification.
parseCp() - Method in class diva.util.aelfred.XmlParser
Parse a content particle.
parseDefault(String, String, int, String) - Method in class diva.util.aelfred.XmlParser
Parse the default value for an attribute.
parseDirection(String) - Static method in class diva.sketch.parser2d.RelationUtilities
Return a direction constant given a string.
parseDoctypedecl() - Method in class diva.util.aelfred.XmlParser
Parse a document type declaration.
parseDocument() - Method in class diva.util.aelfred.XmlParser
Parse an XML document.
parseElement() - Method in class diva.util.aelfred.XmlParser
Parse an element, with its tags.
parseElementdecl() - Method in class diva.util.aelfred.XmlParser
Parse an element type declaration.
parseElements() - Method in class diva.util.aelfred.XmlParser
Parse an element-content model.
parseEntityDecl() - Method in class diva.util.aelfred.XmlParser
Parse an entity declaration.
parseEntityRef(boolean) - Method in class diva.util.aelfred.XmlParser
Parse a reference.
parseEnumeration() - Method in class diva.util.aelfred.XmlParser
Parse an enumeration.
parseEq() - Method in class diva.util.aelfred.XmlParser
Parse an equals sign surrounded by optional whitespace.
parseETag() - Method in class diva.util.aelfred.XmlParser
Parse an end tag.
parseEvents(Reader) - Method in class diva.util.jester.EventParser
 
parseMarkupdecl() - Method in class diva.util.aelfred.XmlParser
Parse a markup declaration in the internal or external DTD subset.
parseMinMax(String) - Static method in class diva.sketch.parser2d.BasicConstraint
Parse a number string, NO_MIN, or NO_MAX into the corresponding range boundary.
parseMisc() - Method in class diva.util.aelfred.XmlParser
Parse miscellaneous markup outside the document element and DOCTYPE declaration.
parseMixed() - Method in class diva.util.aelfred.XmlParser
Parse mixed content.
parseNotationDecl() - Method in class diva.util.aelfred.XmlParser
Parse a notation declaration.
parseNotationType() - Method in class diva.util.aelfred.XmlParser
Parse a notation type for an attribute.
parseOverlap(String) - Static method in class diva.sketch.parser2d.RelationUtilities
Return a position constant given a string.
parsePCData() - Method in class diva.util.aelfred.XmlParser
Parse PCDATA.
parsePEReference(boolean) - Method in class diva.util.aelfred.XmlParser
Parse a parameter entity reference.
parsePI() - Method in class diva.util.aelfred.XmlParser
Parse a processing instruction and do a call-back.
parsePoints(String) - Static method in class diva.sketch.recognition.TrainingParser
val is a stream of numbers representing the points in a pen stroke.
parseProlog() - Method in class diva.util.aelfred.XmlParser
Parse the prolog of an XML document.
parseSite(String) - Static method in class diva.sketch.parser2d.RelationUtilities
Return a site constant given a string.
parseTextDecl(boolean) - Method in class diva.util.aelfred.XmlParser
Parse the Encoding PI.
parseUntil(String) - Method in class diva.util.aelfred.XmlParser
Read all data until we find the specified string.
parseWhitespace() - Method in class diva.util.aelfred.XmlParser
Parse whitespace characters, and leave them in the data buffer.
parseXMLDecl(boolean) - Method in class diva.util.aelfred.XmlParser
Parse the XML declaration.
ParsingSceneRecognizer - class diva.sketch.parser2d.ParsingSceneRecognizer.
A grammar-driven scene recognizer that incrementally parses the scene as new tokens are added.
ParsingSceneRecognizer(SceneRecognizer, Grammar2D) - Constructor for class diva.sketch.parser2d.ParsingSceneRecognizer
Construct a new parser with the specified grammar rules, that uses the given child recognizer to perform lower-level recognition.
partiallyContainedEdges(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Return an iterator over the edges in a graph which are partially contained within the given composite node.
PASTE - Static variable in class diva.gui.DefaultActions
 
paste(Clipboard) - Method in class diva.gui.AbstractView
Clone the objects currently on the clipboard, if any, and place them in the given view.
paste(Clipboard) - Method in interface diva.gui.View
Clone the objects currently on the clipboard, if any, and place them in the given view.
paste(Clipboard) - Method in class diva.whiteboard.WhiteboardView
Clone the objects currently on the clipboard, if any, and place them in the given document.
pasteAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Paste" that pastes the current selection from the current document and places it into the application's clipboard.
path - Variable in class diva.util.jester.demo.Foo
 
PathFigure - class diva.canvas.toolbox.PathFigure.
A PathFigure is one that contains a single instance of Shape.
PathFigure(Shape) - Constructor for class diva.canvas.toolbox.PathFigure
Create a new figure with the given shape.
PathFigure(Shape, float) - Constructor for class diva.canvas.toolbox.PathFigure
Create a new figure with the given shape and width.
PathFigure(Shape, Paint, float) - Constructor for class diva.canvas.toolbox.PathFigure
Create a new figure with the given paint and width.
PathGeometry - class diva.canvas.interactor.PathGeometry.
PathGeometry represents a path.
PathGeometry.CloseSegment - class diva.canvas.interactor.PathGeometry.CloseSegment.
CloseSegment is a special type of Vertex, that closes a sub-path.
PathGeometry.CloseSegment(PathGeometry, int) - Constructor for class diva.canvas.interactor.PathGeometry.CloseSegment
Create a new close segment with the given ID
PathGeometry.Vertex - class diva.canvas.interactor.PathGeometry.Vertex.
Vertex is the site that represents vertexes of the path.
PathGeometry.Vertex(PathGeometry, int) - Constructor for class diva.canvas.interactor.PathGeometry.Vertex
Create a new site with the given ID
PathGeometry.Vertex(PathGeometry, int, int) - Constructor for class diva.canvas.interactor.PathGeometry.Vertex
Create a new site with the given ID and control point
PathGeometry(Figure, Shape) - Constructor for class diva.canvas.interactor.PathGeometry
Create a new geometry object on the given figure and with the given initial shape.
PathManipulator - class diva.canvas.interactor.PathManipulator.
A manipulator which attaches grab handles to the sites of the child figure.
PathManipulator() - Constructor for class diva.canvas.interactor.PathManipulator
Construct a new manipulator that uses rectangular grab-handles.
PathManipulator(GrabHandleFactory) - Constructor for class diva.canvas.interactor.PathManipulator
Construct a new manipulator using the given grab-handle factory.
PathRatioFE - class diva.sketch.features.PathRatioFE.
PathRatioFE computes the ratio between a stroke's convex hull path length and its actual path length, (convex_hull/pathlen).
PathRatioFE() - Constructor for class diva.sketch.features.PathRatioFE
 
PEN_COLOR - Static variable in class diva.whiteboard.WhiteboardState
 
PEN_WIDTH - Static variable in class diva.whiteboard.WhiteboardState
 
PenStroke - class diva.sketch.PenStroke.
A first cut at making pen-sketched drawings look like they were actually sketched by a pen.
PenStroke(float) - Constructor for class diva.sketch.PenStroke
Constructs a solid BasicStroke with the specified line width and with default values for the cap and join styles.
PerimeterSite - class diva.canvas.connector.PerimeterSite.
A site that locates itself on the perimeter of a figure.
PerimeterSite(Figure, int) - Constructor for class diva.canvas.connector.PerimeterSite
Create a new site on the given figure with the given ID.
PerimeterTarget - class diva.canvas.connector.PerimeterTarget.
A connector target that returns sites on the perimeter of a figure.
PerimeterTarget() - Constructor for class diva.canvas.connector.PerimeterTarget
 
pick(Iterator, Rectangle2D) - Static method in class diva.canvas.CanvasUtilities
Return the first figure that is hit by the given region.
pick(Rectangle2D) - Method in interface diva.canvas.FigureContainer
Given a rectangle, return the top-most descendent figure that hits it.
pick(Rectangle2D) - Method in class diva.canvas.AbstractFigureContainer
Given a rectangle, return the top-most descendent figure that it hits.
pick(Rectangle2D) - Method in class diva.canvas.CompositeFigure
Get the picked figure.
pick(Rectangle2D) - Method in class diva.canvas.FigureLayer
Get the picked figure.
pick(Rectangle2D) - Method in class diva.canvas.interactor.Manipulator
Given a rectangle, return the top-most thing that hits it.
pick(Rectangle2D) - Method in class diva.canvas.toolbox.BackgroundedCompositeFigure
Get the picked figure.
pickIter(Iterator, Rectangle2D) - Static method in class diva.canvas.CanvasUtilities
Return an iterator over the figures hit by the given region.
place(LayoutTarget, Object, double, double) - Static method in class diva.graph.layout.LayoutUtilities
Place the given node at the given position and reroute its edges.
placeNoReroute(LayoutTarget, Object, double, double) - Static method in class diva.graph.layout.LayoutUtilities
Place the given node at the given position but do not reroute its edges.
play(InputEvent[]) - Method in class diva.util.jester.EventPlayer
Play the given sequence of events into the component.
playGestureModel(SketchModel) - Method in class diva.whiteboard.WhiteboardView
Return a sketch model of the sketched gestures, for debugging.
PointConstraint - interface diva.canvas.interactor.PointConstraint.
An interface implemented by classes that can constrain a point to lie within a certain set of values.
POINTS_TAG - Static variable in class diva.sketch.recognition.TrainingParser
Indicate a set of points in a stroke.
POINTS_TAG - Static variable in class diva.sketch.recognition.SceneParser
Indicates the stroke path for a stroke element.
Polygon2D - class diva.util.java2d.Polygon2D.
A polygon shape.
Polygon2D.Double - class diva.util.java2d.Polygon2D.Double.
The concrete Polygon class that stores coordinates internally as doubles.
Polygon2D.Double() - Constructor for class diva.util.java2d.Polygon2D.Double
Create a new polygon with no coordinates
Polygon2D.Double(double[]) - Constructor for class diva.util.java2d.Polygon2D.Double
Create a new polygon with the given vertices, in the format [x0, y0, x1, y1, ...
Polygon2D.Double(double, double) - Constructor for class diva.util.java2d.Polygon2D.Double
Create a new polygon with a single start point
Polygon2D.Double(int) - Constructor for class diva.util.java2d.Polygon2D.Double
Create a new polygon with space for the given number of vertices.
Polygon2D.Float - class diva.util.java2d.Polygon2D.Float.
The concrete Polygon class that stores coordinates internally as floats.
Polygon2D.Float() - Constructor for class diva.util.java2d.Polygon2D.Float
Create a new polygon with no vertices.
Polygon2D.Float(float[]) - Constructor for class diva.util.java2d.Polygon2D.Float
Create a new polygon with space for the given number of vertices.
Polygon2D.Float(float, float) - Constructor for class diva.util.java2d.Polygon2D.Float
Create a new polygon with a single start point
Polygon2D.Float(int) - Constructor for class diva.util.java2d.Polygon2D.Float
Create a new polygon with space for the given number of vertices.
Polygon2D() - Constructor for class diva.util.java2d.Polygon2D
 
PolygonIterator - class diva.util.java2d.PolygonIterator.
An iterator over Polygon2D.
PolygonIterator(Polygon2D, AffineTransform) - Constructor for class diva.util.java2d.PolygonIterator
Create a new iterator over the given polygon and with the given transform.
PolygonRecognizer - class diva.sketch.toolbox.PolygonRecognizer.
This recognizer recognizes polygons from sessions of individual strokes.
PolygonRecognizer(SceneRecognizer) - Constructor for class diva.sketch.toolbox.PolygonRecognizer
Construct a polygon recognizer with the given child recognizer and the default threshold values DEFAULT_DIST_THRESH, DEFAULT_ANGLE_THRESH, DEFAULT_MIN_CONFIDENCE.
PolygonRecognizer(SceneRecognizer, double, double, double) - Constructor for class diva.sketch.toolbox.PolygonRecognizer
Construct a polygon recognizer with the given child recognizer that transitively invokes low-level recognition, as well as threshold tolerances for the maximum distance squared between endpoints, the maximum angle error over the polygon, and the minimum "line" confidence for each stroke in the polygon.
Polyline2D - class diva.util.java2d.Polyline2D.
A polyline shape.
Polyline2D.Double - class diva.util.java2d.Polyline2D.Double.
The concrete Polyline class that stores coordinates internally as doubles.
Polyline2D.Double() - Constructor for class diva.util.java2d.Polyline2D.Double
Create a new polyline with no coordinates
Polyline2D.Double(double, double, double, double) - Constructor for class diva.util.java2d.Polyline2D.Double
Create a new polyline with two vertices.
Polyline2D.Double(int) - Constructor for class diva.util.java2d.Polyline2D.Double
Create a new polyline with "initSize" number of vertices.
Polyline2D.Double(Polyline2D) - Constructor for class diva.util.java2d.Polyline2D.Double
Copy constructor for efficient copying of Polyline2D.
Polyline2D.Float - class diva.util.java2d.Polyline2D.Float.
The concrete Polyline class that stores coordinates internally as floats.
Polyline2D.Float() - Constructor for class diva.util.java2d.Polyline2D.Float
Create a new polyline with no vertices.
Polyline2D.Float(float, float, float, float) - Constructor for class diva.util.java2d.Polyline2D.Float
Create a new polyline with two vertices.
Polyline2D.Float(int) - Constructor for class diva.util.java2d.Polyline2D.Float
Create a new polyline with "initSize" number of vertices.
Polyline2D.Float(Polyline2D) - Constructor for class diva.util.java2d.Polyline2D.Float
Copy constructor for efficient copying of Polyline2D.
Polyline2D() - Constructor for class diva.util.java2d.Polyline2D
 
PolylineIterator - class diva.util.java2d.PolylineIterator.
An iterator over Polyline2D.
PolylineIterator(Polyline2D, AffineTransform) - Constructor for class diva.util.java2d.PolylineIterator
Create a new iterator over the given polyline and with the given transform.
pop(Graphics2D) - Method in class diva.canvas.TransformContext
Pop this transform off the graphics stack.
popInput() - Method in class diva.util.aelfred.XmlParser
Restore a previous input source.
populateBubble() - Method in class diva.canvas.demo.RootPane
Populate the bubble pane with some simple stuff.
POPUPTRIGGER_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
POSITIVE - Static variable in class diva.sketch.recognition.TrainingModel
Internal constant for the array slot of positive examples.
positiveExampleCount(String) - Method in class diva.sketch.classification.TrainingSet
Returns the number of positive examples for the given type.
positiveExampleCount(String) - Method in class diva.sketch.recognition.TrainingModel
Returns the number of positive examples for the given type.
positiveExamples(String) - Method in class diva.sketch.classification.TrainingSet
An iterator over the positive examples for the given type.
positiveExamples(String) - Method in class diva.sketch.recognition.TrainingModel
An iterator over the positive examples for the given type.
preConcatenate(AffineTransform) - Method in class diva.canvas.TransformContext
Pre-concatenate this transform context with the given tranform.
prependConstraint(PointConstraint) - Method in class diva.canvas.interactor.DragInteractor
Prepend a constraint to the list of constraints on this interactor.
previousPage() - Method in class diva.whiteboard.WhiteboardView
 
PRINT - Static variable in class diva.gui.DefaultActions
 
print(Graphics, PageFormat, int) - Method in class diva.canvas.JCanvas
Print the canvas to a printer, represented by the specified graphics object.
print(Graphics, PageFormat, int) - Method in class diva.whiteboard.WhiteboardView
Print the document to a printer, represented by the specified graphics object.
printAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Print" that prints the current document to the printer, if it implements the Printable or Pageable interface.
printContextTree(FigureLayer) - Static method in class diva.canvas.CanvasDebugUtilities
 
printDirection(int) - Static method in class diva.sketch.parser2d.RelationUtilities
Return a string given a direction constant.
printElements(String, Iterator) - Static method in class diva.util.IteratorUtilities
Print every element of an iterator to stdout.
printElements(String, String, Iterator) - Static method in class diva.util.IteratorUtilities
Print every element of an iterator to stdout.
println(String) - Method in class diva.util.jester.TestHarness
Print to the output stream with the current indent
printMinMax(double) - Static method in class diva.sketch.parser2d.BasicConstraint
Parse a number string, NO_MIN, or NO_MAX into the corresponding range boundary.
printOverlap(int) - Static method in class diva.sketch.parser2d.RelationUtilities
Return a string given a position constant.
printShapeAsCode(String, Shape) - Static method in class diva.util.java2d.ShapeUtilities
Print a Shape to a String, as a code fragment that creates a new GeneralPath.
printSite(int) - Static method in class diva.sketch.parser2d.RelationUtilities
Return a string given a site constant.
probability - Variable in class diva.sketch.parser2d.NativeResults
The confidence associated with this result, between 0 and 100.
processActionStroke(TimedStroke) - Method in class diva.sketch.toolbox.ModedIncrRecognizer
Process an "action" event, performing the appropriate action behavior (e.g.
processActionStroke(TimedStroke) - Method in class diva.sketch.toolbox.PanRecognizer
Emit pan events based on whether the mouse has gone up or down.
processActionStroke(TimedStroke) - Method in class diva.sketch.toolbox.ZoomRecognizer
Emit zoom events based on whether the mouse has gone up or down.
processCommand(TimedStroke) - Method in class diva.whiteboard.CommandInterpreter
 
processingInstruction(String, String) - Method in class diva.util.aelfred.HandlerBase
Handle a processing instruction.
processingInstruction(String, String) - Method in interface diva.util.aelfred.XmlHandler
Processing instruction.
processingInstruction(String, String) - Method in class diva.util.xml.XmlReader.Handler
Handle a processing instruction.
processLayerEvent(LayerEvent) - Method in class diva.canvas.PaneWrapper
Process a layer event.
processLayerEvent(LayerEvent) - Method in class diva.canvas.FigureLayer
Process a layer event.
processLayerEvent(LayerEvent) - Method in class diva.canvas.CanvasPane
Process a layer event that has occurred on this pane.
processLayerEvent(LayerEvent) - Method in class diva.canvas.event.EventLayer
Process a layer event.
processLayerMotionEvent(LayerEvent) - Method in class diva.canvas.FigureLayer
Process a layer motion event.
processMouseEvent(MouseEvent) - Method in class diva.canvas.JCanvas
Process a mouse event.
processMouseMotionEvent(MouseEvent) - Method in class diva.canvas.JCanvas
Process a mouse motion event.
properties() - Method in class diva.util.BasicPropertyContainer
 
PROPERTY_KEY - Static variable in class diva.sketch.features.StrokeBBox
The key to a property table, to store or access the cached bounding box of a stroke.
PROPERTY_KEY - Static variable in class diva.sketch.features.StrokeHull
The key to a stroke's property table, to store or access the cached convex hull of a stroke.
PROPERTY_KEY - Static variable in class diva.sketch.toolbox.StrokeFilter
The key into the property table to store or to access the cached filtered stroke.
propertyChange(PropertyChangeEvent) - Method in class diva.util.PropertyChangeMulticaster
 
propertyChange(PropertyChangeEvent) - Method in class diva.whiteboard.Whiteboard.WBStateListener
 
propertyChange(PropertyChangeEvent) - Method in class diva.whiteboard.WhiteboardView.WBVStateListener
 
PropertyChangeMulticaster - class diva.util.PropertyChangeMulticaster.
A list of PropertyChangeListeners.
PropertyChangeMulticaster() - Constructor for class diva.util.PropertyChangeMulticaster
Create an empty multicaster object.
PropertyContainer - interface diva.util.PropertyContainer.
An object that can be annotated with arbitrary objects whose keys are strings.
PropertyIndexSet - class diva.util.PropertyIndexSet.
PropertyIndexSet is a mechanism for providing efficient dynamic object annotation for data structures that might be used by a number of cooperating packages.
PropertyIndexSet() - Method in class diva.util.PropertyIndexSet
Create an empty index set.
PropertyIndexSet() - Constructor for class diva.util.PropertyIndexSet
 
ProxyIncrLayout - class diva.graph.layout.ProxyIncrLayout.
A proxy layout which forwards all events to a given incremental layout delegate.
ProxyIncrLayout(IncrementalLayout) - Constructor for class diva.graph.layout.ProxyIncrLayout
Construct the proxy with the given target.
ProxyIterator - class diva.util.ProxyIterator.
An iterator that takes another iterator, and iterates over it.
ProxyIterator(Iterator) - Constructor for class diva.util.ProxyIterator
 
PUBLIC_ID - Static variable in class diva.gui.MultipageParser
The public identity of the sketch dtd file.
PUBLIC_ID - Static variable in class diva.sketch.SketchParser
The public identity of the sketch dtd file.
PUBLIC_ID - Static variable in class diva.sketch.recognition.TrainingParser
The public identity of the sketch dtd file.
PUBLIC_ID - Static variable in class diva.sketch.recognition.SceneParser
The public identity of the sketch dtd file.
PUBLIC_ID - Static variable in class diva.util.jester.EventParser
The public identity of the sketch dtd file.
purgeNode(Object, Object, MutableGraphModel) - Static method in class diva.graph.GraphUtilities
Disconnect all of the edges connected to the given node, then remove it from its graph.
push(Graphics2D) - Method in class diva.canvas.TransformContext
Push this transform onto the graphics stack.
pushCharArray(String, char[], int, int) - Method in class diva.util.aelfred.XmlParser
Push a new internal input source.
pushInput(String) - Method in class diva.util.aelfred.XmlParser
Save the current input source onto the stack.
pushString(String, String) - Method in class diva.util.aelfred.XmlParser
This method pushes a string back onto input.
pushURL(String, String, String, Reader, InputStream, String) - Method in class diva.util.aelfred.XmlParser
Push a new external input source.
PZ - Static variable in class diva.sketch.toolbox.PanZoomInterpreter
 
PZ_TRAINING_DATA - Static variable in class diva.canvas.demo.ZoomDemo
The name of the training file that contains "P" and "Z" gestures.
PZ_TRAINING_DATA - Static variable in class diva.sketch.toolbox.PanZoomController
The name of the training file that contains "P" and "Z" gestures.

Q

QuadrantConstraint - class diva.canvas.interactor.QuadrantConstraint.
Keep a point within one of the four quadrants relative to some reference point.
QuadrantConstraint(Point2D, int) - Constructor for class diva.canvas.interactor.QuadrantConstraint
Create a new QuadrantConstraint with the given origin and quadrant.
quadraticForm(double[], double[][]) - Static method in class diva.sketch.classification.RubineClassifier
 
queryIndex(String) - Method in class diva.util.PropertyIndexSet
Returns the index of the property named by slotName.
quickHull(double[], double[]) - Method in class diva.sketch.features.ConvexHull
Quickhull algorithm is similar to Quicksort algorithm.
QUIT - Static variable in class diva.gui.DefaultActions
 
quitAction(Application) - Static method in class diva.gui.DefaultActions
Deprecated. The standard windows term is "Exit," so use exitAction()

R

RandomIncrLayout - class diva.graph.layout.RandomIncrLayout.
Randomly place newly-added nodes within the target viewport.
RandomIncrLayout(LayoutTarget) - Constructor for class diva.graph.layout.RandomIncrLayout
Construct a random layout that lays out in the context of the given layout target.
RandomLayout - class diva.graph.layout.RandomLayout.
A static random layout engine.
RandomLayout(LayoutTarget) - Constructor for class diva.graph.layout.RandomLayout
Simple constructor.
read8bitEncodingDeclaration() - Method in class diva.util.aelfred.XmlParser
Read just the encoding declaration (or XML declaration) at the start of an external entity.
readAttType() - Method in class diva.util.aelfred.XmlParser
Parse the attribute type.
readCh() - Method in class diva.util.aelfred.XmlParser
Read a single character from the readBuffer.
readDataChunk() - Method in class diva.util.aelfred.XmlParser
Read a chunk of data from an external input source.
readExternalIds(boolean) - Method in class diva.util.aelfred.XmlParser
Try reading external identifiers.
readLiteral(int) - Method in class diva.util.aelfred.XmlParser
Read a literal.
readNmtoken(boolean) - Method in class diva.util.aelfred.XmlParser
Read a name or name token.
readyTestSuite(TestSuite) - Method in class diva.util.jester.TestHarness
Get ready to run a test suite.
recognitions() - Method in class diva.sketch.recognition.StrokeRecognitionSet
Return an iterator over the recognized types in sorted order from highest confidence to lowest.
recognizeActionSignal(TimedStroke) - Method in class diva.sketch.toolbox.ModedIncrRecognizer
Recognize the action signal (it is still unknown) and return an indication (to the template algorithm) of what mode the algorithm should revert to.
recognizeActionSignal(TimedStroke) - Method in class diva.sketch.toolbox.PanRecognizer
Perform the recognition of the pan signal gesture, which is a segment that closes on itself.
recognizeActionSignal(TimedStroke) - Method in class diva.sketch.toolbox.ZoomRecognizer
Perform the recognition of the "Z".
record() - Method in class diva.util.jester.EventRecorder
Start recording events on the constructor-specified component.
redo() - Method in class diva.whiteboard.WhiteboardEdits.AddStrokeEdit
 
redo() - Method in class diva.whiteboard.WhiteboardEdits.DeleteStrokeEdit
 
redo() - Method in class diva.whiteboard.WhiteboardEdits.PasteEdit
 
redo() - Method in class diva.whiteboard.WhiteboardEdits.NewPageEdit
 
redo() - Method in class diva.whiteboard.WhiteboardEdits.ReorderPageEdit
 
redo() - Method in class diva.whiteboard.WhiteboardEdits.DeletePageEdit
 
redo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
redo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
redo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
refresh() - Method in class diva.canvas.connector.ConnectorManipulator
Refresh the geometry.
refresh() - Method in class diva.canvas.interactor.Manipulator
Refresh the geometry.
refresh() - Method in class diva.canvas.interactor.CircleManipulator
Refresh the geometry.
refresh() - Method in class diva.canvas.interactor.PathManipulator
Refresh the geometry.
refresh() - Method in class diva.canvas.interactor.BoundsManipulator
Refresh the geometry.
refresh() - Method in class diva.gui.toolbox.JTreePane
Refresh the layout.
refresh() - Method in class diva.gui.toolbox.JShadePane
Refresh the layout.
refreshLayout() - Method in class diva.gui.DesktopContext
Refresh the layout of the internal frames.
region - Variable in class diva.canvas.test.FigureTest.RegionTestCase
 
Relation - interface diva.sketch.parser2d.Relation.
An object that specifies a directed spatial relationship between two scene elements.
RelationConstraint - interface diva.sketch.parser2d.RelationConstraint.
An object that returns whether a pair of elements satisfies constraints on the values of a specified relation.
RelationUtilities - class diva.sketch.parser2d.RelationUtilities.
A set of static utilties for dealing with relationships between rectangles, specifying important sites on rectangles, or angular directions.
RelativeBundle - class diva.resource.RelativeBundle.
A class for managing resources.
RelativeBundle(String, Class, ResourceBundle) - Constructor for class diva.resource.RelativeBundle
Create a new RelativeBundle using the given basename, with the given class as the loader for URL-based resources, and with the given ResourceBundle as the one that gets overridden.
relocate() - Method in interface diva.canvas.connector.Terminal
Tell the terminal to relocate itself because the attachment site (or the figure that owns it) has moved.
relocate() - Method in class diva.canvas.connector.StraightTerminal
Tell the terminal to reposition itself over the attachment site.
relocate() - Method in class diva.canvas.connector.TerminalFigure
Tell the terminal to relocate itself because the attachment site (or the figure that owns it) has moved.
relocate() - Method in interface diva.canvas.interactor.GrabHandle
Reposition the grab-handle to its site
relocate() - Method in class diva.canvas.interactor.MoveHandle
Reposition the grab-handle if necessary
relocate() - Method in class diva.canvas.interactor.BasicGrabHandle
Reposition the grab-handle if necessary
relocateGrabHandles() - Method in class diva.canvas.interactor.Manipulator
Relocate grab-handles to their correct positions.
remove() - Method in class diva.util.IteratorAdapter
 
remove() - Method in class diva.util.NullIterator
 
remove() - Method in class diva.util.FilteredIterator
 
remove() - Method in class diva.util.IteratorIterator
 
remove() - Method in class diva.util.ArrayIterator
 
remove() - Method in class diva.util.ProxyIterator
 
remove() - Method in class diva.util.UnitIterator
 
remove() - Method in class diva.util.CompoundIterator
 
remove() - Method in class diva.util.ReverseIterator
Remove the most recent element.
remove(Figure) - Method in interface diva.canvas.ZList
Remove the given figure from this list.
remove(Figure) - Method in class diva.canvas.BasicZList
Remove the given figure from this container.
remove(Figure) - Method in class diva.canvas.CompositeFigure
Remove the given child from this composite.
remove(Figure) - Method in class diva.canvas.FigureLayer
Remove the given figure from this layer.
remove(GraphListener) - Method in class diva.graph.toolbox.GraphEventMulticaster
Remove the given listener from the list of listeners.
remove(int) - Method in interface diva.canvas.ZList
Remove the figure at the given index from this list.
remove(int) - Method in class diva.canvas.BasicZList
Remove the figure at the given position in the list.
remove(int) - Method in class diva.canvas.CompositeFigure
Remove the figure at the given position in the list.
remove(int) - Method in class diva.canvas.FigureLayer
Remove the figure at the given position in the list.
remove(LayerListener, LayerListener) - Static method in class diva.canvas.event.LayerEventMulticaster
Removes the old layer-listener from layer-listener-l and returns the resulting multicast listener.
remove(LayerMotionListener, LayerMotionListener) - Static method in class diva.canvas.event.LayerEventMulticaster
Removes the old layer-motion-listener from layer-motion-listener-l and returns the resulting multicast listener.
remove(PropertyChangeListener) - Method in class diva.util.PropertyChangeMulticaster
Remove the given listener from the list of listeners.
remove(Shape) - Method in class diva.canvas.OverlayLayer
Remove a shape from the list of shapes in this layer
removeActionListener(ActionListener) - Method in class diva.gui.toolbox.JPseudoFrame
Remove an action listener
removeAll() - Method in class diva.gui.toolbox.JTreePane
Remove all of the entrys.
removeAll() - Method in class diva.gui.toolbox.JShadePane
Remove all of the shades.
removeAllowedType(String) - Method in class diva.sketch.toolbox.RetypingRecognizer
Remove a type that is allowed through by this filter recognizer.
removeAllProperties() - Method in class diva.util.BasicPropertyContainer
 
removeAttribute(String) - Method in class diva.util.xml.XmlElement
Remove an attribute from this element
removeClickListener(Interactor) - Method in class diva.sketch.BasicInterpreter
Removes a click listener that was added with addClickListener().
removeComponent(JComponent) - Method in class diva.gui.toolbox.JPseudoFrame
Remove the given component from its position in the display
removeConnectorListener(ConnectorListener) - Method in class diva.canvas.connector.ConnectorInteractor
Remove a connector listener.
removeConnectorListener(ConnectorListener) - Method in class diva.canvas.connector.ConnectorManipulator
Remove a connector listener from the interactor that is attached to grab-handles.
removeContentPane(JComponent) - Method in class diva.gui.DesktopContext
Remove the given content pane from the display and close.
removeContentPane(JComponent) - Method in interface diva.gui.MDIContext
Remove the given content pane from the display and close.
removeCurrentFigure() - Method in class diva.sketch.toolbox.PanZoomInterpreter
Utility function.
removeCurrentSymbol() - Method in class diva.sketch.BasicInterpreter
Remove the current figure from the figure layer.
removeDecorator(Class) - Method in class diva.canvas.toolbox.TypedDecorator
Remove a decorator.
removeDelta(SceneDelta) - Method in class diva.sketch.recognition.SceneDeltaSet
Remove a scene delta from this set.
removeDocument(Document) - Method in class diva.gui.AbstractApplication
Remove a document from the list of documents currently known by this application, and remove all of the views associated with this document.
removeDocument(Document) - Method in interface diva.gui.Application
This method should only be called by storage policies.
removeDocumentListener(ListDataListener) - Method in class diva.gui.AbstractApplication
Remove a document list listener from this application.
removeDocumentListener(ListDataListener) - Method in interface diva.gui.Application
Remove a document list listener from this application.
removeDropKey(String) - Method in class diva.graph.schematic.GraphDropTarget
Remove a key from the target.
removeEdge(Object) - Method in class diva.graph.GraphController
Remove the given edge.
removeEdge(Object) - Method in class diva.graph.EdgeController
Remove the edge.
removeElement(SceneElement) - Method in class diva.sketch.recognition.BasicScene
Remove an element from the database.
removeElement(SceneElement) - Method in interface diva.sketch.recognition.Scene
Remove an element from the database.
removeElement(XmlElement) - Method in class diva.util.xml.XmlElement
Remove a child element from this element
removeEntry(String) - Method in class diva.gui.toolbox.JTreePane
Remove the entry at the given index.
removeGrabHandle(GrabHandle) - Method in class diva.canvas.interactor.Manipulator
Remove a grab-handle from this manipulator's collection of grab-handles.
removeGraphListener(GraphListener) - Method in class diva.graph.AbstractGraphModel
Remove the given listener from this graph model.
removeGraphListener(GraphListener) - Method in interface diva.graph.GraphModel
Remove a graph listener from the model so that the listener will no longer be notified of changes to the graph.
removeGraphViewListener(GraphViewListener) - Method in class diva.graph.GraphController
Remove the given view listener.
removeHoldListener(Interactor) - Method in class diva.sketch.BasicInterpreter
Removes a hold listener that was added with addHoldListener().
removeInteractor(Interactor) - Method in class diva.canvas.event.EventLayer
Remove the given interactor from this interactor.
removeInteractor(Interactor) - Method in class diva.canvas.interactor.CompositeInteractor
Remove the given interactor from this interactor.
removeLayer(CanvasLayer) - Method in class diva.canvas.toolbox.BasicCanvasPane
Remove the given layer.
removeLayerListener(LayerListener) - Method in class diva.canvas.event.EventLayer
Remove the given layer listener from this dispatcher.
removeLayerListener(LayerListener) - Method in class diva.canvas.interactor.DragInteractor
Remove the given layer listener from this interactor.
removeLayerMotionListener(LayerMotionListener) - Method in class diva.canvas.connector.ConnectorManipulator
Remove the given layer motion listener from this interactor.
removeLayerMotionListener(LayerMotionListener) - Method in class diva.canvas.event.EventLayer
Remove the given layer motion listener from this dispatcher.
removeNode(Object) - Method in class diva.graph.GraphController
Remove the given node.
removeNode(Object) - Method in class diva.graph.NodeController
Remove the node.
removeNode(Object, Object) - Method in interface diva.graph.MutableGraphModel
Delete a node from its parent graph and notify graph listeners with a NODE_REMOVED event.
removeNode(Object, Object) - Method in class diva.graph.modular.MutableModularGraphModel
Delete a node from its parent graph and notify graph listeners with a NODE_REMOVED event.
removePage(Page) - Method in class diva.gui.MultipageModel
Remove the given page from this document and notify listeners.
removePageListener(ListDataListener) - Method in class diva.gui.MultipageModel
Remove a page listener from this document.
removePropertyChangeListener(PropertyChangeListener) - Method in class diva.gui.AbstractApplication
Remove a property change listener from this application.
removePropertyChangeListener(PropertyChangeListener) - Method in class diva.gui.AbstractDocument
Remove a property change listener from this document.
removePropertyChangeListener(PropertyChangeListener) - Method in interface diva.gui.Document
Remove a property change listener from this document.
removePropertyChangeListener(PropertyChangeListener) - Method in interface diva.gui.Application
Remove a property change listener from this application.
removeRecognition(StrokeRecognition) - Method in class diva.sketch.recognition.StrokeRecognitionSet
Remove the given recognition from the set.
removeSelection(Object) - Method in class diva.canvas.interactor.BasicSelectionModel
Remove an object from the selection.
removeSelection(Object) - Method in interface diva.canvas.interactor.SelectionModel
Remove an object from the selection.
removeSelectionInteractor(SelectionInteractor) - Method in class diva.canvas.interactor.SelectionDragger
Remove a selection interactor from the list of valid interactors.
removeSelectionListener(SelectionListener) - Method in class diva.canvas.interactor.BasicSelectionModel
Remove a listener from the list of listeners.
removeSelectionListener(SelectionListener) - Method in interface diva.canvas.interactor.SelectionModel
Remove a listener from the list of listeners.
removeShadeAt(int) - Method in class diva.gui.toolbox.JShadePane
Remove the shade at the given index.
removeSketchListener(SketchListener) - Method in class diva.sketch.SketchModel
Remove the specified SketchListener from the set of listeners.
removeStateListener(PropertyChangeListener) - Method in class diva.whiteboard.WhiteboardState
 
removeStrokeListener(Interactor) - Method in class diva.sketch.BasicInterpreter
Removes a stroke listener that was added with addStrokeListener().
removeSymbol(Symbol) - Method in class diva.sketch.SketchModel
Remove the specified symbol from the model.
removeTypedRenderer(Class) - Method in class diva.graph.toolbox.TypedNodeRenderer
Remove a typed renderer.
removeView(View) - Method in class diva.gui.AbstractApplication
Remove a view from the list of views currently known by this application.
removeView(View) - Method in class diva.gui.MDIApplication
Remove a view from the list of view currently known by this application.
removeView(View) - Method in class diva.gui.MultiWindowApplication
Remove the given view.
removeView(View) - Method in interface diva.gui.Application
This method should only be called by storage policies.
removeViewListener(ListDataListener) - Method in class diva.gui.AbstractApplication
Remove a view list listener from this application.
removeViewListener(ListDataListener) - Method in interface diva.gui.Application
Remove a view list listener from this application.
removeViewListener(ViewListener) - Method in class diva.gui.DesktopContext
Remove a view listener from this frame.
removeViewListener(ViewListener) - Method in interface diva.gui.MDIContext
Remove a view listener from this frame.
render(Object) - Method in interface diva.graph.NodeRenderer
Render a visual representation of the given node.
render(Object) - Method in class diva.graph.basic.BubbleRenderer
Return the rendered visual representation of this node.
render(Object) - Method in class diva.graph.basic.BasicNodeRenderer
Return the rendered visual representation of this node.
render(Object) - Method in class diva.graph.toolbox.TypedNodeRenderer
Return the rendered visual representation of this node by looking up the class of its semantic object.
render(Object, FigureLayer, Site, Site) - Method in class diva.graph.EdgeController
Render the edge on the given layer between the two sites.
render(Object, Site, Site) - Method in interface diva.graph.EdgeRenderer
Render a visual representation of the given edge.
render(Object, Site, Site) - Method in class diva.graph.basic.BasicEdgeRenderer
Render a visual representation of the given edge.
render(Object, Site, Site) - Method in class diva.graph.basic.ArcRenderer
Render a visual representation of the given edge.
render(Object, Site, Site) - Method in class diva.graph.schematic.SchematicGraphController.ManhattanEdgeRenderer
Render a visual representation of the given edge.
renderDeselected(Figure) - Method in class diva.canvas.interactor.BasicSelectionRenderer
Set the rendering of the figure as deselected.
renderDeselected(Figure) - Method in interface diva.canvas.interactor.SelectionRenderer
Set the rendering of the figure as deselected.
renderSelected(Figure) - Method in class diva.canvas.interactor.BasicSelectionRenderer
Set the rendering of the figure as selected.
renderSelected(Figure) - Method in interface diva.canvas.interactor.SelectionRenderer
Set the rendering of the figure as selected.
repaint() - Method in interface diva.canvas.CanvasComponent
Schedule a repaint of the component.
repaint() - Method in class diva.canvas.AbstractFigure
Schedule a repaint of the figure.
repaint() - Method in class diva.canvas.CanvasLayer
Schedule a repaint of this layer.
repaint() - Method in class diva.canvas.CanvasPane
Schedule a repaint of this pane.
repaint() - Method in class diva.canvas.connector.TerminalFigure
Schedule a repaint of the component.
repaint() - Method in class diva.canvas.interactor.Manipulator
Request a repaint of the manipulator and child.
repaint() - Method in class diva.canvas.toolbox.BasicHighlighter
Request a repaint of the figure and highlight.
repaint(DamageRegion) - Method in interface diva.canvas.CanvasComponent
Accept notification that a repaint has occurred somewhere in the tree below this component.
repaint(DamageRegion) - Method in class diva.canvas.JCanvas
Accept notification that a repaint has occurred on in this canvas.
repaint(DamageRegion) - Method in class diva.canvas.AbstractFigure
Schedule a repaint of the figure within the given damage region.
repaint(DamageRegion) - Method in class diva.canvas.AbstractFigureContainer
Accept notification that a repaint has occurred somewhere in the hierarchy below this container.
repaint(DamageRegion) - Method in class diva.canvas.CompositeFigure
Accept notification that a repaint has occurred somewhere in the hierarchy below this container.
repaint(DamageRegion) - Method in class diva.canvas.CanvasLayer
Accept notification that a repaint has occurred somewhere in this layer.
repaint(DamageRegion) - Method in class diva.canvas.PaneWrapper
Accept notification that a repaint has occurred in the wrapped pane.
repaint(DamageRegion) - Method in class diva.canvas.CanvasPane
Accept notification that a repaint has occurred somewhere in this pane.
repaint(DamageRegion) - Method in class diva.canvas.connector.TerminalFigure
Accept notification that a repaint has occurred somewhere in the tree below this component.
repaint(DamageRegion) - Method in class diva.canvas.interactor.Manipulator
Receive repaint notification.
repaint(DamageRegion) - Method in class diva.canvas.toolbox.BasicHighlighter
Receive repaint notification.
repaint(Rectangle2D) - Method in class diva.canvas.OverlayLayer
Schedule a repaint of this layer over the given shape.
repaint(Rectangle2D) - Method in class diva.canvas.FigureLayer
Repaint all figures that intersect the given rectangle.
repaint(Shape) - Method in class diva.canvas.OverlayLayer
Schedule a repaint of this layer over the given shape.
repaintAlready() - Method in class diva.canvas.interactor.Manipulator
Request a repaint of the manipulator and child.
replaceChild(Figure, Figure) - Method in class diva.canvas.AbstractFigureContainer
Replace the first figure with the second.
replaceChild(Figure, Figure) - Method in class diva.canvas.CompositeFigure
Replace the first figure, which must be a child, with the second, which must not be a child.
replaceChild(Figure, Figure) - Method in class diva.canvas.FigureDecorator
Replace the first figure, which must be a child, with the second, which must not be a child.
repositionLabel() - Method in class diva.canvas.connector.AbstractConnector
Tell the connector to reposition its label if it has one.
repositionLabel() - Method in class diva.canvas.connector.StraightConnector
Tell the connector to reposition its label if it has one.
repositionLabel() - Method in class diva.canvas.connector.ArcConnector
Tell the connector to reposition its label if it has one.
repositionLabel() - Method in class diva.canvas.connector.ManhattanConnector
Tell the connector to reposition the text label.
require(char) - Method in class diva.util.aelfred.XmlParser
Require a character to appear, or throw an exception.
require(String) - Method in class diva.util.aelfred.XmlParser
Require a string to appear, or throw an exception.
requireWhitespace() - Method in class diva.util.aelfred.XmlParser
Require whitespace characters.
rerender() - Method in class diva.graph.GraphController
Render the current graph again by recreating the figures for all nodes and edges, but do not alter the connectivity in the graph.
rerenderEdge(Object) - Method in class diva.graph.GraphController
Rerender the given edge by replacing its figure with a new figure.
rerenderNode(Object) - Method in class diva.graph.GraphController
Rerender the given node by replacing its figure with a new figure.
reroute() - Method in class diva.canvas.connector.AbstractConnector
Tell the connector to re-route itself.
reroute() - Method in interface diva.canvas.connector.Connector
Tell the connector to re-route itself.
reroute(Connector, Shape) - Method in class diva.canvas.connector.IncrManhattanRouter
Reroute the given shape, given that both the head the tail sites moved.
reroute(Connector, Shape) - Method in interface diva.canvas.connector.Router
Reroute the given shape, given that both the head the tail sites moved.
reroute(Connector, Shape) - Method in class diva.canvas.connector.BasicManhattanRouter
Reroute the given shape, given that both the head the tail sites moved.
rerouteHead(Connector, Shape) - Method in class diva.canvas.connector.IncrManhattanRouter
Reroute the given Shape, given that the head site moved.
rerouteHead(Connector, Shape) - Method in interface diva.canvas.connector.Router
Reroute the given Shape, given that the head site moved.
rerouteHead(Connector, Shape) - Method in class diva.canvas.connector.BasicManhattanRouter
Reroute the given Shape, given that the head site moved.
rerouteTail(Connector, Shape) - Method in class diva.canvas.connector.IncrManhattanRouter
Reroute the given Shape, given that the tail site moved.
rerouteTail(Connector, Shape) - Method in interface diva.canvas.connector.Router
Reroute the given Shape, given that the tail site moved.
rerouteTail(Connector, Shape) - Method in class diva.canvas.connector.BasicManhattanRouter
Reroute the given Shape, given that the tail site moved.
reset() - Method in class diva.util.LoggableOp
Reset the error counters.
reset() - Method in class diva.util.java2d.Polyline2D
Reset the polyline back to empty.
reset() - Method in class diva.util.java2d.Polygon2D
Reset the polygon back to empty.
reset(int, int) - Method in class diva.canvas.demo.WarpImageFigure
 
reshape() - Method in class diva.canvas.connector.Arrowhead
Recalculate the shape of the decoration.
reshape() - Method in class diva.canvas.connector.Blob
Recalculate the shape of the blob.
resolveEntity(String, String) - Method in class diva.gui.MultipageParser
Resolve an external entity.
resolveEntity(String, String) - Method in class diva.sketch.recognition.TrainingParser
Resolve an external entity.
resolveEntity(String, String) - Method in class diva.util.aelfred.HandlerBase
Resolve an external entity.
resolveEntity(String, String) - Method in interface diva.util.aelfred.XmlHandler
Resolve an External Entity.
resolveEntity(String, String) - Method in class diva.util.xml.XmlReader.Handler
Attempt resolve the public ID representing an XML external entity into a valid string url.
result - Variable in class diva.canvas.test.FigureTest.RegionTestCase
 
RetypingRecognizer - class diva.sketch.toolbox.RetypingRecognizer.
FIXME
RetypingRecognizer(StrokeRecognizer) - Constructor for class diva.sketch.toolbox.RetypingRecognizer
Construct a filter recognizer which uses the given recognizer to perform its low-level recognition.
reverseDirection(int) - Static method in class diva.canvas.CanvasUtilities
Reverse a direction flag.
ReverseIterator - class diva.util.ReverseIterator.
A reverse-order iterator over a List.
ReverseIterator(List) - Constructor for class diva.util.ReverseIterator
Construct a reverse iterator on the given list.
rightPanel - Variable in class diva.canvas.demo.SpaceWindow
 
rightPanel - Variable in class diva.canvas.demo.MainWindow
 
RootPane - class diva.canvas.demo.RootPane.
A pane that illustrates selection.
RootPane() - Constructor for class diva.canvas.demo.RootPane
 
roots() - Method in class diva.sketch.recognition.BasicScene
Return a list of every root node in the database, i.e.
roots() - Method in interface diva.sketch.recognition.Scene
Return a list of every root node in the database, i.e.
rotation - Variable in class diva.canvas.demo.SpaceWindow
 
rotation - Variable in class diva.canvas.demo.MainWindow
 
rotationSlider - Variable in class diva.canvas.demo.SpaceWindow
 
rotationSlider - Variable in class diva.canvas.demo.MainWindow
 
route() - Method in class diva.canvas.connector.AbstractConnector
Tell the connector to route itself completely, using all available information.
route() - Method in class diva.canvas.connector.StraightConnector
Tell the connector to route itself between the current positions of the head and tail sites.
route() - Method in class diva.canvas.connector.ArcConnector
Tell the connector to route itself between the current positions of the head and tail sites.
route() - Method in class diva.canvas.connector.ManhattanConnector
Tell the connector to route itself between the current positions of the head and tail sites.
route() - Method in interface diva.canvas.connector.Connector
Tell the connector to route itself completely, using all available information.
route(Connector) - Method in class diva.canvas.connector.IncrManhattanRouter
Delegate the static routing to the static router.
route(Connector) - Method in interface diva.canvas.connector.Router
Route the given connector, returning a shape of the appropriate type that it can used to draw itself with.
route(Connector) - Method in class diva.canvas.connector.BasicManhattanRouter
Route the given connector, returning a Shape.
route(Object) - Method in class diva.graph.basic.BasicLayoutTarget
Route absolutely the figure associated with the given edge in the target's view.
route(Object) - Method in interface diva.graph.layout.LayoutTarget
Route absolutely the figure associated with the given edge in the target's view.
routeManhattan(ManhattanConnector) - Method in class diva.canvas.connector.IncrManhattanRouter
Delegate the static routing to the static router.
routeManhattan(ManhattanConnector) - Method in interface diva.canvas.connector.ManhattanRouter
Route the given connector, returning a Polyline2D.
routeManhattan(ManhattanConnector) - Method in class diva.canvas.connector.BasicManhattanRouter
Route the given connector, returning a Polyline2D.
Router - interface diva.canvas.connector.Router.
A Router is an object that can be used to help a connector route itself.
routeVisibleEdges(Object, LayoutTarget) - Static method in class diva.graph.layout.LayoutUtilities
Iterate over all the visible edges in the given graph and reroute them.
RubineClassifier - class diva.sketch.classification.RubineClassifier.
This classifier implements the classic linear discriminator.
RubineClassifier() - Constructor for class diva.sketch.classification.RubineClassifier
 
Rule - interface diva.sketch.parser2d.Rule.
A parse rule interface that matches the RHS of a production and generates the LHS.
run() - Method in class diva.util.jester.TestSuite
Initialize the test harness and run all the tests that can be run by this class.
run() - Method in class diva.util.jester.TestCase
Run the test case.
runAll() - Method in class diva.util.jester.TestSuite
Run all the tests that can be run by this class.
runAll() - Method in class diva.util.jester.demo.BarTest
runAll()
runSuite() - Method in class diva.util.jester.TestSuite
Run the tests defined by this test suite.
runSuite() - Method in class diva.util.jester.demo.BarTest
runSuite()
runSuite() - Method in class diva.util.jester.demo.FooTest
runSuite()
runSuite() - Method in class diva.util.test.XMLElementTest
runSuite()
runSuite() - Method in class diva.util.test.XMLParserTest
runSuite()
runSuite() - Method in class diva.util.test.ShapeUtilitiesTest
runSuite()
runSuite() - Method in class diva.util.test.All
runSuite()
runSuite() - Method in class diva.canvas.test.JCanvasTest
runSuite()
runSuite() - Method in class diva.canvas.test.ConcreteFigures
runSuite()
runSuite() - Method in class diva.canvas.test.FigureTest
runSuite()
runSuite() - Method in class diva.canvas.test.All
runSuite()
runTestCase(TestCase) - Method in class diva.util.jester.TestSuite
Run a single test case by passing it to the harness used by this test suite.
runTestCase(TestCase) - Method in class diva.util.jester.TestHarness
Run a single test and log the results

S

sameSupport(SceneElement, SceneElement) - Method in class diva.sketch.recognition.BasicScene
Return true if the supports of the two elements (i.e.
SAVE - Static variable in class diva.gui.DefaultActions
 
SAVE_AS - Static variable in class diva.gui.DefaultActions
 
save() - Method in class diva.graph.schematic.GraphDocument
Save the document to the current file.
save() - Method in class diva.gui.AbstractDocument
Save the document to its current file or URL.
save() - Method in class diva.gui.MultipageDocument
Save the document to the current file.
save() - Method in interface diva.gui.Document
Save the document to its current file or URL.
save() - Method in class diva.gui.tutorial.TextDocument
Save the document to its current file or URL.
save(Document) - Method in class diva.gui.BasicStoragePolicy
Save the document.
save(Document) - Method in class diva.gui.DefaultStoragePolicy
Save the document.
save(Document) - Method in interface diva.gui.StoragePolicy
Save the document.
saveAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Save" that saves the current document.
saveAs(Document) - Method in class diva.gui.BasicStoragePolicy
Save the document to a user-specified location.
saveAs(Document) - Method in class diva.gui.DefaultStoragePolicy
Save the document to a user-specified location.
saveAs(Document) - Method in interface diva.gui.StoragePolicy
Save the document to a user-specified location.
saveAs(Document) - Method in class diva.whiteboard.SketchStoragePolicy
Save the document to a user-specified location.
saveAs(File) - Method in class diva.graph.schematic.GraphDocument
Save the document to the given file.
saveAs(File) - Method in class diva.gui.AbstractDocument
Save the document to the given file.
saveAs(File) - Method in class diva.gui.MultipageDocument
Save the document to the given file.
saveAs(File) - Method in interface diva.gui.Document
Save the document to the given file.
saveAs(File) - Method in class diva.gui.tutorial.TextDocument
Save the document to the given file.
saveAs(URL) - Method in class diva.graph.schematic.GraphDocument
Save the document to the given file.
saveAs(URL) - Method in class diva.gui.AbstractDocument
Save the document to the given file.
saveAs(URL) - Method in class diva.gui.MultipageDocument
Throw an exception, as save to URLs is not supported.
saveAs(URL) - Method in interface diva.gui.Document
Save the document to the given URL.
saveAs(URL) - Method in class diva.gui.tutorial.TextDocument
Save the document to the given URL.
saveAsAction(Application) - Static method in class diva.gui.DefaultActions
Create an action named "Save As" that saves the current document to a different location.
saveAsGIF(File) - Method in class diva.whiteboard.WhiteboardView
Save the current page of the specified document to the file in GIF format.
scale - Variable in class diva.canvas.demo.MainWindow
 
scale(double, double, double, double) - Method in class diva.canvas.CanvasPane
Scale this pane the given amount.
scaleSlider - Variable in class diva.canvas.demo.MainWindow
 
Scene - interface diva.sketch.recognition.Scene.
A scene database that keeps track of multiple interpretations of a set of strokes.
SCENE_ELEMENT_TAG - Static variable in class diva.sketch.recognition.SceneParser
Indicates a scene element.
SCENE_TAG - Static variable in class diva.sketch.recognition.SceneParser
Indicates the file contains a scene.
SceneDelta - class diva.sketch.recognition.SceneDelta.
A class that represents a change in the scene database.
SceneDelta.Additive - class diva.sketch.recognition.SceneDelta.Additive.
An additive version of the SceneDelta class.
SceneDelta.Additive(Scene, TypedData, double, SceneElement[]) - Constructor for class diva.sketch.recognition.SceneDelta.Additive
Construct a new scene delta on the given database, consisting of the given root that was added to the database, as well as the
SceneDelta.Additive(Scene, TypedData, double, SceneElement[], String[]) - Constructor for class diva.sketch.recognition.SceneDelta.Additive
Construct a new scene delta on the given database, consisting of the given root that was added to the database, as well as the
SceneDelta.Subtractive - class diva.sketch.recognition.SceneDelta.Subtractive.
A subtractive version of the SceneDelta class.
SceneDelta.Subtractive(Scene, CompositeElement) - Constructor for class diva.sketch.recognition.SceneDelta.Subtractive
Construct a new scene delta on the given database, consisting of the given root that was added to the database, as well as the
SceneDelta.Subtractive(Scene, CompositeElement, SceneElement[]) - Constructor for class diva.sketch.recognition.SceneDelta.Subtractive
Construct a new scene delta on the given database, consisting of the given root that was added to the database, as well as the
SceneDelta() - Constructor for class diva.sketch.recognition.SceneDelta
 
SceneDeltaSet - class diva.sketch.recognition.SceneDeltaSet.
A collection of deltas that represents the cumulative set of possible changes recognized by a scene recognizer in response to a given event.
SceneDeltaSet() - Constructor for class diva.sketch.recognition.SceneDeltaSet
Construct an empty scene delta set.
SceneElement - interface diva.sketch.recognition.SceneElement.
A scene element is an interface that encompasses various elements that can be found in the scene: stroke elements, composite elements, and choice elements.
SceneParser - class diva.sketch.recognition.SceneParser.
SceneParser parses an XML file representing a single interpretation of a scene into a Scene data structure.
SceneParser() - Constructor for class diva.sketch.recognition.SceneParser
 
SceneRecognizer - interface diva.sketch.recognition.SceneRecognizer.
An incremental recognizer of scene structures.
SceneWriter - class diva.sketch.recognition.SceneWriter.
SceneWriter writes a single interpretation of a scene to an output stream.
SceneWriter() - Constructor for class diva.sketch.recognition.SceneWriter
 
SchematicGraphController - class diva.graph.schematic.SchematicGraphController.
A graph controller for dealing with schematic graphs.
SchematicGraphController.ManhattanEdgeRenderer - class diva.graph.schematic.SchematicGraphController.ManhattanEdgeRenderer.
A class that renders edges as ManhattanEdges.
SchematicGraphController.ManhattanEdgeRenderer(SchematicGraphController) - Constructor for class diva.graph.schematic.SchematicGraphController.ManhattanEdgeRenderer
 
SchematicGraphController(Application) - Constructor for class diva.graph.schematic.SchematicGraphController
Create a new Graph controllers with node and edge controllers suitable for a simple schematic editor.
SchematicGraphModel - class diva.graph.schematic.SchematicGraphModel.
A Basic graph model that only allows connections to nodes that are not composite.
SchematicGraphModel() - Constructor for class diva.graph.schematic.SchematicGraphModel
 
SCRIBBLE_TYPE_ID - Static variable in class diva.sketch.toolbox.ScribbleRecognizer
The type ID that is used when scribble objects are recognized.
ScribbleRecognizer - class diva.sketch.toolbox.ScribbleRecognizer.
A recognizer that recognizes scribble shapes: /\/\/\/\
ScribbleRecognizer() - Constructor for class diva.sketch.toolbox.ScribbleRecognizer
 
second - Variable in class diva.util.jester.TestFailedException
Another of the objects involved in the failed test.
SELECTION_TYPE_ID - Static variable in class diva.whiteboard.CommandInterpreter
 
selectionChanged(SelectionEvent) - Method in interface diva.canvas.interactor.SelectionListener
Called when the selection model has changed.
SelectionDragger - class diva.canvas.interactor.SelectionDragger.
A class that implements rubber-banding on a canvas.
SelectionDragger() - Constructor for class diva.canvas.interactor.SelectionDragger
Create a new SelectionDragger
SelectionDragger(GraphicsPane) - Constructor for class diva.canvas.interactor.SelectionDragger
Create a new SelectionDragger attached to the given graphics pane.
SelectionEvent - class diva.canvas.interactor.SelectionEvent.
An event representing a change in the graph selection model.
SelectionEvent(Object) - Constructor for class diva.canvas.interactor.SelectionEvent
Construct an empty Selection event from the given source.
SelectionEvent(Object, Object[], Object[], Object) - Constructor for class diva.canvas.interactor.SelectionEvent
Construct a new Selection event from the given source, representing the given selection additions, removals, and primary selection.
selectionFilter - Static variable in class diva.canvas.event.MouseFilter
The default selection filter -- accepts button 1 with no modifiers.
selectionInteractor - Variable in class diva.canvas.demo.SelectionPane
The interactor to give to all figures
selectionInteractor - Variable in class diva.canvas.demo.SimplePane
The interactor to give to all figures
selectionInteractor - Variable in class diva.canvas.demo.RootPane
The interactor to give to all figures
SelectionInteractor - class diva.canvas.interactor.SelectionInteractor.
A SelectionInteractor is attached to an object that can be put into and out of a selection.
SelectionInteractor() - Constructor for class diva.canvas.interactor.SelectionInteractor
Create a new SelectionInteractor with a default selection model and a default selection renderer.
SelectionInteractor(SelectionModel) - Constructor for class diva.canvas.interactor.SelectionInteractor
Create a new SelectionInteractor with the given selection model and a null selection renderer.
selectionInteractors() - Method in class diva.canvas.interactor.SelectionDragger
Get the selection interactors
SelectionListener - interface diva.canvas.interactor.SelectionListener.
A model for graph selections which can be listened to.
SelectionModel - interface diva.canvas.interactor.SelectionModel.
A model for graph selections.
SelectionPane - class diva.canvas.demo.SelectionPane.
A pane that illustrates selection.
SelectionPane() - Constructor for class diva.canvas.demo.SelectionPane
 
SelectionRenderer - interface diva.canvas.interactor.SelectionRenderer.
An interface that defines rendering for selections.
SemanticObjectChangeEvent - class diva.util.SemanticObjectChangeEvent.
An event that can be used to communicate when the semantic object changes in a SemanticObjectContainer.
SemanticObjectChangeEvent(Object, Object) - Constructor for class diva.util.SemanticObjectChangeEvent
Construct a GraphEvent with the given source and previous value.
SemanticObjectChangeListener - interface diva.util.SemanticObjectChangeListener.
A listener for changes in the semantic object of a SemanticObjectContainer.
SemanticObjectContainer - interface diva.util.SemanticObjectContainer.
An object which is annotated with a single "semantic object" which is its semantic equivalent in an application.
sessionCompleted(StrokeElement[], Scene) - Method in class diva.sketch.parser2d.ParsingSceneRecognizer
Pass the "session started" information to the child recognizer and handle the results if there are changes in the scene.
sessionCompleted(StrokeElement[], Scene) - Method in class diva.sketch.recognition.StrokeSceneRecognizer
Call the child recognizer and add the results, if any, to the given scene database.
sessionCompleted(StrokeElement[], Scene) - Method in class diva.sketch.recognition.VotingSceneRecognizer
Pass the event to the child recognizers, tally the vote, clear the buffer, and return the consensus.
sessionCompleted(StrokeElement[], Scene) - Method in interface diva.sketch.recognition.SceneRecognizer
 
sessionCompleted(StrokeElement[], Scene) - Method in class diva.sketch.toolbox.PolygonRecognizer
Test whether the given strokes make a polygon.
set(int, Figure) - Method in interface diva.canvas.ZList
Replace the figure at the given index with the passed-in figure.
set(int, Figure) - Method in class diva.canvas.BasicZList
Replace the figure at the given index with the passed-in figure.
set(Object[], Object[], Object) - Method in class diva.canvas.interactor.SelectionEvent
Set the contents of the selection event.
setAction(Action) - Method in class diva.canvas.interactor.ActionInteractor
Set the action associated with this interactor.
setAllVisited(Object, boolean) - Method in class diva.graph.layout.LevelLayout
 
setAnchor(int) - Method in class diva.canvas.toolbox.LabelFigure
Set the point at which this figure is "anchored." This must be one of the positioning constants defined in javax.swing.SwingConstants.
setAnchor(int) - Method in class diva.canvas.toolbox.LabelWrapper
Set the anchor of the label.
setAngle(double) - Method in class diva.canvas.connector.ArcConnector
Set the angle at which the arc leaves the tail figure, in radians.
setAntialiasing(boolean) - Method in class diva.canvas.CanvasPane
Set whether or not to use antialiasing when drawing this pane.
setAppContext(AppContext) - Method in class diva.gui.AbstractApplication
Set the app context that this application draws itself in.
setApplication(Application) - Static method in class diva.gui.ApplicationExceptionHandler
 
setAttachSite(Site) - Method in interface diva.canvas.connector.Terminal
Set the site that the terminal is attached to.
setAttachSite(Site) - Method in class diva.canvas.connector.StraightTerminal
Set the site to which the terminal is attached.
setAttachSite(Site) - Method in class diva.canvas.connector.TerminalFigure
Set the site that the terminal is attached to.
setAttribute(String, String) - Method in class diva.util.xml.XmlElement
Set the attribute with the given name to the given value.
setAttribute(String, String, int, String, String, int) - Method in class diva.util.aelfred.XmlParser
Register an attribute declaration for later retrieval.
setBackground(Figure) - Method in class diva.canvas.PaneWrapper
Set the background figure.
setBackgroundAt(int, Color) - Method in class diva.gui.toolbox.JShadePane
Set the background color at the given index.
setBackgroundEventLayer(EventLayer) - Method in class diva.canvas.GraphicsPane
Set the background event layer
setBackgroundFigure(Figure) - Method in class diva.canvas.CompositeFigure
Set the background figure.
setBackgroundFigure(Figure) - Method in class diva.canvas.toolbox.BackgroundedCompositeFigure
Set the figure that is displayed in the background of this figure and which handles the events that this figure's children do not.
setBackgroundInterpreter(Interactor) - Method in class diva.sketch.BasicSketchController
Set the interpreter that processes strokes in the background event layer.
setBackgroundLayer(CanvasLayer) - Method in class diva.canvas.GraphicsPane
Set the background figure layer
setBendRadius(double) - Method in class diva.canvas.connector.ManhattanConnector
Set the maximum bend radius of the manhattan-routed edge.
setBounds(Rectangle2D) - Method in class diva.canvas.interactor.BoundsGeometry
Set the rectangle that defines this geometry object.
setBounds(Rectangle2D) - Method in class diva.canvas.interactor.BoundsConstraint
Set the bounds
setBounds(Rectangle2D) - Method in class diva.canvas.interactor.CircleGeometry
Set the rectangle that defines this geometry object.
setCanvas(JCanvas) - Method in class diva.canvas.CanvasPane
Set the containing canvas of this pane.
setCanvas(JCanvas) - Method in class diva.canvas.demo.SpaceWindow
Set the displayed canvas component
setCanvas(JCanvas) - Method in class diva.canvas.demo.MainWindow
Set the displayed canvas component
setCanvasPane(CanvasPane) - Method in class diva.canvas.JCanvas
Set the canvas pane contained by this JCanvas.
setChild(Figure) - Method in class diva.canvas.FigureWrapper
Set the child figure.
setChild(Figure) - Method in class diva.canvas.FigureDecorator
Set the child figure.
setChild(Figure) - Method in class diva.canvas.connector.ConnectorManipulator
Set the child figure.
setChild(Figure) - Method in class diva.canvas.interactor.CircleManipulator
Set the child figure.
setChild(Figure) - Method in class diva.canvas.interactor.PathManipulator
Set the child figure.
setChild(Figure) - Method in class diva.canvas.interactor.BoundsManipulator
Set the child figure.
setClipboard(Clipboard) - Method in class diva.gui.AbstractApplication
Set the clipboard that is used by this application.
setClipEnabled(boolean) - Method in class diva.canvas.PaneWrapper
Set the clipping enabled flag.
setClosed(boolean) - Method in class diva.gui.toolbox.JPseudoFrame
Close the frame if the argument is true.
setComponent(JComponent) - Method in class diva.canvas.toolbox.SwingWrapper
Replace the currently wrapped component with the given component and reshape/repaint the figure.
setComponent(JComponent) - Method in class diva.gui.toolbox.JPseudoFrame
Place the given component into the display
setComposite(Composite) - Method in class diva.canvas.toolbox.BasicFigure
Set the color composition operator of this figure.
setComposite(Composite) - Method in class diva.canvas.toolbox.PathFigure
Set the color composition operator of this figure.
setComposite(Composite) - Method in class diva.canvas.toolbox.IconFigure
Set the color composition operator of this figure.
setComposite(Composite) - Method in class diva.canvas.toolbox.VersatileFigure
Set the color composition operator of this figure.
setComposite(Composite) - Method in class diva.canvas.toolbox.PaintedFigure
Set the color composition operator of this figure.
setCompositeFill(Paint) - Method in class diva.graph.basic.BasicNodeRenderer
Set the fill to paint the composites with.
setCompositeScale(double) - Method in class diva.graph.basic.BasicNodeRenderer
Set the scaling factor for the composite nodes.
setCompositeShape(Shape) - Method in class diva.graph.basic.BasicNodeRenderer
Set the shape for composites to be rendered in.
setConnectorTarget(ConnectorTarget) - Method in class diva.canvas.connector.ConnectorManipulator
Set the connector target object
setConnectorTarget(ConnectorTarget) - Method in class diva.graph.EdgeController
Set the target used to find sites on nodes to connect to.
setConsuming(boolean) - Method in class diva.canvas.event.EventLayer
Set the consuming flag of this layer.
setConsuming(boolean) - Method in class diva.canvas.interactor.AbstractInteractor
Set the consuming flag of this layer.
setConsuming(boolean) - Method in class diva.canvas.interactor.SelectionInteractor
Set the consuming flag of this interactor.
setContentPane(Container) - Method in class diva.gui.AppContextDelegate
Set the content pane of the delegate.
setCoolingFactor(double) - Method in class diva.graph.layout.GridAnnealingLayout
Set the cooling factor to be a value greater than 0 and less than or equal to 1.
setCurrentContentPane(JComponent) - Method in class diva.gui.DesktopContext
Set the given content pane to be displayed as the current content pane.
setCurrentContentPane(JComponent) - Method in interface diva.gui.MDIContext
Set the given content pane to be displayed as the current content pane.
setCurrentPage(Page) - Method in class diva.gui.MultipageModel
Set the current page.
setCurrentView(View) - Method in class diva.gui.AbstractApplication
Set the given view to be the current view.
setCurrentView(View) - Method in class diva.gui.MDIApplication
Set the given document to be the current document, and raise the internal window that corresponds to that component.
setCurrentView(View) - Method in interface diva.gui.Application
Set the given view to be the current view.
setDashArray(float[]) - Method in class diva.canvas.connector.AbstractConnector
Set the dash array of this connector.
setDashArray(float[]) - Method in class diva.util.java2d.PaintedPath
Set the dash array of the stroke.
setDecorator(FigureDecorator) - Method in class diva.canvas.interactor.BasicSelectionRenderer
Set the prototype decorator.
setDescription(String) - Method in class diva.gui.ExtensionFileFilter
Sets the human readable description of this filter.
setDirectory(File) - Method in class diva.gui.AbstractStoragePolicy
Set the current browsed directory to that given in the file.
setDirectory(String) - Method in class diva.gui.AbstractStoragePolicy
Set the current browsed directory to that given directory.
setDirty(boolean) - Method in class diva.gui.AbstractDocument
Set the "dirty" flag.
setDirty(boolean) - Method in interface diva.gui.Document
Set the "dirty" flag.
setDisabledIconAt(int, Icon) - Method in class diva.gui.toolbox.JShadePane
Set the disabled icon for the button at the given index.
setDisabledIconAt(String, Icon) - Method in class diva.gui.toolbox.JTreePane
Set the disabled icon for the button at the given index.
setDispatchEnabled(boolean) - Method in class diva.graph.AbstractGraphModel
Turn on/off all event dispatches from this graph model, for use in an inner-loop algorithm.
setDispatchEnabled(boolean) - Method in interface diva.graph.GraphModel
Turn on/off all event dispatches from this graph model, for use in an inner-loop algorithm.
setDocType(String) - Method in class diva.util.xml.XmlDocument
Set the type of this document.
setDocumentFactory(DocumentFactory) - Method in class diva.gui.AbstractApplication
Set the factory that creates new documents for use by subclasses constructors only.
setDotThreshold(double) - Method in class diva.sketch.features.CornerFE
Set the vector dot product threshold which is used to determine whether a cusp is formed between the vectors.
setDoubleBuffered(boolean) - Method in class diva.canvas.JCanvas
Turn double-buffering on this canvas on or off.
setDragInteractor(DragInteractor) - Method in class diva.graph.NodeInteractor
Set the interactor that drags nodes
setDragInteractor(Interactor) - Method in class diva.canvas.interactor.CircleManipulator
Set the drag interactor for figures wrapped by this manipulator.
setDragInteractor(Interactor) - Method in class diva.canvas.interactor.BoundsManipulator
Set the drag interactor for figures wrapped by this manipulator.
setDTD(String) - Method in class diva.util.xml.XmlDocument
Set the DTD of this document.
setDTDPublicID(String) - Method in class diva.util.xml.XmlDocument
Set the DTD of this document by its public ID.
setDTDSystemID(String) - Method in class diva.util.xml.XmlDocument
Set the DTD of this document by its public ID.
setEdgeController(EdgeController) - Method in class diva.graph.SimpleGraphController
Set the edge controller.
setEdgeHead(Object, Object, Object) - Method in interface diva.graph.MutableGraphModel
Connect an edge to the given head node and notify listeners with an EDGE_HEAD_CHANGED event whose source is the given eventSource object.
setEdgeHead(Object, Object, Object) - Method in class diva.graph.modular.MutableModularGraphModel
Connect an edge to the given head node and notify listeners with an EDGE_HEAD_CHANGED event.
setEdgeInteractor(EdgeInteractor) - Method in class diva.graph.EdgeController
Set the interactor given to edge figures.
setEdgeRenderer(EdgeRenderer) - Method in class diva.graph.EdgeController
Set the edge renderer for this view.
setEdgeTail(Object, Object, Object) - Method in interface diva.graph.MutableGraphModel
Connect an edge to the given tail node and notify listeners with an EDGE_TAIL_CHANGED event whose source is the given eventSource object.
setEdgeTail(Object, Object, Object) - Method in class diva.graph.modular.MutableModularGraphModel
Connect an edge to the given tail node and notify listeners with an EDGE_TAIL_CHANGED event.
setEditable(boolean) - Method in class diva.gui.AbstractDocument
Set the "editable" flag.
setEditable(boolean) - Method in interface diva.gui.Document
Set the "editable" flag.
setElement(String, int, String, Hashtable) - Method in class diva.util.aelfred.XmlParser
Register an element.
setEnabled(boolean) - Method in class diva.canvas.PaneWrapper
Set the enabled flag of the wrapped pane.
setEnabled(boolean) - Method in class diva.canvas.FigureLayer
Set the enabled flag of this layer.
setEnabled(boolean) - Method in class diva.canvas.CanvasPane
Set the enabled flag of this pane.
setEnabled(boolean) - Method in class diva.canvas.event.EventLayer
Set the enabled flag of this layer.
setEnabled(boolean) - Method in interface diva.canvas.event.EventAcceptor
Set the enabled flag of this object.
setEnabled(boolean) - Method in class diva.canvas.interactor.AbstractInteractor
Set the enabled flag of this role.
setEnabled(boolean) - Method in interface diva.canvas.interactor.Interactor
Set the enabled flag of this interactor.
setEnabledAt(int, boolean) - Method in class diva.gui.toolbox.JShadePane
Set the enabledness of the shade at the given index.
setEnabledAt(String, boolean) - Method in class diva.gui.toolbox.JTreePane
Set the enabledness of the entry at the given index.
setEnd(ConnectorEnd) - Method in class diva.canvas.connector.StraightTerminal
Set the object drawn at the end of the terminal.
setEntity(String, int, String, String, String, String) - Method in class diva.util.aelfred.XmlParser
Register an entity declaration for later retrieval.
setErrorStream(PrintStream) - Method in class diva.util.LoggableOp
Set the stream to which errors are printed.
setEventLayer(EventLayer) - Method in class diva.canvas.interactor.SelectionDragger
Set the layer that drag events are listened on
setExitAction(Action) - Method in class diva.gui.AppletContext
Set the action that is called back when the user exits the app.
setExitAction(Action) - Method in class diva.gui.ApplicationContext
Set the action that is called back when the user exits the app.
setExitAction(Action) - Method in class diva.gui.AppContextDelegate
Set the exit action of the delegate.
setExitAction(Action) - Method in interface diva.gui.AppContext
Set the action that is called back when the user exits the app.
setExtensionListInDescription(boolean) - Method in class diva.gui.ExtensionFileFilter
Determines whether the extension list (.jpg, .gif, etc) should show up in the human readable description.
setExternalDataEntity(String, String, String, String) - Method in class diva.util.aelfred.XmlParser
Register an external data entity.
setExternalTextEntity(String, String, String) - Method in class diva.util.aelfred.XmlParser
Register an external text entity.
setFactory(Object) - Method in class diva.util.jester.TestSuite
Set the factory used by this test suite.
setFeature(int, double) - Method in class diva.sketch.classification.FeatureSet
 
setFigure(Object, Figure) - Method in class diva.graph.GraphController
Set the figure associated with the given semantic object (node or edge).
setFigureLayer(FigureLayer) - Method in class diva.canvas.interactor.SelectionDragger
Set the layer that figures are selected on
setFigureSource(Figure) - Method in class diva.canvas.event.LayerEvent
Set the figure that the event occurred on.
setFile(File) - Method in class diva.gui.AbstractDocument
Set the file that this document saves itself to.
setFile(File) - Method in interface diva.gui.Document
Set the file that this document saves itself to.
setFile(File) - Method in class diva.util.xml.XmlDocument
Set the file that this document corresponds to.
setFill(Color) - Method in class diva.sketch.StrokeSymbol
Set the fill color of this symbol.
setFill(Color) - Method in class diva.sketch.CompositeSymbol
 
setFill(Color) - Method in interface diva.sketch.Symbol
 
setFillColor(Color) - Method in class diva.sketch.BasicSketchController
Set the color used to fill symbols.
setFillColor(Color) - Method in class diva.whiteboard.WhiteboardState
 
setFilled(boolean) - Method in class diva.canvas.connector.Blob
Test the flag that sets whether to fill the blob.
setFillPaint(Paint) - Method in class diva.canvas.toolbox.BasicFigure
Set the fill paint pattern of this figure.
setFillPaint(Paint) - Method in class diva.canvas.toolbox.LabelFigure
Set the fill paint that this shape is drawn with.
setFillPaint(Paint) - Method in class diva.canvas.toolbox.VersatileFigure
Set the fill paint pattern of this figure.
setFillPaint(Paint) - Method in class diva.graph.basic.BubbleRenderer
Set the fill paint pattern of this figure.
setFillPaint(Paint) - Method in class diva.graph.toolbox.StateBubble
Set the fill paint pattern of this figure.
setFillPaint(Paint) - Method in class diva.util.java2d.PaintedString
Set the fill paint that this shape is drawn with.
setFillPaint(Paint) - Method in class diva.util.java2d.PaintedShape
Set the fill paint for this shape (its fill if it is closed).
setFlipped(boolean) - Method in class diva.canvas.connector.Arrowhead
Set the flag that says the arrowhead is "flipped." This means that the arrowhead is drawn so that the apparent direction of the arrowhead is the same as its normal.
setFont(Font) - Method in class diva.canvas.toolbox.LabelFigure
Set the font.
setFont(Font) - Method in class diva.util.java2d.PaintedString
Set the font.
setFontName(String) - Method in class diva.canvas.toolbox.LabelFigure
Set the font family by name.
setFontName(String) - Method in class diva.util.java2d.PaintedString
Set the font family by name.
setForegroundAt(int, Color) - Method in class diva.gui.toolbox.JShadePane
Set the foreground color at the given index.
setForegroundEventLayer(EventLayer) - Method in class diva.canvas.GraphicsPane
Set the foreground event layer
setForegroundInterpreter(Interactor) - Method in class diva.sketch.BasicSketchController
Set the interpreter that processes strokes in the foreground event layer.
setForegroundLayer(FigureLayer) - Method in class diva.canvas.GraphicsPane
Set the foreground figure layer
setFrameIcon(Icon) - Method in class diva.gui.DesktopContext
Set the icon that is displayed in internal frames.
setFrameIcon(Icon) - Method in interface diva.gui.MDIContext
Set the icon that is displayed in internal frames.
setGeometry(Shape) - Method in interface diva.canvas.GeometricSet
Set the geometry.
setGlassPane(Component) - Method in class diva.gui.AppContextDelegate
Set the glassPane of the delegate.
setGrabHandleFactory(GrabHandleFactory) - Method in class diva.canvas.interactor.Manipulator
Set the grab handle factory.
setGraphModel(BasicGraphModel) - Method in class diva.graph.schematic.GraphDocument
Set the graph data model.
setGraphModel(GraphModel) - Method in class diva.graph.GraphController
Set the graph being viewed.
setGraphPane(GraphPane) - Method in class diva.graph.GraphController
Set the graph pane.
setGraphPane(GraphPane) - Method in class diva.graph.JGraph
Set the graph pane of this widget.
setGridPaint(Paint) - Method in class diva.canvas.toolbox.GridLayer
Set the grid line paint.
setGridStroke(Stroke) - Method in class diva.canvas.toolbox.GridLayer
Set the grid line stroke.
setHandleFilter(MouseFilter) - Method in class diva.canvas.interactor.Manipulator
Set the mouse filter that is set in the grab handle interactor.
setHandleInteractor(DragInteractor) - Method in class diva.canvas.interactor.Manipulator
Set the grab handle interactor.
setHandler(XmlHandler) - Method in class diva.util.aelfred.XmlParser
Set the handler that will receive parsing events.
setHead(Node) - Method in interface diva.graph.modular.Edge
Set the node that this edge points to.
setHead(Object, Object) - Method in interface diva.graph.modular.MutableEdgeModel
Set the node that this edge points to.
setHead(Object, Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel
Connect an edge to the given head node and notify listeners with an EDGE_HEAD_CHANGED event.
setHeadEnd(ConnectorEnd) - Method in class diva.canvas.connector.AbstractConnector
Set the object drawn at the head end of the connector.
setHeadSite(Site) - Method in class diva.canvas.connector.AbstractConnector
Set the site that marks the "head" of the connector, and call headMoved();
setHeadSite(Site) - Method in interface diva.canvas.connector.Connector
Set the site that marks the "head" of the connector.
setIcon(boolean) - Method in class diva.gui.toolbox.JPseudoFrame
Iconify the frame if the argument is true.
setIconAt(int, Icon) - Method in class diva.gui.toolbox.JShadePane
Set the disabled icon for the button at the given index.
setIconAt(String, Icon) - Method in class diva.gui.toolbox.JTreePane
Set the disabled icon for the button at the given index.
setIconImage(Image) - Method in class diva.gui.AppletContext
Set the icon that represents this frame.
setIconImage(Image) - Method in class diva.gui.ApplicationContext
Set the icon that represents this frame.
setIconImage(Image) - Method in class diva.gui.AppContextDelegate
Set the image icon of the delegate.
setIconImage(Image) - Method in interface diva.gui.AppContext
Set the icon that represents this frame.
setImage(Image) - Method in class diva.canvas.toolbox.ImageFigure
Set the figure's image.
setIndex(int, Figure) - Method in interface diva.canvas.ZList
Set the index of the given figure.
setIndex(int, Figure) - Method in class diva.canvas.BasicZList
Set the index of the given figure.
setIndex(int, Figure) - Method in class diva.canvas.CompositeFigure
Set the index of the given figure.
setIndex(int, Figure) - Method in class diva.canvas.FigureLayer
Set the index of the given figure.
setInteractor(Interactor) - Method in class diva.canvas.AbstractFigure
Set the interactor of this figure.
setInteractor(Interactor) - Method in interface diva.canvas.Figure
Set the interactor role of this figure.
setInteractor(Interactor) - Method in class diva.canvas.connector.TerminalFigure
Set the interactor role of this figure.
setInternalEntity(String, String) - Method in class diva.util.aelfred.XmlParser
Register an entity declaration for later retrieval.
setIterationCount(int) - Method in class diva.graph.layout.GridAnnealingLayout
Set the number of iterations to cool over.
setJMenuBar(JMenuBar) - Method in class diva.gui.AppletContext
Set the menu bar that the container uses.
setJMenuBar(JMenuBar) - Method in class diva.gui.ApplicationContext
Set the menu bar that the container uses.
setJMenuBar(JMenuBar) - Method in class diva.gui.AppContextDelegate
Set the menu bar of the delegate.
setJMenuBar(JMenuBar) - Method in interface diva.gui.AppContext
Set the menu bar that the container uses.
setLabel(String) - Method in class diva.canvas.toolbox.IconFigure
Set the label of this figure.
setLabelFigure(LabelFigure) - Method in class diva.canvas.connector.AbstractConnector
Set the LabelFigure of this connector.
setLayeredPane(JLayeredPane) - Method in class diva.gui.AppContextDelegate
Set the layerd pane of the delegate.
setLayerPoint(Point2D) - Method in class diva.canvas.event.LayerEvent
Set the layer position of the event
setLayerSource(CanvasLayer) - Method in class diva.canvas.event.LayerEvent
Set the layer that the event occurred on.
setLayerX(double) - Method in class diva.canvas.event.LayerEvent
Set the layer X position of the event
setLayerY(double) - Method in class diva.canvas.event.LayerEvent
Set the layer Y position of the event
setLayoutMode(int) - Method in class diva.gui.DesktopContext
Set the layout mode.
setLayoutPercentage(double) - Method in class diva.graph.basic.BasicLayoutTarget
Set the percentage of the pane that should be used for layout.
setLayoutTarget(LayoutTarget) - Method in class diva.graph.layout.IncrLayoutAdapter
Set the layout target.
setLayoutTarget(LayoutTarget) - Method in class diva.graph.layout.ProxyIncrLayout
Set the layout target.
setLayoutTarget(LayoutTarget) - Method in class diva.graph.layout.RandomIncrLayout
Set the layout target.
setLayoutTarget(LayoutTarget) - Method in class diva.graph.layout.AbstractGlobalLayout
Set the layout target.
setLayoutTarget(LayoutTarget) - Method in interface diva.graph.layout.GlobalLayout
Set the layout target.
setLength(double) - Method in class diva.canvas.connector.Arrowhead
Set the length of the arrowhead.
setLineWidth(float) - Method in class diva.canvas.connector.AbstractConnector
Set the line width of this connector.
setLineWidth(float) - Method in class diva.canvas.toolbox.BasicFigure
Set the line width of this figure.
setLineWidth(float) - Method in class diva.canvas.toolbox.PathFigure
Set the line width of this figure.
setLineWidth(float) - Method in class diva.canvas.toolbox.VersatileFigure
Set the line width of this figure.
setLineWidth(float) - Method in class diva.sketch.SketchLayer
Finish the current stroke and clear the layer.
setLineWidth(float) - Method in class diva.sketch.StrokeSymbol
Set the line width used to draw this symbol.
setLineWidth(float) - Method in class diva.sketch.CompositeSymbol
 
setLineWidth(float) - Method in class diva.sketch.BasicSketchController
Set the line width used to draw symbols.
setLineWidth(float) - Method in interface diva.sketch.Symbol
 
setLineWidth(float) - Method in interface diva.util.java2d.PaintedGraphic
Set the line width.
setLineWidth(float) - Method in class diva.util.java2d.AbstractPaintedGraphic
Set the line width.
setLineWidth(float) - Method in class diva.util.java2d.PaintedPath
Set the line width.
setLineWidth(float) - Method in class diva.util.java2d.PaintedShape
Set the line width.
setLocation(TransformContext, double, double) - Method in class diva.canvas.connector.AutonomousSite
Set the transform context and the location within the new transform context.
setMagRatioThreshold(double) - Method in class diva.sketch.features.CornerFE
Set the magnitude ratio threshold which is used to determine whether a cusp is indeed a corner.
setMainComponent(JComponent) - Method in class diva.gui.BasicFrame
Set the main component.
setMaximizeMode(boolean) - Method in class diva.gui.DesktopContext
Set the maximize mode.
setMaximum(boolean) - Method in class diva.gui.toolbox.JPseudoFrame
Minimize the frame if the argument is false.
setMenuFactory(MenuFactory) - Method in class diva.gui.toolbox.MenuCreator
Set the menu factory.
setMessage(String) - Method in class diva.gui.toolbox.JStatusBar
Set the message displayed in the status bar.
setMinConfidence(double) - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Set the minimum confidence classifications that will get passed on when the child recognizers vote.
setMinConfidence(double) - Method in class diva.sketch.recognition.VotingSceneRecognizer
Set the minimum confidence classifications that will get passed on when the child recognizers vote.
setMinimumSize(double) - Method in class diva.canvas.interactor.BoundsGeometry
Set the minimum size of the rectangle.
setMinimumSize(double) - Method in class diva.canvas.interactor.CircleGeometry
Set the minimum size of the rectangle.
setMode(String) - Method in class diva.whiteboard.WhiteboardState
 
setModel(Object) - Method in interface diva.gui.Page
Set the model of the page.
setModel(Object) - Method in class diva.gui.BasicPage
Set the model of the page.
setMotionEnabled(boolean) - Method in class diva.canvas.interactor.AbstractInteractor
Set the motion enabled flag of this role.
setMouseFilter(MouseFilter) - Method in class diva.canvas.event.LayerMouseAdapter
 
setMouseFilter(MouseFilter) - Method in class diva.canvas.interactor.AbstractInteractor
Set the mouse filter of this interactor.
setMouseFilter(MouseFilter) - Method in interface diva.canvas.interactor.Interactor
Set the mouse filter of this interactor.
setMoveCount(int) - Method in class diva.graph.layout.GridAnnealingLayout
Set the number of moves per iteration.
setNHighest(int) - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Set the "n-highest" value, which says that the n-highest classifications will get passed on when the child recognizers vote.
setNHighest(int) - Method in class diva.sketch.recognition.VotingSceneRecognizer
Set the "n-highest" value, which says that the n-highest classifications will get passed on when the child recognizers vote.
setNodeController(NodeController) - Method in class diva.graph.SimpleGraphController
Set the node controller.
setNodeFill(Paint) - Method in class diva.graph.basic.BasicNodeRenderer
Set the fill to paint the nodes with.
setNodeInteractor(Interactor) - Method in class diva.graph.NodeController
Set the node interactor for this controller
setNodeRenderer(NodeRenderer) - Method in class diva.graph.NodeController
Set the node renderer for this controller
setNodeShape(Shape) - Method in class diva.graph.basic.BasicNodeRenderer
Set the shape for nodes to be rendered in.
setNormal(double) - Method in interface diva.canvas.Site
Set the normal "out" of the site.
setNormal(double) - Method in class diva.canvas.SiteDecorator
Set the normal "out" of the site.
setNormal(double) - Method in class diva.canvas.AbstractSite
Set the normal "out" of the site.
setNormal(double) - Method in class diva.canvas.connector.Arrowhead
Set the normal of the decoration.
setNormal(double) - Method in class diva.canvas.connector.Blob
Set the normal of the blob.
setNormal(double) - Method in interface diva.canvas.connector.ConnectorEnd
Set the normal of the connector end.
setNormal(double) - Method in class diva.canvas.connector.FixedNormalSite
 
setNotation(String, String, String) - Method in class diva.util.aelfred.XmlParser
Register a notation declaration for later retrieval.
setOrientation(int) - Method in class diva.graph.layout.LevelLayout
Set the orientation in which the graph is to be layed out, either VERTICAL or HORIZONTAL.
setOrigin(double, double) - Method in class diva.canvas.connector.Arrowhead
Set the origin of the decoration.
setOrigin(double, double) - Method in class diva.canvas.connector.Blob
Set the end-point of the blob.
setOrigin(double, double) - Method in interface diva.canvas.connector.ConnectorEnd
Set the origin of the decoration.
setOrigin(Point2D) - Method in class diva.canvas.interactor.QuadrantConstraint
Set the origin
setOutline(Color) - Method in class diva.sketch.StrokeSymbol
Set the outline color of this symbol.
setOutline(Color) - Method in class diva.sketch.CompositeSymbol
 
setOutline(Color) - Method in interface diva.sketch.Symbol
 
setOutputStream(PrintStream) - Method in class diva.util.jester.TestHarness
Set the output stream
setOverlayLayer(OverlayLayer) - Method in class diva.canvas.GraphicsPane
Set the overlay layer
setOverlayLayer(OverlayLayer) - Method in class diva.canvas.interactor.SelectionDragger
Set the layer that drag rectangles are drawn on
setPadding(double) - Method in class diva.canvas.toolbox.LabelFigure
Set the "padding" around the text.
setPaint(Paint) - Method in class diva.canvas.OverlayLayer
Set the paint.
setPaint(Paint) - Method in class diva.canvas.connector.StraightTerminal
Set the stroke paint pattern of this terminal.
setPalettePane(JComponent) - Method in class diva.gui.DesktopContext
Set the palette pane of the context to the given component.
setParent(CanvasComponent) - Method in class diva.canvas.AbstractFigure
Set the parent of this figure.
setParent(CanvasComponent) - Method in interface diva.canvas.Figure
Set the parent of this figure.
setParent(CanvasComponent) - Method in class diva.canvas.CanvasLayer
Set the parent component of this layer.
setParent(CanvasComponent) - Method in class diva.canvas.CanvasPane
Set the parent component of this pane.
setParent(CanvasComponent) - Method in class diva.canvas.connector.TerminalFigure
Set the parent of this figure.
setParent(CanvasComponent) - Method in class diva.canvas.toolbox.TypedDecorator
Throw an exception.
setParent(CanvasComponent) - Method in class diva.canvas.toolbox.SwingWrapper
Set the parent of this figure.
setParent(Graph) - Method in interface diva.graph.modular.Node
Set the graph parent of this node.
setParent(Object, Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicNodeModel
Set the graph parent of the given node.
setParent(Object, Object) - Method in interface diva.graph.modular.MutableNodeModel
Set the graph parent of the given node.
setParent(XmlElement) - Method in class diva.util.xml.XmlElement
Set the parent element of this element.
setPCData(String) - Method in class diva.util.xml.XmlElement
Set the text of this element to the given string.
setPenColor(Color) - Method in class diva.sketch.SketchLayer
Finish the current stroke and clear the layer.
setPenColor(Color) - Method in class diva.sketch.BasicSketchController
Set the color used to draw symbols.
setPenColor(Color) - Method in class diva.whiteboard.WhiteboardState
 
setPenWidth(float) - Method in class diva.whiteboard.WhiteboardState
 
setPickHalo(double) - Method in class diva.canvas.FigureLayer
Set the "pick halo".
setPoint(Point2D) - Method in class diva.canvas.interactor.PathGeometry.Vertex
Set the point location of the site
setPoint(Point2D) - Method in class diva.canvas.interactor.PathGeometry.CloseSegment
Set the point location of the site
setPoint(Point2D) - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Set the point location of the site
setPoint(Point2D) - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Set the point location of the site
setPreferredSize(Dimension) - Method in class diva.canvas.JCanvas
Set the preferred size of this JCanvas.
setProperty(Object, String, Object) - Method in interface diva.graph.GraphModel
Set the property of the object associated with the given property name.
setProperty(Object, String, Object) - Method in class diva.graph.modular.ModularGraphModel
Set the property of the object associated with the given property name.
setProperty(Object, String, Object) - Method in class diva.graph.modular.BasicModularGraphModel
Set the property of the object associated with the given property name.
setProperty(String, Object) - Method in class diva.sketch.recognition.TimedStroke
Set the property corresponding to the given key.
setProperty(String, Object) - Method in interface diva.util.PropertyContainer
Set the property corresponding to the given key.
setProperty(String, Object) - Method in class diva.util.BasicPropertyContainer
Set the property corresponding to the given key.
setPrototypeDecorator(FigureDecorator) - Method in class diva.canvas.interactor.SelectionInteractor
Set the prototype decorator for selected figures.
setQuadrant(int) - Method in class diva.canvas.interactor.QuadrantConstraint
Set the quadrant
setRandomizedPlacement(boolean) - Method in class diva.graph.layout.LevelLayout
Set whether or not placement will be randomized.
setRepainting(boolean) - Method in class diva.canvas.interactor.Manipulator
Set the repainting flag.
setRoot(XmlElement) - Method in class diva.util.xml.XmlDocument
Set the root element of this document.
setRouter(ManhattanRouter) - Method in class diva.canvas.connector.ManhattanConnector
Set the router and route again.
setSelectedIndex(int) - Method in class diva.gui.toolbox.JShadePane
Sets the selected index for this shade pane and causes the pane to refresh its display to show the selected pane's component.
setSelectedTitle(String) - Method in class diva.gui.toolbox.JTreePane
Sets the selected index for this entry pane and causes the pane to refresh its display to show the selected pane's component.
setSelectionFilter(MouseFilter) - Method in class diva.canvas.interactor.SelectionInteractor
Set the mouse filter that controls when this selection filter is activated.
setSelectionFilter(MouseFilter) - Method in class diva.canvas.interactor.SelectionDragger
Set the mouse filter that controls when this selection filter is activated.
setSelectionManipulator(Manipulator) - Method in class diva.canvas.interactor.SelectionInteractor
Deprecated. Use setPrototypeDecorator instead
setSelectionManipulator(Manipulator) - Method in class diva.canvas.toolbox.BasicController
Set the prototype selection manipulator.
setSelectionManipulator(Manipulator) - Method in class diva.sketch.toolbox.PanZoomController
Set the prototype selection manipulator.
setSelectionMode(int) - Method in class diva.canvas.interactor.BasicSelectionModel
Set the selection mode, either SINGLE_SELECTION or MULTIPLE_SELECTION.
setSelectionMode(int) - Method in interface diva.canvas.interactor.SelectionModel
Set the selection mode, either SINGLE_SELECTION or MULTIPLE_SELECTION.
setSelectionModel(SelectionModel) - Method in class diva.canvas.interactor.SelectionInteractor
Set the selection model.
setSelectionModel(SelectionModel) - Method in class diva.graph.GraphController
Set the default selection model.
setSelectionModel(SelectionModel) - Method in class diva.sketch.SketchController
Set the default selection model.
setSelectionRenderer(SelectionRenderer) - Method in class diva.canvas.interactor.SelectionInteractor
Set the selection renderer.
setSelectionRenderer(SelectionRenderer) - Method in class diva.canvas.toolbox.BasicController
Set the selection renderer.
setSelectionRenderer(SelectionRenderer) - Method in class diva.sketch.toolbox.PanZoomController
Set the selection renderer.
setSelectiveEnabled(boolean) - Method in class diva.canvas.interactor.DragInteractor
Set the flag that says that the interactor responds only if the figure being moused on is selected.
setSemanticObject(Object) - Method in interface diva.util.SemanticObjectContainer
Set the semantic object.
setSemanticObject(Object, Object) - Method in interface diva.graph.GraphModel
Set the semantic object corresponding to the given node, composite, or edge.
setSemanticObject(Object, Object) - Method in class diva.graph.modular.ModularGraphModel
Set the semantic object correspoding to the given node, edge, or composite.
setSemanticObject(Object, Object) - Method in class diva.graph.modular.BasicModularGraphModel
Set the semantic object correspoding to the given node, edge, or composite.
setShape(Shape) - Method in class diva.canvas.interactor.PathGeometry
Set the shape that defines this geometry object.
setShape(Shape) - Method in interface diva.canvas.interactor.ShapedFigure
Set the shape of this figure.
setShape(Shape) - Method in class diva.canvas.interactor.BoundsGeometry
Set the shape that defines this geometry object.
setShape(Shape) - Method in interface diva.canvas.interactor.Geometry
Set the shape that defines this geometry object.
setShape(Shape) - Method in class diva.canvas.interactor.CircleGeometry
Set the shape that defines this geometry object.
setShape(Shape) - Method in class diva.canvas.toolbox.BasicFigure
Set the shape of this figure.
setShape(Shape) - Method in class diva.canvas.toolbox.PathFigure
Set the shape of this figure.
setShape(Shape) - Method in class diva.canvas.toolbox.VersatileFigure
Set the shape of this figure.
setSite(Site) - Method in interface diva.canvas.interactor.GrabHandle
Set the site to which this grab-handle is attached.
setSite(Site) - Method in class diva.canvas.interactor.MoveHandle
Set the set to which this grab-handle is attached.
setSite(Site) - Method in class diva.canvas.interactor.BasicGrabHandle
Set the set to which this grab-handle is attached.
setSite1(int) - Method in class diva.sketch.parser2d.DeltaXRelation
Set the site for the first rectangle.
setSite1(int) - Method in class diva.sketch.parser2d.DeltaYRelation
Set the site for the first rectangle.
setSite1(int) - Method in class diva.sketch.parser2d.AngleRelation
Set the site for the first rectangle.
setSite1(int) - Method in class diva.sketch.parser2d.DistanceRelation
Set the site for the first rectangle.
setSite2(int) - Method in class diva.sketch.parser2d.DeltaXRelation
Set the site for the second rectangle.
setSite2(int) - Method in class diva.sketch.parser2d.DeltaYRelation
Set the site for the second rectangle.
setSite2(int) - Method in class diva.sketch.parser2d.AngleRelation
Set the site for the second rectangle.
setSite2(int) - Method in class diva.sketch.parser2d.DistanceRelation
Set the site for the second rectangle.
setSize(double, double) - Method in class diva.canvas.CanvasPane
Set the size of this pane, in logical coordinates.
setSize(float) - Method in interface diva.canvas.interactor.GrabHandle
Set the "size" of the grab-handle.
setSize(float) - Method in class diva.canvas.interactor.MoveHandle
Set the "size" of the grab-handle.
setSize(float) - Method in class diva.canvas.interactor.BasicGrabHandle
Set the "size" of the grab-handle.
setSize(int) - Method in class diva.canvas.toolbox.LabelFigure
Set the font size.
setSize(int) - Method in class diva.util.java2d.PaintedString
Set the font size.
setSize(int, int) - Method in class diva.gui.AppletContext
Do nothing.
setSize(int, int) - Method in class diva.gui.AppContextDelegate
Set the size in the delegate.
setSize(int, int) - Method in interface diva.gui.AppContext
Set the size of the context.
setSize(Point2D) - Method in class diva.canvas.CanvasPane
Set the size of this pane, in logical coordinates.
setSizeUnit(double) - Method in class diva.canvas.connector.Blob
Set the size unit.
setSketchModel(SketchModel) - Method in class diva.sketch.BasicSketchController
Set the sketch model in this controller.
setSketchPane(GraphicsPane) - Method in class diva.sketch.SketchController
Set the graphics pane.
setSketchPane(SketchPane) - Method in class diva.sketch.JSketch
Set the sketch pane which is used to display and handle sketched input.
setSnapHalo(double) - Method in class diva.canvas.connector.ConnectorManipulator
Set the snap halo.
setSparseness(double) - Method in class diva.graph.layout.GridAnnealingLayout
Set the sparseness of this layout.
setStateType(int) - Method in class diva.graph.toolbox.StateBubble
Set the type of the state
setStoragePolicy(StoragePolicy) - Method in class diva.gui.AbstractApplication
Set the storage policy of this application, for use by subclass constructors only
setString(String) - Method in class diva.canvas.toolbox.LabelFigure
Set the string.
setString(String) - Method in class diva.util.java2d.PaintedString
Set the string.
setStroke(BasicStroke) - Method in class diva.canvas.toolbox.BasicFigure
Set the stroke of this figure.
setStroke(BasicStroke) - Method in class diva.canvas.toolbox.PathFigure
Set the stroke of this figure.
setStroke(BasicStroke) - Method in class diva.graph.toolbox.StateBubble
Set the stroke of this figure.
setStroke(Stroke) - Method in class diva.canvas.OverlayLayer
Set the stroke.
setStroke(Stroke) - Method in class diva.canvas.connector.StraightTerminal
Set the stroke of this terminal.
setStroke(Stroke) - Method in class diva.canvas.connector.AbstractConnector
Set the stroke of this connector.
setStroke(Stroke) - Method in class diva.canvas.toolbox.VersatileFigure
Set the stroke of this figure.
setStroke(Stroke) - Method in class diva.util.java2d.PaintedPath
Set the stroke
setStroke(TimedStroke) - Method in class diva.sketch.StrokeSymbol
Set the timed stroke of this symbol.
setStrokePaint(Paint) - Method in class diva.canvas.connector.AbstractConnector
Set the stroke paint pattern of this connector.
setStrokePaint(Paint) - Method in class diva.canvas.toolbox.BasicFigure
Set the stroke paint pattern of this figure.
setStrokePaint(Paint) - Method in class diva.canvas.toolbox.PathFigure
Set the stroke paint of this figure.
setStrokePaint(Paint) - Method in class diva.canvas.toolbox.VersatileFigure
Set the stroke paint pattern of this figure.
setStrokePaint(Paint) - Method in class diva.graph.basic.BubbleRenderer
Set the stroke paint pattern of this figure.
setStrokePaint(Paint) - Method in class diva.graph.toolbox.StateBubble
Set the stroke paint pattern of this figure.
setStrokePaint(Paint) - Method in class diva.util.java2d.PaintedShape
Set the stroke paint for this shape (its outline if it is closed).
setStyle(int) - Method in class diva.canvas.connector.Blob
Set the style.
setStyle(int) - Method in class diva.canvas.toolbox.LabelFigure
Set the font style.
setStyle(int) - Method in class diva.util.java2d.PaintedString
Set the font style.
setTail(Node) - Method in interface diva.graph.modular.Edge
Set the node that this edge stems from.
setTail(Object, Object) - Method in interface diva.graph.modular.MutableEdgeModel
Set the node that this edge stems from.
setTail(Object, Object) - Method in class diva.graph.modular.BasicModularGraphModel.BasicEdgeModel
Connect an edge to the given tail node and notify listeners with an EDGE_TAIL_CHANGED event.
setTailEnd(ConnectorEnd) - Method in class diva.canvas.connector.AbstractConnector
Set the object drawn at the tail end of the connector.
setTailSite(Site) - Method in class diva.canvas.connector.AbstractConnector
Set the site that marks the "tail" of the connector.
setTailSite(Site) - Method in interface diva.canvas.connector.Connector
Set the site that marks the "tail" of the connector.
setTargetArray(Object[]) - Method in class diva.canvas.interactor.DragInteractor
Set the target that the interactor operates on.
setTargetHighlighter(LayerMotionListener) - Method in class diva.canvas.connector.ConnectorManipulator
Set the listener that highlights target objects.
setTargetProperty(String, String) - Method in class diva.canvas.connector.ConnectorManipulator
Set the drop target property and value.
setTestHarness(TestHarness) - Method in class diva.util.jester.TestSuite
Set the test harness used by this test suite.
setText(String) - Method in class diva.gui.tutorial.TextDocument
Set the text contained by this document.
setText(String) - Method in class diva.sketch.toolbox.TextData
Set the text string contained by this data.
setTitle(String) - Method in class diva.gui.AppletContext
Set the title of the context.
setTitle(String) - Method in interface diva.gui.Page
Set the title of the page.
setTitle(String) - Method in class diva.gui.ApplicationContext
Set the title of the context.
setTitle(String) - Method in class diva.gui.AppContextDelegate
Set the title of the context.
setTitle(String) - Method in class diva.gui.BasicPage
Set the title of the page.
setTitle(String) - Method in class diva.gui.MultipageModel
Set the title of this model to the given title.
setTitle(String) - Method in interface diva.gui.AppContext
Set the title of the context.
setTitleAt(int, String) - Method in class diva.gui.toolbox.JShadePane
Set the title string at the given index.
setTitleAt(String, String) - Method in class diva.gui.toolbox.JTreePane
Set the title string at the given index.
setToggleFilter(MouseFilter) - Method in class diva.canvas.interactor.SelectionInteractor
Set the mouse filter that controls the toggling of selections.
setToggleFilter(MouseFilter) - Method in class diva.canvas.interactor.SelectionDragger
Set the mouse filter that controls the toggling of selections.
setToolTipText(String) - Method in class diva.canvas.AbstractFigure
Set the tooltip string for this figure.
setToolTipText(String) - Method in interface diva.canvas.Figure
Set the tooltip string for this figure.
setToolTipText(String) - Method in class diva.canvas.connector.TerminalFigure
Set the tool tip for this figure.
setTransform(AffineTransform) - Method in class diva.canvas.TransformContext
Set the transform that maps local coordinates into the parent's coordinates.
setTransform(AffineTransform) - Method in class diva.canvas.PaneWrapper
Set the transform of the internal pane, relative to the external one.
setTransform(AffineTransform) - Method in class diva.canvas.CanvasPane
Set the transform that maps logical coordinates into the parent's coordinates.
setTransform(AffineTransform) - Method in class diva.canvas.toolbox.LabelFigure
Change the transform of this label.
setTransform(AffineTransform) - Method in class diva.util.java2d.PaintedString
Change the transform of this label.
setType(String) - Method in class diva.util.xml.XmlElement
Set the type of this element
setup(LayerEvent) - Method in class diva.canvas.connector.ConnectorInteractor
Initialize the interactor when a grab-handle is grabbed.
setup(LayerEvent) - Method in class diva.canvas.interactor.DragInteractor
Initialize the interactor before a mouse-pressed event is processed.
setup(LayerEvent) - Method in class diva.canvas.interactor.BoundedDragInteractor
Adjust the bounds so that the bounding-box of the target stays within the region.
setupInteraction() - Method in class diva.canvas.tutorial.ArcTutorial
Set up the interaction so that the connectors stay glued to the two figures.
setupInteraction() - Method in class diva.canvas.tutorial.ConnectorTutorial
Set up the interaction so that the connectors stay glued to the two figures.
setURL(URL) - Method in class diva.gui.AbstractDocument
Set the URL that this document saves itself to.
setURL(URL) - Method in interface diva.gui.Document
Set the URL that this document saves itself to.
setURL(URL) - Method in class diva.util.xml.XmlDocument
Set the URL of this document.
setUserObject(Object) - Method in class diva.canvas.AbstractFigure
Set the user object.
setUserObject(Object) - Method in class diva.canvas.connector.TerminalFigure
Set the user object.
setUserObject(Object) - Method in interface diva.util.UserObjectContainer
Set the user object.
setVerbose(boolean) - Method in class diva.util.LoggableOp
Set the verbose mode flag.
setVertexPaint(Paint) - Method in class diva.canvas.toolbox.GridLayer
Set the vertex point paint.
setVertexShape(Shape) - Method in class diva.canvas.toolbox.GridLayer
Set the vertex point shape.
setViewport(JViewport) - Method in class diva.gui.toolbox.JPanner
Set the target component that is being wrapped.
setVisible(boolean) - Method in class diva.canvas.AbstractFigure
Set the visibility flag of this figure.
setVisible(boolean) - Method in class diva.canvas.OverlayLayer
Set the visibility flag of this layer.
setVisible(boolean) - Method in class diva.canvas.FigureLayer
Set the visibility flag of this layer.
setVisible(boolean) - Method in interface diva.canvas.VisibleComponent
Set the visibility flag of this object.
setVisible(boolean) - Method in class diva.canvas.connector.TerminalFigure
Set the visibility flag of this object.
setVisible(boolean) - Method in class diva.canvas.toolbox.GridLayer
Set the visibility flag of this layer.
setVisible(boolean) - Method in class diva.gui.AppletContext
Do nothing.
setVisible(boolean) - Method in class diva.gui.AbstractApplication
Set the visibility of the application's frame
setVisible(boolean) - Method in class diva.gui.ApplicationContext
Set the frame's visibility.
setVisible(boolean) - Method in class diva.gui.AppContextDelegate
Invoke the delegate's setvisible().
setVisible(boolean) - Method in interface diva.gui.Application
Set the visibility of the application's frame
setVisible(boolean) - Method in interface diva.gui.AppContext
Set whether the context is visible.
setVisited(Object, boolean) - Method in class diva.graph.layout.LevelLayout
 
setVisualObject(Object) - Method in interface diva.util.VisualObjectContainer
Set the visual object.
setWritable(boolean) - Method in class diva.gui.AbstractDocument
Set the "writable" flag.
setWritable(boolean) - Method in interface diva.gui.Document
Set the "writable" flag.
setX(int, double) - Method in class diva.util.java2d.Polyline2D
Set the given X-coordinate.
setX(int, double) - Method in class diva.util.java2d.Polyline2D.Float
Set the given X-coordinate.
setX(int, double) - Method in class diva.util.java2d.Polyline2D.Double
Set the given X-coordinate.
setX(int, double) - Method in class diva.util.java2d.Polygon2D
Set the given X-coordinate.
setX(int, double) - Method in class diva.util.java2d.Polygon2D.Float
Set the given X-coordinate.
setX(int, double) - Method in class diva.util.java2d.Polygon2D.Double
Set the given X-coordinate.
setXMLVersion(String) - Method in class diva.util.xml.XmlWriter
Set the XML version string.
setXY(Object, int, int) - Method in class diva.graph.layout.GridAnnealingLayout
Set the logical X, Y positions of the given node.
setY(int, double) - Method in class diva.util.java2d.Polyline2D
Set the given Y-coordinate
setY(int, double) - Method in class diva.util.java2d.Polyline2D.Float
Set the given Y-coordinate
setY(int, double) - Method in class diva.util.java2d.Polyline2D.Double
Set the given Y-coordinate
setY(int, double) - Method in class diva.util.java2d.Polygon2D
Set the given Y-coordinate
setY(int, double) - Method in class diva.util.java2d.Polygon2D.Float
Set the given Y-coordinate
setY(int, double) - Method in class diva.util.java2d.Polygon2D.Double
Set the given Y-coordinate
setZoomFactor(double) - Method in class diva.sketch.toolbox.ZoomRecognizer
Set the zoom scaling factor for this recognizer.
shape - Variable in class diva.util.java2d.AbstractPaintedGraphic
The shape being painted.
ShapedFigure - interface diva.canvas.interactor.ShapedFigure.
An interface that defines the setShape() method.
shapeEquals(Shape, Shape, double) - Static method in class diva.util.jester.TestUtilities
Test if two shapes are equal.
shapes() - Method in class diva.canvas.OverlayLayer
Return an iterator over the shapes currently in this layer.
ShapeUtilities - class diva.util.java2d.ShapeUtilities.
A set of utilities on Java2D shapes.
ShapeUtilities() - Constructor for class diva.util.java2d.ShapeUtilities
 
ShapeUtilitiesTest - class diva.util.test.ShapeUtilitiesTest.
A test suite for ShapeUtilities.
ShapeUtilitiesTest(TestHarness) - Constructor for class diva.util.test.ShapeUtilitiesTest
Constructor
showError(String, Exception) - Method in class diva.gui.AbstractApplication
Show an error in a dialog box with stack trace.
showError(String, Exception) - Method in interface diva.gui.Application
Report that an exception occured to the user.
showException(Component, Exception, String) - Static method in class diva.gui.GUIUtilities
Display an exception in a nice user-oriented way.
showFrame(JInternalFrame) - Method in class diva.gui.toolbox.JPseudoFrame
Show the pseudo-frame with the contents of the given internal frame.
showStackTrace(Component, Exception) - Static method in class diva.gui.GUIUtilities
Display a stack trace dialog.
showStackTrace(Component, Exception, String) - Static method in class diva.gui.GUIUtilities
Display a stack trace dialog.
showStatus(String) - Method in class diva.gui.AppletContext
Show the given status string at the bottom of the context.
showStatus(String) - Method in class diva.gui.ApplicationContext
Show the given status string at the bottom of the context.
showStatus(String) - Method in class diva.gui.AppContextDelegate
Show the status in the delegate.
showStatus(String) - Method in class diva.gui.DesktopContext
Show the given status string in the context.
showStatus(String) - Method in interface diva.gui.AppContext
Show the given status string at the bottom of the context.
SimpleData - class diva.sketch.recognition.SimpleData.
An instance of typed data that represents dynamic, user-defined types.
SimpleData(String) - Constructor for class diva.sketch.recognition.SimpleData
Construct a simple data with the given dynamic identifier.
SimpleGraphController - class diva.graph.SimpleGraphController.
A simple graph controller, which works well if all nodes have the same interaction, and all edges have the same interaction.
SimpleGraphController() - Constructor for class diva.graph.SimpleGraphController
Create a new basic controller with default node and edge controllers.
SimplePane - class diva.canvas.demo.SimplePane.
A pane containing instances of some basic figures.
SimplePane() - Constructor for class diva.canvas.demo.SimplePane
Constructor
SimpleTutorial - class diva.canvas.tutorial.SimpleTutorial.
A simple example showing how to construct a canvas and place some simple figures on it.
SimpleTutorial() - Constructor for class diva.canvas.tutorial.SimpleTutorial
Create a JCanvas and put it into a window
SineFirstLastPtsFE - class diva.sketch.features.SineFirstLastPtsFE.
SineFirstLastPtsFE computes the sine of the angle between the first and the last points of a stroke.
SineFirstLastPtsFE() - Constructor for class diva.sketch.features.SineFirstLastPtsFE
 
SineInitAngleFE - class diva.sketch.features.SineInitAngleFE.
SineInitAngleFE computes the sine of the initial angle of a stroke.
SineInitAngleFE() - Constructor for class diva.sketch.features.SineInitAngleFE
 
SINGLE_SELECTION - Static variable in interface diva.canvas.interactor.SelectionModel
Allow only one screen object to be selected at a time.
SingleRule - class diva.sketch.parser2d.SingleRule.
A parse rule implementation that matches the RHS of a production and generates the LHS.
SingleRule(String, String, String) - Constructor for class diva.sketch.parser2d.SingleRule
A utility constructor which simply takes strings with single words separated by whitespace, separates these strings into arrays, and calls the standard array constructor.
Site - interface diva.canvas.Site.
A site represents a point on a figure.
SiteDecorator - class diva.canvas.SiteDecorator.
This is an abstract decorator for sites.
SiteDecorator(Site) - Constructor for class diva.canvas.SiteDecorator
Create a new decorator on the given site.
sites() - Method in class diva.canvas.interactor.BoundsGeometry
Return an iteration over the sites in this geometry object.
sites() - Method in class diva.canvas.interactor.CircleGeometry
Return an iteration over the sites in this geometry object.
siteX(Rectangle2D, int) - Static method in class diva.sketch.parser2d.RelationUtilities
Return the X coordinate of the given site for the given rectangle.
siteX(SceneElement, int) - Static method in class diva.sketch.parser2d.AbstractRule
Return the X coordinate of the given site for the given rectangle.
siteY(Rectangle2D, int) - Static method in class diva.sketch.parser2d.RelationUtilities
Return the Y coordinate of the given site for the given rectangle.
siteY(SceneElement, int) - Static method in class diva.sketch.parser2d.AbstractRule
Return the Y coordinate of the given site for the given rectangle.
SKETCH_MODE - Static variable in class diva.whiteboard.WhiteboardState
 
SketchController - class diva.sketch.SketchController.
SketchController controls the behavior of a SketchPane.
SketchController() - Constructor for class diva.sketch.SketchController
Create a SketchController without a parent pane.
SketchDemo - class diva.sketch.demo.SketchDemo.
This application illustrates how to use the diva.sketch framework to build a sketch-based application.
SketchDemo(AppContext) - Constructor for class diva.sketch.demo.SketchDemo
Construct a new sketch-based editor.
SketchDemoApplet - class diva.sketch.demo.SketchDemoApplet.
An applet version of the sketch demo.
SketchDemoApplet() - Constructor for class diva.sketch.demo.SketchDemoApplet
 
SketchDocument - class diva.whiteboard.SketchDocument.
A class representing sketch-structured documents.
SketchDocument.Factory - class diva.whiteboard.SketchDocument.Factory.
SketchDocument.Factory is a factory for sketch documents.
SketchDocument.Factory() - Constructor for class diva.whiteboard.SketchDocument.Factory
 
SketchDocument(Application) - Constructor for class diva.whiteboard.SketchDocument
Construct an untitled sketch document that is owned by the given application.
SketchDocument(Application, String) - Constructor for class diva.whiteboard.SketchDocument
Construct a sketch document with the given title that is owned by the given application.
SketchEvent - class diva.sketch.SketchEvent.
A SketchEvent is generated by sketch model when the model has been modified.
SketchEvent(int, Object) - Constructor for class diva.sketch.SketchEvent
Create a SketchEvent object with the specified event type and the symbol that initiates this event.
SketchLayer - class diva.sketch.SketchLayer.
A layer class that is specialized to make sketching strokes fast.
SketchLayer() - Constructor for class diva.sketch.SketchLayer
Create a new layer that is not in a pane.
SketchLayer(CanvasPane) - Constructor for class diva.sketch.SketchLayer
Create a new layer within the given pane.
SketchListener - interface diva.sketch.SketchListener.
A listener for modifications to a sketch model, which is updated by SketchEvent when symbols in the model are added, deleted or modified.
SketchModel - class diva.sketch.SketchModel.
A SketchModel stores sketched symbols.
SketchModel() - Constructor for class diva.sketch.SketchModel
Create a SketchModel with no symbols.
SketchPad - class diva.apps.SketchPad.
A SketchPad provides an editor that allows the user to try out the strokes created during the training session.
SketchPad.SketchPadInterpreter - class diva.apps.SketchPad.SketchPadInterpreter.
This interpreter uses a basic recognizer to recognize strokes.
SketchPad.SketchPadInterpreter(SketchPad, BasicSketchController) - Constructor for class diva.apps.SketchPad.SketchPadInterpreter
 
SketchPad() - Constructor for class diva.apps.SketchPad
Create a SketchPad, set the title of the frame and initialize the layout of the frame.
SketchPane - class diva.sketch.SketchPane.
SketchPane is a sketching surface which can be customized to perform recognition for a particular application.
SketchPane() - Constructor for class diva.sketch.SketchPane
Create a new sketch pane with a BasicSketchController to process the input sketch.
SketchPane(SketchController) - Constructor for class diva.sketch.SketchPane
Create a new sketch pane with the given controller that controls the behavior of this pane.
SketchParser - class diva.sketch.SketchParser.
SketchParser parses a sketch file in XML format (.sk) and produces a SketchModel data structure.
SketchParser() - Constructor for class diva.sketch.SketchParser
 
SketchStoragePolicy - class diva.whiteboard.SketchStoragePolicy.
A SketchStoragePolicy implements methods of closing, opening, and saving sketch documents.
SketchStoragePolicy() - Constructor for class diva.whiteboard.SketchStoragePolicy
 
SketchTest1 - class diva.whiteboard.SketchTest1.
 
SketchTest1.LocalMouseListener - class diva.whiteboard.SketchTest1.LocalMouseListener.
 
SketchTest1.LocalMouseListener(SketchTest1) - Constructor for class diva.whiteboard.SketchTest1.LocalMouseListener
 
SketchTest1.LocalMouseMotionListener - class diva.whiteboard.SketchTest1.LocalMouseMotionListener.
 
SketchTest1.LocalMouseMotionListener(SketchTest1) - Constructor for class diva.whiteboard.SketchTest1.LocalMouseMotionListener
 
SketchTest1() - Constructor for class diva.whiteboard.SketchTest1
 
SketchTest2 - class diva.whiteboard.SketchTest2.
 
SketchTest2.LocalSketchPane - class diva.whiteboard.SketchTest2.LocalSketchPane.
 
SketchTest2.LocalSketchPane(SketchTest2) - Constructor for class diva.whiteboard.SketchTest2.LocalSketchPane
Create a new sketch pane with the given controller that controls the behavior of this pane.
SketchTest2.SketchInteractor - class diva.whiteboard.SketchTest2.SketchInteractor.
 
SketchTest2.SketchInteractor(SketchTest2) - Constructor for class diva.whiteboard.SketchTest2.SketchInteractor
 
SketchTest2() - Constructor for class diva.whiteboard.SketchTest2
 
SketchTest3 - class diva.whiteboard.SketchTest3.
 
SketchTest3.LocalSketchPane - class diva.whiteboard.SketchTest3.LocalSketchPane.
 
SketchTest3.LocalSketchPane(SketchTest3) - Constructor for class diva.whiteboard.SketchTest3.LocalSketchPane
Create a new sketch pane with the given controller that controls the behavior of this pane.
SketchTest3.SketchInteractor - class diva.whiteboard.SketchTest3.SketchInteractor.
 
SketchTest3.SketchInteractor(SketchTest3) - Constructor for class diva.whiteboard.SketchTest3.SketchInteractor
 
SketchTest3() - Constructor for class diva.whiteboard.SketchTest3
 
SketchWriter - class diva.sketch.SketchWriter.
Given a sketch model, SketchWriter writes out the model to a character stream.
SketchWriter() - Constructor for class diva.sketch.SketchWriter
Construct an empty sketch writer.
skipUntil(String) - Method in class diva.util.aelfred.XmlParser
Skip all data until we find the specified string.
skipWhitespace() - Method in class diva.util.aelfred.XmlParser
Skip whitespace characters.
SML - Static variable in class diva.whiteboard.SketchStoragePolicy
The file extension for sketch documents.
snapped() - Method in interface diva.canvas.interactor.PointConstraint
Ask the point constraint call to constrain() cause a "snap." A snap means that the output value of the point changed from one region to another.
snapped() - Method in class diva.canvas.interactor.QuadrantConstraint
Return false.
snapped() - Method in class diva.canvas.interactor.BoundsConstraint
Return false.
snapToSite(FigureContainer, Rectangle2D) - Method in class diva.canvas.connector.ConnectorInteractor
Pick a site using the connector target and then snap to it.
SOUTH - Static variable in class diva.sketch.parser2d.AbstractRule
The south direction constant.
SOUTH - Static variable in class diva.sketch.parser2d.RelationUtilities
The south direction constant.
SOUTH_EAST - Static variable in class diva.sketch.parser2d.AbstractRule
The south-east direction constant.
SOUTH_EAST - Static variable in class diva.sketch.parser2d.RelationUtilities
The south-east direction constant.
SOUTH_WEST - Static variable in class diva.sketch.parser2d.AbstractRule
The south-west direction constant.
SOUTH_WEST - Static variable in class diva.sketch.parser2d.RelationUtilities
The south-west direction constant.
SpaceDemo - class diva.canvas.demo.SpaceDemo.
A mock-up illustrating the concepts of navigation through an information space.
SpaceDemo(String) - Constructor for class diva.canvas.demo.SpaceDemo
Constructor
SpaceWindow - class diva.canvas.demo.SpaceWindow.
SpaceWindow is the JFrame that is used to display the complete demo.
SpaceWindow(String) - Constructor for class diva.canvas.demo.SpaceWindow
 
startDocument() - Method in class diva.util.aelfred.HandlerBase
Handle the start of the document.
startDocument() - Method in interface diva.util.aelfred.XmlHandler
Start the document.
startDocument() - Method in class diva.util.xml.XmlReader.Handler
Start a document.
startElement(String) - Method in class diva.gui.MultipageParser
Handle the start of an element.
startElement(String) - Method in class diva.util.aelfred.HandlerBase
Handle the start of an element.
startElement(String) - Method in interface diva.util.aelfred.XmlHandler
Start an element.
startElement(String) - Method in class diva.util.xml.XmlReader.Handler
Start an element.
startExternalEntity(String) - Method in class diva.util.aelfred.HandlerBase
Handle the start of an external entity.
startExternalEntity(String) - Method in interface diva.util.aelfred.XmlHandler
Begin an external entity.
startExternalEntity(String) - Method in class diva.util.xml.XmlReader.Handler
Move down one level in the entity tree.
startStroke() - Method in class diva.sketch.toolbox.PanZoomInterpreter
This method is invoked upon mouse down.
startStroke(double, double) - Method in class diva.sketch.SketchLayer
Start a stroke at the given point.
startStroke(LayerEvent) - Method in class diva.sketch.BasicInterpreter
This method is invoked upon mouse down.
StateBubble - class diva.graph.toolbox.StateBubble.
A Figure that is customized for representing state bubbles.
StateBubble(double, double, double, double) - Constructor for class diva.graph.toolbox.StateBubble
Create a new figure at the given coordinates.
StateBubble(double, double, double, double, Paint) - Constructor for class diva.graph.toolbox.StateBubble
Create a new figure at the given coordinates and with the given fill.
step(int, int) - Method in class diva.canvas.demo.WarpImageFigure
 
stop() - Method in class diva.util.jester.EventRecorder
Stop recording events on the constructor-specified component and return the recorded events from this session as an array.
StoragePolicy - interface diva.gui.StoragePolicy.
StoragePolicy captures the notion of how an application deals with persistent storage.
StraightConnector - class diva.canvas.connector.StraightConnector.
A Connector that draws itself in a straight line.
StraightConnector(Site, Site) - Constructor for class diva.canvas.connector.StraightConnector
Create a new straight connector between the given sites.
StraightTerminal - class diva.canvas.connector.StraightTerminal.
A terminal that consists of a straight line plus an additional decoration at the connection end of the terminal.
StraightTerminal() - Constructor for class diva.canvas.connector.StraightTerminal
Create a new terminal which is not attached to anything.
StraightTerminal(Site) - Constructor for class diva.canvas.connector.StraightTerminal
Create a new terminal attached to the given site.
StraightTerminal(Site, Stroke, Paint) - Constructor for class diva.canvas.connector.StraightTerminal
Create a new terminal attached to the given site, with the given stroke and paint.
STRING_FLAVOR - Static variable in class diva.graph.schematic.GraphDropTarget
 
STRING_FLAVOR - Static variable in class diva.whiteboard.ThumbnailView
 
stroke - Variable in class diva.canvas.connector.Blob
The stroke.
stroke - Variable in class diva.util.java2d.AbstractPaintedGraphic
The stroke.
STROKE_ELEMENT_TAG - Static variable in class diva.sketch.recognition.SceneParser
Indicates a stroke element.
STROKE_NAME - Static variable in class diva.sketch.recognition.StrokeSceneRecognizer
The string ID to access the child of a scene element.
STROKE_TAG - Static variable in class diva.sketch.SketchParser
Indicate a stroke symbol.
StrokeBBox - class diva.sketch.features.StrokeBBox.
StrokeBBox computes the bounding box of a stroke and stores the result in the stroke's property table.
StrokeBBox() - Constructor for class diva.sketch.features.StrokeBBox
 
strokeCompleted() - Method in class diva.sketch.toolbox.PanZoomController
Re-enable the selection, now that gesturing is completed.
strokeCompleted(StrokeElement, Scene) - Method in class diva.sketch.parser2d.ParsingSceneRecognizer
Pass the "stroke completed" information to the child recognizer and handle the results if there are changes in the scene.
strokeCompleted(StrokeElement, Scene) - Method in class diva.sketch.recognition.StrokeSceneRecognizer
Call the child recognizer and add the results, if any, to the given scene database.
strokeCompleted(StrokeElement, Scene) - Method in class diva.sketch.recognition.VotingSceneRecognizer
Pass the event to the child recognizers, tally the vote, clear the buffer, and return the consensus.
strokeCompleted(StrokeElement, Scene) - Method in interface diva.sketch.recognition.SceneRecognizer
 
strokeCompleted(StrokeElement, Scene) - Method in class diva.sketch.toolbox.PolygonRecognizer
 
strokeCompleted(TimedStroke) - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Pass the event to the child recognizers, tally the vote, clear the buffer, and return the consensus.
strokeCompleted(TimedStroke) - Method in interface diva.sketch.recognition.StrokeRecognizer
Invoked when a stroke is completed.
strokeCompleted(TimedStroke) - Method in class diva.sketch.recognition.BasicStrokeRecognizer
Perform recognition on the given completed stroke.
strokeCompleted(TimedStroke) - Method in class diva.sketch.toolbox.ModedIncrRecognizer
Invoked when a stroke is completed.
strokeCompleted(TimedStroke) - Method in class diva.sketch.toolbox.RetypingRecognizer
Perform filtered recognition based on the LLR's recognition on the stroke.
strokeCompleted(TimedStroke) - Method in class diva.sketch.toolbox.ScribbleRecognizer
Compute the ratio of the sum of the absolute values of the delta y's and the sum of the absolute values of the delta x's, the aspect ratio, and the number of corners.
strokeCompleted(TimedStroke) - Method in class diva.sketch.toolbox.CachingStrokeRecognizer
Perform recognition in the target if the given stroke hasn't changed since the last time this method was called.
StrokeElement - interface diva.sketch.recognition.StrokeElement.
A scene entry that represents a single stroke with no type information.
StrokeFilter - class diva.sketch.toolbox.StrokeFilter.
An object which filters a pen stroke in order to reduce the complexity in the raw data points.
StrokeFilter() - Constructor for class diva.sketch.toolbox.StrokeFilter
 
StrokeHull - class diva.sketch.features.StrokeHull.
StrokeHull computes the convex hull of a stroke and stores the result in the stroke's property table.
StrokeHull() - Constructor for class diva.sketch.features.StrokeHull
 
strokeModified(StrokeElement, Scene) - Method in class diva.sketch.parser2d.ParsingSceneRecognizer
Pass the "stroke modified" information to the child recognizer and handle the results if there are changes in the scene.
strokeModified(StrokeElement, Scene) - Method in class diva.sketch.recognition.StrokeSceneRecognizer
Call the child recognizer and add the results, if any, to the given scene database.
strokeModified(StrokeElement, Scene) - Method in class diva.sketch.recognition.VotingSceneRecognizer
Pass the event to the child recognizers, tally the vote, and return the consensus.
strokeModified(StrokeElement, Scene) - Method in interface diva.sketch.recognition.SceneRecognizer
 
strokeModified(StrokeElement, Scene) - Method in class diva.sketch.toolbox.PolygonRecognizer
 
strokeModified(TimedStroke) - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Pass the event to the child recognizers, tally the vote, and return the consensus.
strokeModified(TimedStroke) - Method in interface diva.sketch.recognition.StrokeRecognizer
Invoked when a stroke has been modified, for example, points have been added to the stroke.
strokeModified(TimedStroke) - Method in class diva.sketch.recognition.BasicStrokeRecognizer
Returns NO_RECOGNITION; BasicStrokeRecognizer only operates on completed strokes.
strokeModified(TimedStroke) - Method in class diva.sketch.toolbox.ModedIncrRecognizer
Invoked when a stroke has been modified, for example, points have been added to the stroke.
strokeModified(TimedStroke) - Method in class diva.sketch.toolbox.RetypingRecognizer
Perform filtered recognition based on the LLR's recognition on the stroke.
strokeModified(TimedStroke) - Method in class diva.sketch.toolbox.ScribbleRecognizer
Return NO_RECOGNITION; this recognizer is not incremental.
strokeModified(TimedStroke) - Method in class diva.sketch.toolbox.CachingStrokeRecognizer
Perform recognition in the target if the given stroke hasn't changed since the last time this method was called.
strokeModified(TimedStroke) - Method in class diva.sketch.toolbox.PanZoomInterpreter.LocalRecognizer
 
strokePaint - Variable in class diva.util.java2d.AbstractPaintedGraphic
The stroke paint.
StrokePathLengthFE - class diva.sketch.features.StrokePathLengthFE.
StrokePathLengthFE computes the path length of a stroke by enumerating over the points in the stroke and summing up the distances between every two consecutive points.
StrokePathLengthFE() - Constructor for class diva.sketch.features.StrokePathLengthFE
 
StrokeRecognition - class diva.sketch.recognition.StrokeRecognition.
An interpretation of a stroke as a data/confidence pair.
StrokeRecognition(TypedData, double) - Constructor for class diva.sketch.recognition.StrokeRecognition
Construct a new recognition using the given data and confidence.
StrokeRecognitionSet - class diva.sketch.recognition.StrokeRecognitionSet.
The result of a stroke recognizer's computations: a set of mutually exclusive interpretations of a stroke, expressed by StrokeRecognition objects as typed data with confidences.
StrokeRecognitionSet() - Constructor for class diva.sketch.recognition.StrokeRecognitionSet
Construct an empty recognition set.
StrokeRecognitionSet(StrokeRecognition[]) - Constructor for class diva.sketch.recognition.StrokeRecognitionSet
Construct a recognition set that contains the given recognitions.
StrokeRecognizer - interface diva.sketch.recognition.StrokeRecognizer.
A recognizer responds to changes in strokes and returns recognition sets (interpretations of the stroke or of some or all of the scene) based on these changes.
strokes() - Method in class diva.sketch.recognition.BasicScene
Return a list the stroke elements of the scene in the order that they were added to the database.
strokes() - Method in interface diva.sketch.recognition.Scene
Return a list the stroke elements of the scene in the order that they were added to the database.
StrokeSceneRecognizer - class diva.sketch.recognition.StrokeSceneRecognizer.
A scene recognizer that uses adapts a given stroke recognizer so that the results of its single-stroke recognition get added to the scene properly.
StrokeSceneRecognizer(StrokeRecognizer) - Constructor for class diva.sketch.recognition.StrokeSceneRecognizer
Construct a scene recognizer using the given stroke recognizer to perform single-stroke recognition.
strokeStarted(StrokeElement, Scene) - Method in class diva.sketch.parser2d.ParsingSceneRecognizer
Pass the "stroke started" information to the child recognizer and handle the results if there are changes in the scene.
strokeStarted(StrokeElement, Scene) - Method in class diva.sketch.recognition.StrokeSceneRecognizer
Call the child recognizer and add the results, if any, to the given scene database.
strokeStarted(StrokeElement, Scene) - Method in class diva.sketch.recognition.VotingSceneRecognizer
Pass the event to the child recognizers, tally the vote, and return the consensus.
strokeStarted(StrokeElement, Scene) - Method in interface diva.sketch.recognition.SceneRecognizer
 
strokeStarted(StrokeElement, Scene) - Method in class diva.sketch.toolbox.PolygonRecognizer
 
strokeStarted(TimedStroke) - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Pass the event to the child recognizers, tally the vote, and return the consensus.
strokeStarted(TimedStroke) - Method in interface diva.sketch.recognition.StrokeRecognizer
Invoked when a stroke starts.
strokeStarted(TimedStroke) - Method in class diva.sketch.recognition.BasicStrokeRecognizer
Returns NO_RECOGNITION; BasicStrokeRecognizer only operates on completed strokes.
strokeStarted(TimedStroke) - Method in class diva.sketch.toolbox.ModedIncrRecognizer
Invoked when a stroke starts.
strokeStarted(TimedStroke) - Method in class diva.sketch.toolbox.RetypingRecognizer
Perform filtered recognition based on the LLR's recognition on the stroke.
strokeStarted(TimedStroke) - Method in class diva.sketch.toolbox.ScribbleRecognizer
Return NO_RECOGNITION; this recognizer is not incremental.
strokeStarted(TimedStroke) - Method in class diva.sketch.toolbox.CachingStrokeRecognizer
Perform recognition in the target if the given stroke hasn't changed since the last time this method was called.
StrokeSymbol - class diva.sketch.StrokeSymbol.
A visual symbol derived from sketch input.
StrokeSymbol(TimedStroke, Color, Color, float) - Constructor for class diva.sketch.StrokeSymbol
Create a symbol for the given stroke with the outline/fill color and line width information.
STRUCTURE_CHANGED - Static variable in class diva.graph.GraphEvent
Graph is modified signficantly and should be fully "refreshed"; target is the graph, old value is null.
structureChanged(GraphEvent) - Method in interface diva.graph.GraphListener
The structure of the event's "source" graph has been drastically changed in some way, and this event signals the listener to refresh its view of that graph from model.
structureChanged(GraphEvent) - Method in class diva.graph.toolbox.GraphLogger
Add this event to the log.
structureChanged(GraphEvent) - Method in class diva.graph.toolbox.GraphEventMulticaster
Dispatch the structureChanged() event to each of the listeners.
SumOfAbsDeltaRatioFE - class diva.sketch.features.SumOfAbsDeltaRatioFE.
SumOfAbsDeltaRatioFE computes the ratio of the sum of the absolute values of the delta y's and the sum of the absolute values of the delta x's (sum of |delta y|)/(sum of |delta x|).
SumOfAbsDeltaRatioFE() - Constructor for class diva.sketch.features.SumOfAbsDeltaRatioFE
 
SumOfAbsoluteAnglesFE - class diva.sketch.features.SumOfAbsoluteAnglesFE.
SumOfAbsoluteAnglesFE computes the sum of the absolute values of the angles along a stroke path.
SumOfAbsoluteAnglesFE() - Constructor for class diva.sketch.features.SumOfAbsoluteAnglesFE
 
SumOfAnglesFE - class diva.sketch.features.SumOfAnglesFE.
SumOfAnglesFE computes the total angle traversed by a stroke.
SumOfAnglesFE() - Constructor for class diva.sketch.features.SumOfAnglesFE
 
SumOfSquaredAnglesFE - class diva.sketch.features.SumOfSquaredAnglesFE.
SumOfSquaredAnglesFE computes the sum of squared angle values along a stroke path.
SumOfSquaredAnglesFE() - Constructor for class diva.sketch.features.SumOfSquaredAnglesFE
 
SVGParser - class diva.canvas.toolbox.SVGParser.
A collection of utilities to help parse graphics out of SVG files.
SVGParser() - Constructor for class diva.canvas.toolbox.SVGParser
 
SwingWrapper - class diva.canvas.toolbox.SwingWrapper.
A figure that embeds swing components in canvas drawings.
SwingWrapper(JComponent) - Constructor for class diva.canvas.toolbox.SwingWrapper
Construct a new swing wrapper instance to wrap the given component.
Symbol - interface diva.sketch.Symbol.
A tagging interface for type safety that is implemented by either stroke or composite symbols.
SYMBOL_ADDED - Static variable in class diva.sketch.SketchEvent
Symbol added event type.
SYMBOL_MODIFIED - Static variable in class diva.sketch.SketchEvent
Symbol modified event type.
SYMBOL_REMOVED - Static variable in class diva.sketch.SketchEvent
Symbol removed event type.
symbolAdded(SketchEvent) - Method in interface diva.sketch.SketchListener
Invoked when a symbol has been added to a sketch model.
symbolAdded(SketchEvent) - Method in class diva.whiteboard.WhiteboardView.LocalSketchListener
 
symbolModified(SketchEvent) - Method in interface diva.sketch.SketchListener
Invoked when a symbol has been modified.
symbolModified(SketchEvent) - Method in class diva.whiteboard.WhiteboardView.LocalSketchListener
 
symbolRemoved(SketchEvent) - Method in interface diva.sketch.SketchListener
Invoked when a symbol has been removed from a sketch model.
symbolRemoved(SketchEvent) - Method in class diva.whiteboard.WhiteboardView.LocalSketchListener
 
symbols() - Method in class diva.sketch.SketchModel
Return an iterator over the symbols in the model.
SYNTHESIZE - Static variable in class diva.apps.GestureTrainer
If this flag is true, generate variations of strokes from the training data.

T

TAIL_END - Static variable in class diva.canvas.connector.ConnectorEvent
This event concerns the tail end of the connector.
tailMoved() - Method in class diva.canvas.connector.AbstractConnector
Inform the connector that the tail site has moved.
tailMoved() - Method in interface diva.canvas.connector.Connector
Inform the connector that the tail site has moved.
targets() - Method in class diva.canvas.interactor.DragInteractor
Get an iterator over the target figures.
TC - Static variable in class diva.apps.GestureTrainer
".tc" extension for training files.
TC_GZ - Static variable in class diva.apps.GestureTrainer
".tc.gz" extension for compressed training files.
Terminal - interface diva.canvas.connector.Terminal.
A Terminal is a figure that provides a visible place for connectors to connect to.
TerminalFigure - class diva.canvas.connector.TerminalFigure.
A TerminalFigure decorates a figure to be a terminal as well.
TerminalFigure(Figure, Site) - Constructor for class diva.canvas.connector.TerminalFigure
Create a new TerminalFigure for the given figure, with the given site for connections.
terminals() - Method in class diva.canvas.toolbox.IconFigure
Get an iterator over the terminals of this figure.
TerminalTutorial - class diva.canvas.tutorial.TerminalTutorial.
This tutorial illustrates how to use Terminals.
TerminalTutorial() - Constructor for class diva.canvas.tutorial.TerminalTutorial
Create a JCanvas and put it into a window
terminateDragSelection() - Method in class diva.canvas.interactor.SelectionDragger
Terminate drag-selection operation.
test(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.AndConstraint
Test the child constraints on the given rectangles; return true if all of them are met or there are no child constraints, false otherwise.
test(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.OrConstraint
Test the child constraints on the given rectangles; return true if any constraints are met or there are no constraints, false otherwise.
test(SceneElement, SceneElement) - Method in class diva.sketch.parser2d.BasicConstraint
Test the constraint on the given elements; return true if all constraints are met, false otherwise.
test(SceneElement, SceneElement) - Method in interface diva.sketch.parser2d.RelationConstraint
Test the constraint on the given elements; return true if the constraint is met, false otherwise.
test1() - Method in class diva.util.jester.demo.BarTest
 
test1() - Method in class diva.util.jester.demo.FooTest
Comment this
test2() - Method in class diva.util.jester.demo.FooTest
Comment this
test3() - Method in class diva.util.jester.demo.FooTest
Comment this
test4() - Method in class diva.util.jester.demo.FooTest
Comment this
testAttributes() - Method in class diva.util.test.XMLElementTest
Test attribute setting, getting, and removing
TestCase - class diva.util.jester.TestCase.
An abstract superclass for all test cases.
TestCase(String) - Constructor for class diva.util.jester.TestCase
Construct a test case with the given name
testConstructor() - Method in class diva.util.test.XMLElementTest
Test construction of XmlElement
testConstructor1() - Method in class diva.canvas.test.JCanvasTest
Test the nullary constructor
testConstructor2() - Method in class diva.canvas.test.JCanvasTest
Test the constructor that takes a pane
testElements() - Method in class diva.util.test.XMLElementTest
Test children manipulation
TestFailedException - exception diva.util.jester.TestFailedException.
An exception that is thrown when a test produces an incorrect result.
TestFailedException(String) - Constructor for class diva.util.jester.TestFailedException
Create a new test exception with a detail message
TestFailedException(String, Object) - Constructor for class diva.util.jester.TestFailedException
Create a new test exception with a detail message and one additional object.
TestFailedException(String, Object, Object) - Constructor for class diva.util.jester.TestFailedException
Create a new test exception with a detail message and two additional objects.
TestHarness - class diva.util.jester.TestHarness.
A test harness.
TestHarness() - Constructor for class diva.util.jester.TestHarness
 
testHit() - Method in class diva.canvas.test.FigureTest
Test hit.
testIntersects() - Method in class diva.canvas.test.FigureTest
Test intersection.
testLabel(String) - Method in class diva.gui.toolbox.JPalette
Add a a label to the palette with the same string as its associated data, for testing purposes.
testPaint() - Method in class diva.canvas.test.FigureTest
Test painting.
testParse() - Method in class diva.util.test.XMLParserTest
Test construction of XMLParser
testProperties() - Method in class diva.canvas.test.FigureTest
Perform the simple set/get tests.
TestSuite - class diva.util.jester.TestSuite.
The abstract superclass of test suites.
TestSuite() - Constructor for class diva.util.jester.TestSuite
 
testTransform() - Method in class diva.canvas.test.FigureTest
Test how transforms affect the figure
testTransformBounds() - Method in class diva.util.test.ShapeUtilitiesTest
Test bounds transformation
testTransformModify() - Method in class diva.util.test.ShapeUtilitiesTest
Test general transformation
testTransformModifyRect() - Method in class diva.util.test.ShapeUtilitiesTest
Test rectangle transformation
testTranslate() - Method in class diva.canvas.test.FigureTest
Test how translates affect the figure
testTranslateModify() - Method in class diva.util.test.ShapeUtilitiesTest
Test translation
TestUtilities - class diva.util.jester.TestUtilities.
Utility functions to make tests easier to write.
TestUtilities() - Constructor for class diva.util.jester.TestUtilities
 
TEXT_FLAVOR - Static variable in class diva.graph.schematic.GraphDropTarget
The plain-text flavor that we will be using for our basic drag-and-drop protocol.
TEXT_FLAVOR - Static variable in class diva.whiteboard.ThumbnailView
The plain-text flavor that we will be using for our basic drag-and-drop protocol.
TextBlock - class diva.sketch.toolbox.TextBlock.
Native class that defines a collection of TextLine's.
TextBlock(double, double) - Constructor for class diva.sketch.toolbox.TextBlock
 
TextData - class diva.sketch.toolbox.TextData.
A typed data that holds a recognized text string.
TextData() - Constructor for class diva.sketch.toolbox.TextData
Construct a text data that contains an empty string.
TextData(String) - Constructor for class diva.sketch.toolbox.TextData
Construct a text data that contains the given string.
TextDocument - class diva.gui.tutorial.TextDocument.
A example document that contains plain boring old text and saves it to ascii files.
TextDocument.Factory - class diva.gui.tutorial.TextDocument.Factory.
TextDocument.Factory is a factory for Text Documents
TextDocument.Factory() - Constructor for class diva.gui.tutorial.TextDocument.Factory
 
TextDocument(Application) - Constructor for class diva.gui.tutorial.TextDocument
Create an text document for the given application containing an empty string.
TextLine - class diva.sketch.toolbox.TextLine.
Native class that defines a line of text.
TextLine(double, double) - Constructor for class diva.sketch.toolbox.TextLine
 
textPanel - Variable in class diva.canvas.demo.SpaceWindow
 
textPanel - Variable in class diva.canvas.demo.MainWindow
 
TextView - class diva.gui.tutorial.TextView.
A simple MDI text editor view.
TextView(TextDocument) - Constructor for class diva.gui.tutorial.TextView
 
ThumbnailView - class diva.whiteboard.ThumbnailView.
A thumbnail view displays a list of thumbnails of the pages of the current document.
ThumbnailView(Application) - Constructor for class diva.whiteboard.ThumbnailView
Construct a thumbnail view that operates in the given MDI context.
TimedStroke - class diva.sketch.recognition.TimedStroke.
TimedStroke is a collection of points taken in the duration of a mouse pressed event and a mouse released event.
TimedStroke() - Constructor for class diva.sketch.recognition.TimedStroke
Construct a timed stroke object with an empty stroke path.
TimedStroke(int) - Constructor for class diva.sketch.recognition.TimedStroke
Construct a timed stroke object with an empty stroke path of the given initial size.
TimedStroke(TimedStroke) - Constructor for class diva.sketch.recognition.TimedStroke
Copy constructor for efficient copying of TimedStroke
timeout(int) - Method in class diva.sketch.BasicInterpreter
Respond to the mouse released event.
TITLE_TAG - Static variable in class diva.gui.MultipageParser
The string constant that specifies the title attribute of a document.
toString() - Method in class diva.canvas.CompositeFigure
Return a string description of this figure
toString() - Method in class diva.canvas.connector.ConnectorEvent
 
toString() - Method in class diva.canvas.connector.BoundsSite
 
toString() - Method in class diva.canvas.event.LayerEvent
Print the string representation of this event
toString() - Method in class diva.canvas.event.MouseFilter
Print a useful description of the mouse filter.
toString() - Method in class diva.canvas.interactor.PathGeometry.Vertex
Describe this site
toString() - Method in class diva.graph.GraphEvent
Return a string representation of this event.
toString() - Method in class diva.graph.GraphViewEvent
Return a string representation of this event.
toString() - Method in class diva.graph.schematic.GraphDocument
Print information about the graph document
toString() - Method in class diva.graph.toolbox.GraphLogger
Print the contents of the log into a string.
toString() - Method in class diva.gui.ExtensionFileFilter
Return a string description of this filter.
toString() - Method in class diva.sketch.SketchEvent
String representation of the event.
toString() - Method in class diva.sketch.classification.Classification
Return a string representation of this classification consisting of type and confidence pairs.
toString() - Method in class diva.sketch.classification.FeatureSet
 
toString() - Method in class diva.sketch.classification.WeightSet
The text representation of this weight set.
toString() - Method in class diva.sketch.parser2d.DeltaXRelation
Print out the contents of this relation.
toString() - Method in class diva.sketch.parser2d.DeltaYRelation
Print out the contents of this relation.
toString() - Method in class diva.sketch.parser2d.AngleRelation
Print out the contents of this relation.
toString() - Method in class diva.sketch.parser2d.AndConstraint
Print out the contents of this constraint.
toString() - Method in class diva.sketch.parser2d.WidthRatioRelation
Print out the contents of this relation.
toString() - Method in class diva.sketch.parser2d.OrConstraint
Print out the contents of this constraint.
toString() - Method in class diva.sketch.parser2d.BasicConstraint
Print out the contents of this constraint.
toString() - Method in class diva.sketch.parser2d.DistanceRelation
Print out the contents of this relation.
toString() - Method in class diva.sketch.parser2d.OverlapRelation
Print out the contents of this relation.
toString() - Method in class diva.sketch.parser2d.HeightRatioRelation
Print out the contents of this relation.
toString() - Method in class diva.sketch.parser2d.AreaRatioRelation
Print out the contents of this relation.
toString() - Method in class diva.sketch.recognition.SceneDelta.Subtractive
 
toString() - Method in class diva.sketch.recognition.SceneDelta.Additive
 
toString() - Method in class diva.sketch.recognition.StrokeRecognitionSet
Return the text representation of the recognition set.
toString() - Method in class diva.sketch.recognition.SimpleData
Print the dynamic type of this data in brackets as short hand to denote that it is a dynamic type.
toString() - Method in class diva.sketch.recognition.SceneDeltaSet
Print the contents of this delta set in sorted order.
toString() - Method in class diva.sketch.recognition.Type
Return a string representation of the type object.
toString() - Method in class diva.sketch.recognition.StrokeRecognition
Print the contents of this recognition.
toString() - Method in class diva.sketch.toolbox.TextData
Return a string representation of this data for debugging.
toString() - Method in class diva.sketch.toolbox.BulletedItems
 
toString() - Method in class diva.sketch.toolbox.TextLine
 
toString() - Method in class diva.sketch.toolbox.BulletedItem
 
toString() - Method in class diva.sketch.toolbox.TextBlock
 
toString() - Method in class diva.sketch.toolbox.BulletedData
 
toString() - Method in class diva.sketch.toolbox.BulletedLine
 
toString() - Method in class diva.sketch.toolbox.BulletedList
 
toString() - Method in class diva.util.java2d.Polyline2D.Double
Return a string representing this object
toString() - Method in class diva.util.java2d.Polygon2D
Return a string representation of the polygon.
toString() - Method in class diva.util.xml.XmlElement
Convert this element to a string in XML
toString() - Method in class diva.canvas.test.ConcreteFigures.BasicRectangleFactory1
 
toString() - Method in class diva.canvas.test.ConcreteFigures.BasicRectangleFactory2
 
toString() - Method in class diva.canvas.test.ConcreteFigures.IconFigureFactory
 
toString() - Method in class diva.canvas.test.ConcreteFigures.ImageFigureFactory
 
toString() - Method in class diva.canvas.test.ConcreteFigures.LabelFigureFactory
 
toString() - Method in class diva.canvas.test.ConcreteFigures.CompositeFigureFactory1
 
toString() - Method in class diva.canvas.test.ConcreteFigures.PaneWrapperFactory
 
toString(int) - Static method in class diva.canvas.event.LayerEvent
Print the string representation of modifier flags
toString(String, String) - Method in class diva.sketch.parser2d.DeltaXRelation
Pretty print the relation in the grammar format.
toString(String, String) - Method in class diva.sketch.parser2d.DeltaYRelation
Pretty print the relation in the grammar format.
toString(String, String) - Method in class diva.sketch.parser2d.AngleRelation
Pretty print the relation in the grammar format.
toString(String, String) - Method in interface diva.sketch.parser2d.Relation
Pretty print the relation in the grammar format.
toString(String, String) - Method in class diva.sketch.parser2d.WidthRatioRelation
Pretty print the relation in the grammar format.
toString(String, String) - Method in class diva.sketch.parser2d.BasicConstraint
Print out the contents of this constraint in a grammar format.
toString(String, String) - Method in class diva.sketch.parser2d.DistanceRelation
Pretty print the relation in the grammar format.
toString(String, String) - Method in class diva.sketch.parser2d.OverlapRelation
Pretty print the relation in the grammar format.
toString(String, String) - Method in class diva.sketch.parser2d.HeightRatioRelation
Pretty print the relation in the grammar format.
toString(String, String) - Method in class diva.sketch.parser2d.AreaRatioRelation
Pretty print the relation in the grammar format.
totallyContainedEdges(Object, GraphModel) - Static method in class diva.graph.GraphUtilities
Return an iterator over the edges in a graph which are totally contained within the given composite node.
train() - Method in class diva.sketch.classification.WeightSet
Train on the examples by computing the mu and sigma values for each feature.
train(TrainingModel) - Method in class diva.apps.SketchPad
Train the recognizer on the set of strokes in the given model.
train(TrainingModel) - Method in class diva.apps.SketchPad.SketchPadInterpreter
Train the recognizer using the given model.
train(TrainingModel) - Method in class diva.sketch.recognition.BasicStrokeRecognizer
This function takes in a TrainingModel, builds a TrainingSet object from the examples in the model, and trains the classifier with the training set data.
train(TrainingSet) - Method in class diva.sketch.classification.WeightedEuclideanClassifier
Train on the given data set by building the set of weights that are used in the classify() method.
train(TrainingSet) - Method in class diva.sketch.classification.RubineClassifier
Train the classifier with a given training set and produce a weight vector per training class (a weight for each feature, _weights[]).
train(TrainingSet) - Method in interface diva.sketch.classification.TrainableClassifier
Train the classifier with a given training set.
TrainableClassifier - interface diva.sketch.classification.TrainableClassifier.
A Classifier performs generic classification on feature sets, the semantics of which it knows nothing about.
TrainingModel - class diva.sketch.recognition.TrainingModel.
TrainingModel is a data structure for storing training examples and their types.
TrainingModel() - Constructor for class diva.sketch.recognition.TrainingModel
Construct an empty training model.
TrainingParser - class diva.sketch.recognition.TrainingParser.
TrainingParser reads in an XML file and parses it into a TrainingModel data structure.
TrainingParser() - Constructor for class diva.sketch.recognition.TrainingParser
 
TrainingSet - class diva.sketch.classification.TrainingSet.
A TrainingSet contains a set of types, and for each type a corresponding set of positive and negative examples.
TrainingSet() - Constructor for class diva.sketch.classification.TrainingSet
Construct an empty training set.
TrainingWriter - class diva.sketch.recognition.TrainingWriter.
TrainingWriter takes a training model and writes it out to an outputstream.
TrainingWriter() - Constructor for class diva.sketch.recognition.TrainingWriter
 
transform(AffineTransform) - Method in class diva.canvas.AbstractFigure
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.AbstractFigureContainer
Transform this figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.CompositeFigure
Transform this figure with the supplied transform.
transform(AffineTransform) - Method in interface diva.canvas.Figure
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.FigureWrapper
Transform the child figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.PaneWrapper
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.FigureDecorator
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.connector.StraightTerminal
Transform the terminal.
transform(AffineTransform) - Method in class diva.canvas.connector.AbstractConnector
Transform the connector.
transform(AffineTransform) - Method in class diva.canvas.connector.TerminalFigure
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.demo.WarpImageFigure
 
transform(AffineTransform) - Method in class diva.canvas.event.LayerEvent
Transform the layer coordinates of the event with the given transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.BasicFigure
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.ImageFigure
Perform an affine transform on this image.
transform(AffineTransform) - Method in class diva.canvas.toolbox.LabelFigure
Transform the label with the given transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.SwingWrapper
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.BackgroundedCompositeFigure
Transform this figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.PathFigure
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.LabelWrapper
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.IconFigure
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.VersatileFigure
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.toolbox.PaintedFigure
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.canvas.tutorial.TransformedFigureTutorial.CloudFigure
Transform the object.
transform(AffineTransform) - Method in class diva.canvas.tutorial.FigureTutorial.CustomRectangle
Transform the object.
transform(AffineTransform) - Method in class diva.canvas.tutorial.ConnectorTutorial.SitedRectangle
Update the geometry
transform(AffineTransform) - Method in class diva.graph.toolbox.StateBubble
Transform the figure with the supplied transform.
transform(AffineTransform) - Method in class diva.util.java2d.Polyline2D
Transform the polyline with the given transform.
transform(AffineTransform) - Method in class diva.util.java2d.Polyline2D.Float
Transform the polyline with the given transform.
transform(AffineTransform) - Method in class diva.util.java2d.Polyline2D.Double
Transform the polyline with the given transform.
transform(AffineTransform) - Method in class diva.util.java2d.PaintedString
Transform the label with the given transform.
transform(AffineTransform) - Method in class diva.util.java2d.Polygon2D
Transform the polygon with the given transform.
transform(AffineTransform) - Method in class diva.util.java2d.Polygon2D.Float
Transform the polygon with the given transform.
transform(AffineTransform) - Method in class diva.util.java2d.Polygon2D.Double
Transform the polygon with the given transform.
transform(RectangularShape, AffineTransform) - Static method in class diva.canvas.CanvasUtilities
Deprecated. Use diva.util.java2d.ShapeUtilities.transformRectangle() or diva.util.java2d.ShapeUtilities.transformRectangularShape()
transform(Shape, AffineTransform) - Static method in class diva.canvas.CanvasUtilities
Deprecated. Use ShapeUtilities.transformModify()
transformBounds(Rectangle2D, AffineTransform) - Static method in class diva.util.java2d.ShapeUtilities
Given a bounding-box rectangle, return a new rectangle by transforming the argument rectangle and taking the bounding box of the result.
TransformContext - class diva.canvas.TransformContext.
A transform context defines a transformed coordinate system.
TransformContext(CanvasComponent) - Constructor for class diva.canvas.TransformContext
Create a transform context associated with the given display component.
TransformedFigureTutorial - class diva.canvas.tutorial.TransformedFigureTutorial.
An example showing how to make custom figures that contain their own AffineTransform.
TransformedFigureTutorial.CloudFigure - class diva.canvas.tutorial.TransformedFigureTutorial.CloudFigure.
CloudFigure is a class that paints itself as a translucent "cloud." This example figure class illustrates the use of different paints and strokes to create the required image, and the use of TransformContext to position that image.
TransformedFigureTutorial.CloudFigure(TransformedFigureTutorial, double, double, double, double) - Constructor for class diva.canvas.tutorial.TransformedFigureTutorial.CloudFigure
Create a new instance of this figure.
TransformedFigureTutorial() - Constructor for class diva.canvas.tutorial.TransformedFigureTutorial
Create a JCanvas and put it into a window.
transformInto(Point2D, TransformContext, TransformContext) - Static method in class diva.canvas.CanvasUtilities
Transform a point from a local transform context into a root transform context.
transformModify(Shape, AffineTransform) - Static method in class diva.util.java2d.ShapeUtilities
Transform a shape with the supplied transform.
transformModifyRect(RectangularShape, AffineTransform) - Static method in class diva.util.java2d.ShapeUtilities
Transform a rectangular shape with an orthogonal transform.
translate(double, double) - Method in interface diva.canvas.Site
Translate the site by the indicated distance, where distances are in the local coordinates of the containing pane.
translate(double, double) - Method in class diva.canvas.TransformContext
Translate this context the given distance.
translate(double, double) - Method in class diva.canvas.SiteDecorator
Translate the site by the indicated distance, where distances are in the local coordinates of the containing pane.
translate(double, double) - Method in class diva.canvas.AbstractFigure
Move the figure the indicated distance.
translate(double, double) - Method in class diva.canvas.AbstractFigureContainer
Translate this figure by the given distance.
translate(double, double) - Method in class diva.canvas.AbstractSite
Translate the site by the indicated distance.
translate(double, double) - Method in class diva.canvas.CompositeFigure
Translate this figure the given distance.
translate(double, double) - Method in interface diva.canvas.Figure
Move the figure the indicated distance.
translate(double, double) - Method in class diva.canvas.PaneWrapper
Translate this pane wrapper the given distance.
translate(double, double) - Method in class diva.canvas.CanvasPane
Translate this pane the given distance.
translate(double, double) - Method in class diva.canvas.connector.Arrowhead
Translate the origin by the given amount.
translate(double, double) - Method in class diva.canvas.connector.StraightTerminal
Translate the terminal.
translate(double, double) - Method in class diva.canvas.connector.AbstractConnector
Translate the connector.
translate(double, double) - Method in class diva.canvas.connector.StraightConnector
Translate the connector.
translate(double, double) - Method in class diva.canvas.connector.Blob
Translate the origin by the given amount.
translate(double, double) - Method in class diva.canvas.connector.ArcConnector
Translate the connector.
translate(double, double) - Method in class diva.canvas.connector.TerminalFigure
Move the figure the indicated distance.
translate(double, double) - Method in class diva.canvas.connector.ManhattanConnector
Translate the connector.
translate(double, double) - Method in class diva.canvas.connector.AutonomousSite
Translate the site by the indicated distance.
translate(double, double) - Method in interface diva.canvas.connector.ConnectorEnd
Translate the connector end by the given amount.
translate(double, double) - Method in class diva.canvas.demo.WarpImageFigure
 
translate(double, double) - Method in class diva.canvas.interactor.PathGeometry
Translate the geometry object
translate(double, double) - Method in class diva.canvas.interactor.PathGeometry.Vertex
Translate the site by the indicated distance.
translate(double, double) - Method in class diva.canvas.interactor.PathGeometry.CloseSegment
Translate the site by the indicated distance.
translate(double, double) - Method in class diva.canvas.interactor.MoveHandle
Translating a grab-handle moves its parent object, but _doesn't_ move the grab-handle itself.
translate(double, double) - Method in class diva.canvas.interactor.BasicGrabHandle
Translating a grab-handle moves its site, but _doesn't_ move the grab-handle itself (that will be handled by the reshape manipulator).
translate(double, double) - Method in class diva.canvas.interactor.BoundsGeometry
Translate the geometry object
translate(double, double) - Method in class diva.canvas.interactor.BoundsGeometry.BoundsSite
Translate the site by the indicated distance, where distances are in the local coordinates of the containing pane.
translate(double, double) - Method in interface diva.canvas.interactor.Geometry
Translate the geometry object.
translate(double, double) - Method in class diva.canvas.interactor.CircleGeometry
Translate the geometry object
translate(double, double) - Method in class diva.canvas.interactor.CircleGeometry.CircleSite
Translate the site by the indicated distance, where distances are in the local coordinates of the containing pane.
translate(double, double) - Method in class diva.canvas.toolbox.BasicFigure
Translate the figure with by the given distance.
translate(double, double) - Method in class diva.canvas.toolbox.BasicRectangle
Translate the rectangle the given distance
translate(double, double) - Method in class diva.canvas.toolbox.SwingWrapper
Translate the figure by the given distance.
translate(double, double) - Method in class diva.canvas.toolbox.BackgroundedCompositeFigure
Translate this figure the given distance.
translate(double, double) - Method in class diva.canvas.toolbox.PathFigure
Translate the figure with by the given distance.
translate(double, double) - Method in class diva.canvas.toolbox.IconFigure
Translate the figure the given distance.
translate(double, double) - Method in class diva.canvas.toolbox.VersatileFigure
Translate the figure with by the given distance.
translate(double, double) - Method in class diva.canvas.tutorial.ConnectorTutorial.SitedRectangle
Update the geometry
translate(double, double) - Method in class diva.graph.toolbox.StateBubble
Translate the figure with by the given distance.
translate(double, double) - Method in class diva.util.java2d.Polyline2D
Translate the polyline the given distance.
translate(double, double) - Method in class diva.util.java2d.Polyline2D.Float
Translate the polyline the given distance.
translate(double, double) - Method in class diva.util.java2d.Polyline2D.Double
Translate the polyline the given distance.
translate(double, double) - Method in class diva.util.java2d.PaintedString
Translate the label the given distance.
translate(double, double) - Method in class diva.util.java2d.Polygon2D
Translate the polygon the given distance.
translate(double, double) - Method in class diva.util.java2d.Polygon2D.Float
Translate the polygon the given distance.
translate(double, double) - Method in class diva.util.java2d.Polygon2D.Double
Translate the polygon the given distance.
translate(Figure, double, int) - Static method in class diva.canvas.CanvasUtilities
Translate a figure the given distance in the direction given by the flag.
translate(LayerEvent, double, double) - Method in class diva.canvas.connector.ConnectorInteractor
Respond to translation of the grab-handle.
translate(LayerEvent, double, double) - Method in class diva.canvas.interactor.DragInteractor
Translate the target by the given distance.
translate(LayerEvent, double, double) - Method in class diva.graph.NodeDragInteractor
Drag all selected nodes and move any attached edges
translate(Object, double, double) - Method in class diva.graph.basic.BasicLayoutTarget
Translate the figure associated with the given node in the target's view by the given delta.
translate(Object, double, double) - Method in interface diva.graph.layout.LayoutTarget
Translate the figure associated with the given node in the target's view by the given delta.
translate(Point2D.Double, double, int) - Static method in class diva.canvas.CanvasUtilities
Translate a point the given distance in the direction given by the flag.
translate(Point2D.Float, double, int) - Static method in class diva.canvas.CanvasUtilities
Translate a point the given distance in the direction given by the flag.
translate(Point2D, double, int) - Static method in class diva.canvas.CanvasUtilities
Translate a point the given distance in the direction given by the flag.
translate(Shape, double, double) - Static method in class diva.canvas.CanvasUtilities
Deprecated. Use ShapeUtilities.translateModify()
translateModify(Shape, double, double) - Static method in class diva.util.java2d.ShapeUtilities
Translate a shape the given distance.
translateTo(double, double) - Method in class diva.canvas.toolbox.LabelFigure
Translate the label so that the current anchor is located at the given point.
translateTo(Figure, double, double) - Static method in class diva.canvas.CanvasUtilities
Move a figure so that its center is located at the given coordinates.
translateTo(Point2D) - Method in class diva.canvas.toolbox.LabelFigure
Translate the label so that the current anchor is located at the given point.
tryEncoding(byte[], byte, byte) - Method in class diva.util.aelfred.XmlParser
Check for a two-byte signature.
tryEncoding(byte[], byte, byte, byte, byte) - Method in class diva.util.aelfred.XmlParser
Check for a four-byte signature.
tryEncodingDecl(boolean) - Method in class diva.util.aelfred.XmlParser
Check for an encoding declaration.
tryRead(char) - Method in class diva.util.aelfred.XmlParser
Return true if we can read the expected character.
tryRead(String) - Method in class diva.util.aelfred.XmlParser
Return true if we can read the expected string.
tryWhitespace() - Method in class diva.util.aelfred.XmlParser
Return true if we can read some whitespace.
TutorialWindow - class diva.util.gui.TutorialWindow.
Deprecated. Use diva.gui.BasicFrame instead.
TutorialWindow(String) - Constructor for class diva.util.gui.TutorialWindow
Deprecated.  
type - Static variable in class diva.sketch.toolbox.PanRecognizer.PanData
The static type associated with this typed data.
type - Static variable in class diva.sketch.toolbox.TextData
The static type associated with this typed data.
type - Static variable in class diva.sketch.toolbox.BulletedItems
The static type associated with this typed data.
type - Static variable in class diva.sketch.toolbox.TextLine
The static type associated with this typed data.
type - Static variable in class diva.sketch.toolbox.BulletedItem
The static type associated with this typed data.
type - Static variable in class diva.sketch.toolbox.TextBlock
The static type associated with this typed data.
type - Static variable in class diva.sketch.toolbox.BulletedData
The static type associated with this typed data.
type - Static variable in class diva.sketch.toolbox.ZoomRecognizer.ZoomData
The string id for this classification type.
type - Static variable in class diva.sketch.toolbox.BulletedLine
The static type associated with this typed data.
type - Static variable in class diva.sketch.toolbox.BulletedList
The static type associated with this typed data.
Type - class diva.sketch.recognition.Type.
A unique identifier for the type of a piece of data that results from a recognition.
TYPE_TAG - Static variable in class diva.sketch.recognition.TrainingParser
Indicate a type in the training model.
TYPE_TAG - Static variable in class diva.sketch.recognition.SceneParser
Indicates the type of scene element.
TypedData - interface diva.sketch.recognition.TypedData.
Typed data refers to a piece of semantic data that results from a recognition process and has an associated type.
TypedDecorator - class diva.canvas.toolbox.TypedDecorator.
A FigureDecorator implementation which simply acts as a set of prototypes which can be instantiated according to the type of object the decorator is applied to.
TypedDecorator() - Constructor for class diva.canvas.toolbox.TypedDecorator
A typed decorator that uses a BasicHighlighter as its default.
TypedDecorator(FigureDecorator) - Constructor for class diva.canvas.toolbox.TypedDecorator
A typed decorator with the given decorator as its default.
TypedNodeRenderer - class diva.graph.toolbox.TypedNodeRenderer.
A NodeRenderer implementation which allows a user to add different specialized node renderers which are called selectively, based on the type of the user object that is contained in the node that is being rendered.
TypedNodeRenderer(GraphController, NodeRenderer) - Constructor for class diva.graph.toolbox.TypedNodeRenderer
A typed node renderer with the given node renderer as its default (i.e.
types() - Method in class diva.sketch.classification.TrainingSet
An iterator over the types contained in this training set.
types() - Method in class diva.sketch.recognition.TrainingModel
An iterator over the types contained in this training model.

U

undecorate(FigureDecorator) - Method in interface diva.canvas.FigureContainer
Remove a figure from the given decorator and add it back into this container.
undecorate(FigureDecorator) - Method in class diva.canvas.AbstractFigureContainer
Remove a figure from the given decorator and add it back into this container.
undecorate(FigureDecorator) - Method in class diva.canvas.FigureLayer
Remove a figure from the given decorator and add it back into this container.
undo() - Method in class diva.whiteboard.WhiteboardEdits.AddStrokeEdit
 
undo() - Method in class diva.whiteboard.WhiteboardEdits.DeleteStrokeEdit
 
undo() - Method in class diva.whiteboard.WhiteboardEdits.PasteEdit
 
undo() - Method in class diva.whiteboard.WhiteboardEdits.NewPageEdit
 
undo() - Method in class diva.whiteboard.WhiteboardEdits.ReorderPageEdit
 
undo() - Method in class diva.whiteboard.WhiteboardEdits.DeletePageEdit
 
undo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
undo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
undo() - Method in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
ungroupSelected() - Method in class diva.whiteboard.WhiteboardView
 
unindent() - Method in class diva.util.LoggableOp
Decrement the indentation counter.
UnitIterator - class diva.util.UnitIterator.
An iterator over a single object.
UnitIterator(Object) - Constructor for class diva.util.UnitIterator
 
UNKNOWN - Static variable in class diva.sketch.toolbox.ModedIncrRecognizer
The recognizer has started processing events but still doesn't know whether or not the the gesture matches the action signal.
unread(char) - Method in class diva.util.aelfred.XmlParser
Push a single character back onto the current input stream.
unread(char[], int) - Method in class diva.util.aelfred.XmlParser
Push a char array back onto the current input stream.
up() - Method in class diva.util.jester.demo.Bar
 
updateSymbol(Symbol) - Method in class diva.sketch.SketchModel
Provide the means for a client to notify the listeners that the specified symbol has been updated.
updateTransform() - Method in class diva.canvas.demo.SpaceWindow
Update the transform of the contained pane
updateTransform() - Method in class diva.canvas.demo.MainWindow
Update the transform of the contained pane
usage - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
UserObjectChangeEvent - class diva.util.UserObjectChangeEvent.
An event that can be used to communicate when the user object changes in a UserObjectContainer.
UserObjectChangeEvent(Object, Object) - Constructor for class diva.util.UserObjectChangeEvent
Construct a GraphEvent with the given source and previous value.
UserObjectChangeListener - interface diva.util.UserObjectChangeListener.
A listener for changes in the user object of a UserObjectContainer.
UserObjectContainer - interface diva.util.UserObjectContainer.
An object which is annotated with a single "user object" which is its semantic equivalent in an application.

V

VersatileFigure - class diva.canvas.toolbox.VersatileFigure.
A VersatileFigure is one that contains a single instance of Shape.
VersatileFigure(PaintedObject) - Constructor for class diva.canvas.toolbox.VersatileFigure
Create a new figure with the given painted shape.
VersatileFigure(Shape) - Constructor for class diva.canvas.toolbox.VersatileFigure
Create a new figure with the given shape.
VersatileFigure(Shape, float) - Constructor for class diva.canvas.toolbox.VersatileFigure
Create a new figure with the given shape and outline width.
VersatileFigure(Shape, Paint) - Constructor for class diva.canvas.toolbox.VersatileFigure
Create a new figure with the given paint pattern.
VersatileFigure(Shape, Paint, float) - Constructor for class diva.canvas.toolbox.VersatileFigure
Create a new figure with the given paint pattern and outline width.
VERSION_TAG - Static variable in class diva.sketch.recognition.TrainingParser
Indicate the version of this training model.
VERTICAL - Static variable in class diva.graph.layout.LevelLayout
Layout the graph in levels from top to bottom.
vertices() - Method in class diva.canvas.interactor.PathGeometry
Return an iteration over the vertices in this geometry object.
veto() - Method in class diva.sketch.recognition.SceneDelta
Remove this delta from the database.
veto() - Method in class diva.sketch.recognition.SceneDelta.Subtractive
Remove this delta from the database.
veto() - Method in class diva.sketch.recognition.SceneDelta.Additive
Remove this delta from the database.
View - interface diva.gui.View.
View is an interface that captures the notion of a view on a document in a graphical application.
VIEW_CLOSED - Static variable in class diva.gui.ViewEvent
The view closed event type
VIEW_CLOSING - Static variable in class diva.gui.ViewEvent
The view closing event type
VIEW_DESELECTED - Static variable in class diva.gui.ViewEvent
The view deselected event type
VIEW_HIDDEN - Static variable in class diva.gui.ViewEvent
The view hidden event type
VIEW_MOVED - Static variable in class diva.gui.ViewEvent
The view moved event type
VIEW_RESIZED - Static variable in class diva.gui.ViewEvent
The view resized event type
VIEW_SELECTED - Static variable in class diva.gui.ViewEvent
The view selected event type
VIEW_SHOWN - Static variable in class diva.gui.ViewEvent
The view shown event type
ViewAdapter - class diva.gui.ViewAdapter.
An adapter for view listener, containing empty method implementations.
ViewAdapter() - Constructor for class diva.gui.ViewAdapter
 
viewClosed(ViewEvent) - Method in class diva.gui.ViewAdapter
Invoked when the view has been closed.
viewClosed(ViewEvent) - Method in interface diva.gui.ViewListener
Invoked when the view has been closed.
viewClosing(ViewEvent) - Method in class diva.gui.ViewAdapter
Invoked when the view is about to be closed.
viewClosing(ViewEvent) - Method in interface diva.gui.ViewListener
Invoked when the view is about to be closed
viewDeselected(ViewEvent) - Method in class diva.gui.ViewAdapter
Invoked when the view has been de-selected.
viewDeselected(ViewEvent) - Method in interface diva.gui.ViewListener
Invoked when the view has been de-selected.
ViewEvent - class diva.gui.ViewEvent.
A view event is generated when a view of a Document is iconified, selected, closed, and so on.
ViewEvent(JComponent, int) - Constructor for class diva.gui.ViewEvent
Create a view event with the specified component and type.
viewHidden(ViewEvent) - Method in class diva.gui.ViewAdapter
Invoked when the view has been hidden.
viewHidden(ViewEvent) - Method in interface diva.gui.ViewListener
Invoked when the view has been hidden.
viewList() - Method in class diva.gui.AbstractApplication
Get a list of all view objects known by this application.
viewList() - Method in interface diva.gui.Application
Get an iterator over all views
viewList(Document) - Method in class diva.gui.AbstractApplication
Get a list of all view objects known by this application.
ViewListener - interface diva.gui.ViewListener.
A listener interface for receiving events on views.
viewMoved(ViewEvent) - Method in class diva.gui.ViewAdapter
Invoked when the view moves
viewMoved(ViewEvent) - Method in interface diva.gui.ViewListener
Invoked when the view moves
viewResized(ViewEvent) - Method in class diva.gui.ViewAdapter
Invoked when the view was resized
viewResized(ViewEvent) - Method in interface diva.gui.ViewListener
Invoked when the view was resized
viewSelected(ViewEvent) - Method in class diva.gui.ViewAdapter
Invoked when the view has been selected.
viewSelected(ViewEvent) - Method in interface diva.gui.ViewListener
Invoked when the view has been selected.
viewShown(ViewEvent) - Method in class diva.gui.ViewAdapter
Invoked when the view has been shown.
viewShown(ViewEvent) - Method in interface diva.gui.ViewListener
Invoked when the view has been shown.
VisibleComponent - interface diva.canvas.VisibleComponent.
A visible component is a canvas component that is painted onto a graphics context.
visited - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
VisualObjectContainer - interface diva.util.VisualObjectContainer.
An object which is visually represented by a "visual object" which is its visible representation within a visualization or editing application.
vote() - Method in class diva.sketch.recognition.VotingStrokeRecognizer
Tally all of the votes of the sub-recognizers and emit them all into a recognition.
vote() - Method in class diva.sketch.recognition.VotingSceneRecognizer
Tally all of the votes of the sub-recognizers and emit them all into a recognition.
VotingSceneRecognizer - class diva.sketch.recognition.VotingSceneRecognizer.
A composite recognizer which allows multiple sub-recognizers to vote on interpretations of a given scene.
VotingSceneRecognizer(SceneRecognizer[]) - Constructor for class diva.sketch.recognition.VotingSceneRecognizer
Construct a voting recognizer with the following child recognizers.
VotingStrokeRecognizer - class diva.sketch.recognition.VotingStrokeRecognizer.
Voting gesture recognizer is a composite recognizer which allows multiple sub-recognizers to vote and interact with one another to classify a given gesture.
VotingStrokeRecognizer(StrokeRecognizer[]) - Constructor for class diva.sketch.recognition.VotingStrokeRecognizer
Construct a voting recognizer with the following children recognizers.

W

WarpImageFigure - class diva.canvas.demo.WarpImageFigure.
Warps a image on a CubicCurve2D flattened path.
WarpImageFigure(Image) - Constructor for class diva.canvas.demo.WarpImageFigure
 
WeightedEuclideanClassifier - class diva.sketch.classification.WeightedEuclideanClassifier.
WeightedEuclideanClassifier is a trainable classifier that uses a weighted N-dimensional distance between feature sets to classify its input.
WeightedEuclideanClassifier() - Constructor for class diva.sketch.classification.WeightedEuclideanClassifier
Construct a classifier with no weight set.
WeightSet - class diva.sketch.classification.WeightSet.
A WeightSet object represents a training type (e.g.
WeightSet(String) - Constructor for class diva.sketch.classification.WeightSet
Construct a WeightSet of the specified type.
WEST - Static variable in class diva.sketch.parser2d.AbstractRule
The west direction constant.
WEST - Static variable in class diva.sketch.parser2d.RelationUtilities
The west direction constant.
WHEN_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
Whiteboard - class diva.whiteboard.Whiteboard.
A digital whiteboard application that supports freeform sketching and gestural command editing.
Whiteboard.GrayedOutWidthIcon - class diva.whiteboard.Whiteboard.GrayedOutWidthIcon.
 
Whiteboard.GrayedOutWidthIcon(Whiteboard) - Constructor for class diva.whiteboard.Whiteboard.GrayedOutWidthIcon
 
Whiteboard.WBAppViewListener - class diva.whiteboard.Whiteboard.WBAppViewListener.
 
Whiteboard.WBAppViewListener(Whiteboard) - Constructor for class diva.whiteboard.Whiteboard.WBAppViewListener
 
Whiteboard.WBPageListener - class diva.whiteboard.Whiteboard.WBPageListener.
 
Whiteboard.WBPageListener(Whiteboard) - Constructor for class diva.whiteboard.Whiteboard.WBPageListener
 
Whiteboard.WBStateListener - class diva.whiteboard.Whiteboard.WBStateListener.
 
Whiteboard.WBStateListener(Whiteboard) - Constructor for class diva.whiteboard.Whiteboard.WBStateListener
 
Whiteboard(DesktopContext) - Constructor for class diva.whiteboard.Whiteboard
Construct a new whiteboard application.
WhiteboardEdits - class diva.whiteboard.WhiteboardEdits.
WhiteboardEdits contains the set of undoable editing operations that the whiteboard application uses to support undo.
WhiteboardEdits.AddStrokeEdit - class diva.whiteboard.WhiteboardEdits.AddStrokeEdit.
Add a stroke to the
WhiteboardEdits.AddStrokeEdit(SketchModel, Symbol, MultipageModel) - Constructor for class diva.whiteboard.WhiteboardEdits.AddStrokeEdit
 
WhiteboardEdits.CutEdit - class diva.whiteboard.WhiteboardEdits.CutEdit.
 
WhiteboardEdits.CutEdit() - Constructor for class diva.whiteboard.WhiteboardEdits.CutEdit
 
WhiteboardEdits.DeleteGroupedStrokeEdit - class diva.whiteboard.WhiteboardEdits.DeleteGroupedStrokeEdit.
 
WhiteboardEdits.DeleteGroupedStrokeEdit() - Constructor for class diva.whiteboard.WhiteboardEdits.DeleteGroupedStrokeEdit
 
WhiteboardEdits.DeletePageEdit - class diva.whiteboard.WhiteboardEdits.DeletePageEdit.
 
WhiteboardEdits.DeletePageEdit(MultipageModel, Page, Page, int) - Constructor for class diva.whiteboard.WhiteboardEdits.DeletePageEdit
 
WhiteboardEdits.DeleteStrokeEdit - class diva.whiteboard.WhiteboardEdits.DeleteStrokeEdit.
 
WhiteboardEdits.DeleteStrokeEdit(SketchModel, Symbol, MultipageModel) - Constructor for class diva.whiteboard.WhiteboardEdits.DeleteStrokeEdit
 
WhiteboardEdits.NewPageEdit - class diva.whiteboard.WhiteboardEdits.NewPageEdit.
 
WhiteboardEdits.NewPageEdit(MultipageModel, Page, Page) - Constructor for class diva.whiteboard.WhiteboardEdits.NewPageEdit
 
WhiteboardEdits.PasteEdit - class diva.whiteboard.WhiteboardEdits.PasteEdit.
 
WhiteboardEdits.PasteEdit() - Constructor for class diva.whiteboard.WhiteboardEdits.PasteEdit
 
WhiteboardEdits.ReorderPageEdit - class diva.whiteboard.WhiteboardEdits.ReorderPageEdit.
 
WhiteboardEdits.ReorderPageEdit(MultipageModel, Page, Page, int, int) - Constructor for class diva.whiteboard.WhiteboardEdits.ReorderPageEdit
 
WhiteboardEdits.StrokeFillColorEdit - class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit.
An edit on a stroke's fill color.
WhiteboardEdits.StrokeFillColorEdit(SketchModel, Symbol, Color, Color) - Constructor for class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
WhiteboardEdits.StrokeOutlineColorEdit - class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit.
An edit on a stroke's outline color.
WhiteboardEdits.StrokeOutlineColorEdit(SketchModel, Symbol, Color, Color) - Constructor for class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
WhiteboardEdits.StrokeWidthEdit - class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit.
An edit on a stroke's line width.
WhiteboardEdits.StrokeWidthEdit(SketchModel, Symbol, float, float) - Constructor for class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
WhiteboardEdits() - Constructor for class diva.whiteboard.WhiteboardEdits
 
WhiteboardState - class diva.whiteboard.WhiteboardState.
A model which maintains Whiteboard's UI properties such as pen color, pen width, and the mode (sketch or command).
WhiteboardState() - Constructor for class diva.whiteboard.WhiteboardState
 
WhiteboardView - class diva.whiteboard.WhiteboardView.
WhiteboardView is responsible for view-specific operations on the document (cut, paste, print, etc.) It also keeps track of the multi-page aspect of the whiteboard documents.
WhiteboardView.LocalPageListener - class diva.whiteboard.WhiteboardView.LocalPageListener.
 
WhiteboardView.LocalPageListener(WhiteboardView) - Constructor for class diva.whiteboard.WhiteboardView.LocalPageListener
 
WhiteboardView.LocalSketchListener - class diva.whiteboard.WhiteboardView.LocalSketchListener.
 
WhiteboardView.LocalSketchListener(WhiteboardView) - Constructor for class diva.whiteboard.WhiteboardView.LocalSketchListener
 
WhiteboardView.SketchInterpreter - class diva.whiteboard.WhiteboardView.SketchInterpreter.
 
WhiteboardView.SketchInterpreter(WhiteboardView, BasicSketchController) - Constructor for class diva.whiteboard.WhiteboardView.SketchInterpreter
 
WhiteboardView.WBVStateListener - class diva.whiteboard.WhiteboardView.WBVStateListener.
 
WhiteboardView.WBVStateListener(WhiteboardView) - Constructor for class diva.whiteboard.WhiteboardView.WBVStateListener
 
WhiteboardView(MultipageDocument, WhiteboardState) - Constructor for class diva.whiteboard.WhiteboardView
 
width - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
WIDTH - Static variable in class diva.apps.SketchPad
The default width of the editor.
WIDTH - Static variable in class diva.apps.GestureTrainer
The default width of the editor.
widthRatio(SceneElement, SceneElement) - Static method in class diva.sketch.parser2d.AbstractRule
Calculate the width ratio of the bounding boxes of the two given scene elements.
WidthRatioRelation - class diva.sketch.parser2d.WidthRatioRelation.
Calculate the ratio of the width of the first input scene element to the width of the second.
WidthRatioRelation() - Constructor for class diva.sketch.parser2d.WidthRatioRelation
 
windowListener - Variable in class diva.canvas.demo.SpaceWindow
 
windowListener - Variable in class diva.canvas.demo.MainWindow
 
windowListener - Variable in class diva.util.gui.BasicWindow
Deprecated.  
windowListener - Variable in class diva.util.gui.TutorialWindow
Deprecated.  
write(MultipageModel, Writer) - Method in class diva.gui.MultipageWriter
Write the given document to the character stream (out).
write(Scene, SceneElement, Writer) - Method in class diva.sketch.recognition.SceneWriter
Write the single interpretation of the scene given rooted by the given root to the character-output stream.
write(XmlDocument) - Method in class diva.util.xml.XmlWriter
Write the given XmlDocument to its URL.
write(XmlDocument, Writer) - Method in class diva.util.xml.XmlWriter
Write the given XmlDocument to a given Writer.
write(XmlElement, Writer, String) - Method in class diva.util.xml.XmlWriter
Deprecated. Use XmlElement.writeXML instead.
writeDTD(XmlDocument, Writer) - Method in class diva.util.xml.XmlWriter
Write the DTD of the given XmlDocument to a given Writer.
writeDTDAttributes(String, Writer) - Method in class diva.util.xml.XmlWriter
Dump attributes for an element.
writeDTDElements(Writer) - Method in class diva.util.xml.XmlWriter
Produce normalised declarations for all elements.
writeDTDEntities(Writer) - Method in class diva.util.xml.XmlWriter
Produce normalised declarations for all general entities.
writeDTDNotations(Writer) - Method in class diva.util.xml.XmlWriter
Produce normalised declarations for all notations.
writeEvents(InputEvent[], Writer) - Method in class diva.util.jester.EventWriter
Write the given stream of input events out to the given writer.
writeModel(Object, OutputStream) - Method in class diva.sketch.recognition.TrainingWriter
Write the training model to the output stream.
writeModel(Object, Writer) - Method in class diva.sketch.SketchWriter
Write the symbols in the sketch model to the character stream.
writeModel(Object, Writer) - Method in class diva.sketch.recognition.TrainingWriter
Write the training model to the character-output stream.
writeModel(Object, Writer) - Method in interface diva.util.ModelWriter
Write the given model to the character stream.
writeModel(Object, Writer) - Method in class diva.util.jester.EventWriter
Write the given stream of input events out to the given writer.
writeStroke(TimedStroke, Writer) - Static method in class diva.sketch.recognition.TrainingWriter
Write out the sequence of points in the stroke.
writeXML(Writer, String) - Method in class diva.util.xml.XmlElement
Print this element to a Writer

X

x - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
X_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
x1 - Variable in class diva.apps.Generator.ThetaVector
 
x2 - Variable in class diva.apps.Generator.ThetaVector
 
XmlBuilder - interface diva.util.xml.XmlBuilder.
An XmlBuilder is an interface that can be implemented by classes that convert between XmlElements and some internal data representation.
XmlDemo - class diva.util.xml.XmlDemo.
A simple program that you can run to illustrate the operation of the files in this package.
XmlDemo() - Constructor for class diva.util.xml.XmlDemo
 
XmlDocument - class diva.util.xml.XmlDocument.
An XMLDocument is an in-memory representation of an XML document.
XmlDocument() - Constructor for class diva.util.xml.XmlDocument
Create an XML document with no idea of where it exists.
XmlDocument(File) - Constructor for class diva.util.xml.XmlDocument
Create an XML document located in the given file.
XmlDocument(URL) - Constructor for class diva.util.xml.XmlDocument
Create an XML document with the given URL.
XmlDocument(URL, String) - Constructor for class diva.util.xml.XmlDocument
Create an XML document with the given URL and the DTD system ID.
XmlElement - class diva.util.xml.XmlElement.
An XmlElement is a node of a tree representing an XML file.
XmlElement() - Constructor for class diva.util.xml.XmlElement
Create a new XmlElement of unknown type.
XmlElement(String) - Constructor for class diva.util.xml.XmlElement
Create a new XmlElement with element type given by the string.
XmlElement(String, Map) - Constructor for class diva.util.xml.XmlElement
Create a new XmlElement with element type with the given name and the given attributes.
XMLElementTest - class diva.util.test.XMLElementTest.
A test suite for XmlElement
XMLElementTest(TestHarness) - Constructor for class diva.util.test.XMLElementTest
Constructor
XmlException - exception diva.util.aelfred.XmlException.
Convenience exception class for reporting XML parsing errors.
XmlException(String, String, int, int) - Constructor for class diva.util.aelfred.XmlException
Construct a new XML parsing exception.
XmlHandler - interface diva.util.aelfred.XmlHandler.
XML Processing Interface.
XmlParser - class diva.util.aelfred.XmlParser.
Parse XML documents and return parse events through call-backs.
XmlParser() - Constructor for class diva.util.aelfred.XmlParser
Construct a new parser with no associated handler.
XMLParserTest - class diva.util.test.XMLParserTest.
A test suite for XMLParser and XMLPrinter
XMLParserTest(TestHarness) - Constructor for class diva.util.test.XMLParserTest
Constructor
XmlReader - class diva.util.xml.XmlReader.
An XmlReader reads a character stream and constructs the internal data of an XmlDocument.
XmlReader.Handler - class diva.util.xml.XmlReader.Handler.
Handler is an inner class that implements the Aelfred XmlHandler interface.
XmlReader.Handler(XmlReader) - Constructor for class diva.util.xml.XmlReader.Handler
 
XmlReader() - Constructor for class diva.util.xml.XmlReader
 
XmlUtilities - class diva.util.xml.XmlUtilities.
A collection of utility methods for XML-related operations.
XmlUtilities() - Constructor for class diva.util.xml.XmlUtilities
 
XmlWriter - class diva.util.xml.XmlWriter.
Given a tree of XmlElements, an object of this class generates the equivalent XML into an output stream.
XmlWriter() - Constructor for class diva.util.xml.XmlWriter
 
xoffset - Variable in class diva.canvas.demo.MainWindow
 
xoffsetSlider - Variable in class diva.canvas.demo.MainWindow
 
xshear - Variable in class diva.canvas.demo.SpaceWindow
 
xshear - Variable in class diva.canvas.demo.MainWindow
 
xshearSlider - Variable in class diva.canvas.demo.SpaceWindow
 
xshearSlider - Variable in class diva.canvas.demo.MainWindow
 

Y

y - Variable in class diva.graph.layout.LevelLayout.LevelInfo
 
Y_ATTR_TAG - Static variable in class diva.util.jester.EventParser
 
y1 - Variable in class diva.apps.Generator.ThetaVector
 
y2 - Variable in class diva.apps.Generator.ThetaVector
 
yoffset - Variable in class diva.canvas.demo.MainWindow
 
yoffsetSlider - Variable in class diva.canvas.demo.MainWindow
 
yshear - Variable in class diva.canvas.demo.SpaceWindow
 
yshear - Variable in class diva.canvas.demo.MainWindow
 
yshearSlider - Variable in class diva.canvas.demo.SpaceWindow
 
yshearSlider - Variable in class diva.canvas.demo.MainWindow
 

Z

ZList - interface diva.canvas.ZList.
A ZList is an interface for objects that contain an ordered list of figures in z-order.
zoom(double, double, double, TimedStroke) - Method in class diva.sketch.toolbox.PanZoomController
 
ZoomDemo - class diva.canvas.demo.ZoomDemo.
A class for experimenting with zooming on a pane.
ZoomDemo() - Constructor for class diva.canvas.demo.ZoomDemo
Create a JCanvas and put it into a window.
ZoomRecognizer - class diva.sketch.toolbox.ZoomRecognizer.
A recognizer that recognizes "zoom" gestures ("Z") and then zooms in if the the events are "down" and out if the events are "up".
ZoomRecognizer.ZoomData - class diva.sketch.toolbox.ZoomRecognizer.ZoomData.
A classification type for zooming.
ZoomRecognizer.ZoomData(double, double, double) - Constructor for class diva.sketch.toolbox.ZoomRecognizer.ZoomData
Contruct a zoom type object with the zoom amount given.
ZoomRecognizer(double, StrokeRecognizer) - Constructor for class diva.sketch.toolbox.ZoomRecognizer
Construct a zoom recognizer with the given scaling factor and a classifying recognizer which has been trained on "Z" shapes..
ZoomRecognizer(StrokeRecognizer) - Constructor for class diva.sketch.toolbox.ZoomRecognizer
Construct a zoom recognizer with a default scaling factor of 1.0 and a classifying recognizer which has been trained on "Z" shapes.

_

_action - Variable in class diva.canvas.interactor.ActionInteractor
 
_allowedTypes - Variable in class diva.sketch.toolbox.RetypingRecognizer
The set of types that are allowed through.
_altSelectionFilter - Variable in class diva.sketch.BasicSketchController
The filter for toggling selection.
_application - Variable in class diva.graph.schematic.SchematicGraphController
The application that is using this graph controller.
_application - Static variable in class diva.gui.ApplicationExceptionHandler
 
_attachSite - Variable in class diva.canvas.connector.TerminalFigure
 
_backgroundEventLayer - Variable in class diva.canvas.GraphicsPane
 
_backgroundLayer - Variable in class diva.canvas.GraphicsPane
 
_closed - Variable in class diva.util.java2d.Polygon2D
The flag that says the the polygon has been closed
_closeMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_commandModeButton - Variable in class diva.whiteboard.Whiteboard
 
_connectorTarget - Variable in class diva.canvas.connector.ConnectorManipulator
The thing that we use to find sites
_connectSite - Variable in class diva.canvas.connector.TerminalFigure
 
_containingPane - Variable in class diva.canvas.CanvasLayer
The pane containing this layer.
_context - Variable in class diva.canvas.DamageRegion
 
_controller - Variable in class diva.graph.EdgeCreator
 
_controller - Variable in class diva.sketch.BasicInterpreter
The sketch controller that uses this interpreter to interpret sketch input.
_cool - Variable in class diva.graph.layout.GridAnnealingLayout
The cooling constant.
_coordCount - Variable in class diva.util.java2d.Polyline2D
The current number of coordinates
_coordCount - Variable in class diva.util.java2d.Polygon2D
The current number of coordinates
_coords - Variable in class diva.util.java2d.Polyline2D.Float
The coordinates
_coords - Variable in class diva.util.java2d.Polyline2D.Double
The coordinates
_coords - Variable in class diva.util.java2d.Polygon2D.Float
The coordinates
_coords - Variable in class diva.util.java2d.Polygon2D.Double
The coordinates
_copyGraph - Variable in class diva.graph.layout.LevelLayout.LevelData
The local graph copy of the user's graph, to which dummy nodes/edges are added, and on which the actual layout is first performed before these values are copied back into the user's graph.
_currentExternalEntity() - Method in class diva.util.xml.XmlReader.Handler
 
_curStroke - Variable in class diva.sketch.BasicInterpreter
The current stroke that's being drawn, gets its data from _strokeBuffer and is reallocated at the end of a stroke.
_curSymbol - Variable in class diva.sketch.BasicInterpreter
The current symbol which wraps the current stroke and keeps visual information about the stroke (color, line width).
_defaults - Variable in class diva.util.BasicPropertyContainer
The default values, if applicable.
_deltas - Variable in class diva.sketch.recognition.SceneDeltaSet
Store the deltas.
_docType - Variable in class diva.util.xml.XmlDocument
 
_dragFilter - Variable in class diva.sketch.BasicSketchController
The filter for the drag interactor that moves objects.
_drawChildren(Object) - Method in class diva.graph.NodeController
Draw the children of the given node.
_dtd - Variable in class diva.util.xml.XmlDocument
 
_dtdPublicID - Variable in class diva.util.xml.XmlDocument
 
_dtdSystemID - Variable in class diva.util.xml.XmlDocument
 
_factory - Variable in class diva.gui.toolbox.MenuCreator
The menu factory.
_figure - Variable in class diva.canvas.connector.TerminalFigure
 
_fillColor - Variable in class diva.whiteboard.WhiteboardState
 
_fillColorButton - Variable in class diva.whiteboard.Whiteboard
 
_fillPopupMenu - Variable in class diva.whiteboard.Whiteboard
 
_filter - Variable in class diva.canvas.event.LayerMouseAdapter
 
_foregroundEventLayer - Variable in class diva.canvas.GraphicsPane
 
_foregroundLayer - Variable in class diva.canvas.GraphicsPane
 
_gh - Variable in class diva.graph.layout.GridAnnealingLayout
The grid height.
_graph - Variable in class diva.graph.layout.GridAnnealingLayout
The original graph that is passed in by the user on which the layout is applied.
_graphListeners - Variable in class diva.graph.AbstractGraphModel
The list of graph listeners.
_grid - Variable in class diva.graph.layout.GridAnnealingLayout
The current grid configuration as the algorithm progresses.
_gw - Variable in class diva.graph.layout.GridAnnealingLayout
The grid width.
_high - Variable in class diva.canvas.connector.ConnectorManipulator.TargetHighlighter
 
_initNewLayer(CanvasLayer) - Method in class diva.canvas.CanvasPane
Helper method to initialize a layer when it is added to this pane.
_jsketch - Variable in class diva.whiteboard.WhiteboardView
 
_layerMotionListener - Variable in class diva.canvas.connector.ConnectorManipulator
Layer motion listeners
_layers - Variable in class diva.canvas.GraphicsPane
 
_layers - Variable in class diva.canvas.toolbox.BasicCanvasPane
The array of layers
_layoutTarget - Variable in class diva.graph.layout.AbstractGlobalLayout
 
_lengthMu - Variable in class diva.apps.Generator
 
_lengthSigma - Variable in class diva.apps.Generator
 
_levels - Variable in class diva.graph.layout.LevelLayout.LevelData
A simple data structure to keep track of the levels.
_listeners - Variable in class diva.whiteboard.WhiteboardState
 
_llr - Variable in class diva.sketch.toolbox.RetypingRecognizer
The recognizer that performs low-level recognition on strokes.
_map - Variable in class diva.graph.layout.GridAnnealingLayout
A mapping from nodes to their corresponding logical grid positions, stored as integer arrays of length 2.
_map - Variable in class diva.graph.schematic.GraphDropTarget
A hastable to store the key->figure mapping.
_mapping - Variable in class diva.util.BasicPropertyContainer
The mapping from keys to values.
_markDescendents(SceneElement, short, boolean) - Method in class diva.sketch.recognition.BasicScene
Mark the given element and all of its descendents with the given mark, so that a subsequent traversal will be able to distinguish between elements inside and outside of the marked set.
_maxLevel - Variable in class diva.graph.layout.LevelLayout.LevelData
A variable that is used to keep track of the maximum level in the graph, starting at -1 and then incremented as the level-finding algorithm is applied.
_message - Variable in class diva.gui.toolbox.JStatusBar
The label that displays the status message.
_messageBorder - Variable in class diva.gui.toolbox.JStatusBar
The border around the message
_meta - Variable in class diva.graph.layout.LevelLayout.LevelData
A meta-node which is a dummy node that is added to the graph with edges to every other node in the graph in order to make it easier to perform a topological sort.
_minCost - Variable in class diva.graph.layout.GridAnnealingLayout
The relative cost of the best grid configuration so far as the algorithm progresses.
_minGrid - Variable in class diva.graph.layout.GridAnnealingLayout
The best grid configuration so far as the algorithm progresses.
_ml - Variable in class diva.canvas.event.LayerMouseAdapter
 
_mml - Variable in class diva.canvas.event.LayerMouseAdapter
 
_mode - Variable in class diva.whiteboard.WhiteboardState
 
_modelParser - Variable in class diva.gui.MultipageDocument
This parser is used by the document parser to read in each model in a page.
_modelWriter - Variable in class diva.gui.MultipageDocument
This writer is used by the document writer to write out each model in a page.
_newColor - Variable in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
_newColor - Variable in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
_newPageButton - Variable in class diva.whiteboard.Whiteboard
Tool Bar Buttons
_newPageMenuItem - Variable in class diva.whiteboard.Whiteboard
Menu items
_newWidth - Variable in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
_nextButton - Variable in class diva.whiteboard.Whiteboard
 
_nextMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_nullifyLayer(CanvasLayer) - Method in class diva.canvas.CanvasPane
Helper method to tell a layer when it is been removed from this pane.
_numIters - Variable in class diva.graph.layout.GridAnnealingLayout
The number of iterations to cool over.
_numMoves - Variable in class diva.graph.layout.GridAnnealingLayout
The number of moves per iteration.
_numPoints - Variable in class diva.apps.Generator
 
_oldColor - Variable in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
_oldColor - Variable in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
_oldWidth - Variable in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
_openButton - Variable in class diva.whiteboard.Whiteboard
 
_orientation - Variable in class diva.graph.layout.LevelLayout
Keep track of the orientation; vertical by default.
_origGraph - Variable in class diva.graph.layout.LevelLayout.LevelData
The original graph that is passed in by the user on which the layout is eventually being assigned.
_outlineColorButton - Variable in class diva.whiteboard.Whiteboard
 
_outlinePopupMenu - Variable in class diva.whiteboard.Whiteboard
 
_overlayLayer - Variable in class diva.canvas.GraphicsPane
 
_parent - Variable in class diva.canvas.connector.ConnectorManipulator.TargetHighlighter
 
_parser - Variable in class diva.gui.MultipageDocument
The parser that reads in a document and parses it into a Document structure.
_parser - Variable in class diva.util.xml.XmlDocument
 
_penColor - Variable in class diva.whiteboard.WhiteboardState
 
_penWidth - Variable in class diva.whiteboard.WhiteboardState
 
_previousButton - Variable in class diva.whiteboard.Whiteboard
 
_previousMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_printMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_progress - Variable in class diva.gui.toolbox.JStatusBar
The progress bar associated with this status bar
_properties - Variable in class diva.sketch.recognition.TimedStroke
An array storing the timestamps of the points in the stroke path.
_random - Variable in class diva.graph.layout.GridAnnealingLayout
The random number generator used in choosing which nodes to swap.
_rebuildLayerArray() - Method in class diva.canvas.GraphicsPane
Rebuild the array of layers for use by iterators
_rebuildLayerArray() - Method in class diva.sketch.SketchPane
Rebuild the array of layers for use by iterators.
_rebuildLayerArray() - Method in class diva.whiteboard.SketchTest2.LocalSketchPane
Rebuild the array of layers for use by iterators.
_rebuildLayerArray() - Method in class diva.whiteboard.SketchTest3.LocalSketchPane
Rebuild the array of layers for use by iterators.
_redoMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_renderNode(Object) - Method in class diva.graph.NodeController
Render the given node using the node renderer.
_sameID(BitSet, BitSet) - Method in class diva.sketch.recognition.BasicScene
Return true if the supports of the two elements (i.e.
_saveAsGIFMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_saveAsMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_saveButton - Variable in class diva.whiteboard.Whiteboard
 
_saveMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_selectionFilter - Variable in class diva.sketch.BasicSketchController
The filter for selection interactor.
_singleCommand - Variable in class diva.whiteboard.WhiteboardView.SketchInterpreter
 
_sketchFilter - Variable in class diva.sketch.BasicSketchController
The filter for sketching.
_sketchModeButton - Variable in class diva.whiteboard.Whiteboard
 
_sketchModel - Variable in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
_sketchModel - Variable in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
_sketchModel - Variable in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
_sketchPanes - Variable in class diva.whiteboard.WhiteboardView
A mapping from document pages to sketch panes.
_sparseness - Variable in class diva.graph.layout.GridAnnealingLayout
A sparseness measure for the layout.
_storagePolicy - Variable in class diva.whiteboard.Whiteboard
A copy of the storage policy reference
_strokeBuffer - Variable in class diva.sketch.BasicInterpreter
A buffer for the stroke that's currently being drawn.
_symbol - Variable in class diva.whiteboard.WhiteboardEdits.StrokeWidthEdit
 
_symbol - Variable in class diva.whiteboard.WhiteboardEdits.StrokeOutlineColorEdit
 
_symbol - Variable in class diva.whiteboard.WhiteboardEdits.StrokeFillColorEdit
 
_target - Variable in class diva.graph.layout.LevelLayout.LevelData
The layout target that is passed in by the user and used to assign the layout to the view.
_targetHighlighter - Variable in class diva.canvas.connector.ConnectorManipulator
The highlighter listener
_targetProperty - Variable in class diva.canvas.connector.ConnectorManipulator
The property name that is tested to see if a figure is a possible drop target.
_targetPropertyValue - Variable in class diva.canvas.connector.ConnectorManipulator
The value of the property that is tested to see if a figure is a possible drop target.
_text - Variable in class diva.gui.tutorial.TextDocument
The string contained in this document.
_thetaList - Variable in class diva.apps.Generator
 
_thetaMu - Variable in class diva.apps.Generator
 
_thetaMuVectors - Variable in class diva.apps.Generator
 
_thetaSigma - Variable in class diva.apps.Generator
 
_threshold - Variable in class diva.apps.Generator
 
_title - Variable in class diva.gui.MultipageDocument
The title associated with this document.
_undoAdaptor - Variable in class diva.whiteboard.Whiteboard
 
_undoMenuItem - Variable in class diva.whiteboard.Whiteboard
 
_verbose - Variable in class diva.util.LoggableOp
 
_whiteboardState - Variable in class diva.whiteboard.Whiteboard
Tool Bar Buttons
_widthButton - Variable in class diva.whiteboard.Whiteboard
 
_widthPopupMenu - Variable in class diva.whiteboard.Whiteboard
 
_writer - Variable in class diva.gui.MultipageDocument
The writer that can write this document to a stream during a save operation.

< A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

Contact 
©2002-2018 U.C. Regents