This package contains the classes and interfaces that control the rendering of a mathematical document.
Central to the view package is the WmiView interface. Classes that implement this interface
can be integrated into the mathdoc framework. The WmiCompositeView interface
extends the API for views that contain subviews. Altough the WmiCompositeView interface closely
mirrors WmiModelView in the model package, there is not necessarily a one-to-one mapping between
model and view. For example, a paragraph view is broken into rows, and the position of the linebreaks
is not stored in the model.
The WmiCaret class is used for displaying a text caret in the document. The caret is used
to convey document position, and window focus. Two types of carets are supported: bar, and frame. The
bar caret is the plain vertical bar that is commonly seen in most text editors. The frame caret, is used
for 2D math to indicate more precise 2D positioning. For example, the caret clearly indicates if a
user input will be appended to the previous box or prepended to the next box if the caret position lies at
a box boundary.