All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.trumphurst.controls.TView

public interface TView
Document/View architecture - a View of the Document. This interface is implemented by any control which provides a view of a TDocument. The document maintains a list of all active views, and uses this interface to inform them if something in the document has changed. The Document/View architecture allows the same document to be displayed in multiple different Views (representations). This implementation is sufficiently light to be efficient even if there is only one View of each Document.

See Also:
TDocument, MultiColumnList

Variable Index

 o version

Method Index

 o attach(TDocument)
Attach the View to the Document.
 o detach(TDocument)
Detach the View from the Document.
 o update()
The Document has changed - update the whole view.
 o update(Object)
Part of the Document has changed.

Variables

 o version
 public static final RCSVersion version

Methods

 o update
 public abstract void update()
The Document has changed - update the whole view.

 o update
 public abstract void update(Object o)
Part of the Document has changed.

Parameters:
o - Object representing that part of the document. which has changed.
 o attach
 public abstract void attach(TDocument d)
Attach the View to the Document.

Parameters:
document - the Document.
See Also:
addView
 o detach
 public abstract void detach(TDocument d)
Detach the View from the Document.

See Also:
removeView

All Packages  Class Hierarchy  This Package  Previous  Next  Index