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
-
version
-
-
attach(TDocument)
- Attach the View to the Document.
-
detach(TDocument)
- Detach the View from the Document.
-
update()
- The Document has changed - update the whole view.
-
update(Object)
-
Part of the Document has changed.
version
public static final RCSVersion version
update
public abstract void update()
- The Document has changed - update the whole view.
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.
attach
public abstract void attach(TDocument d)
- Attach the View to the Document.
- Parameters:
- document - the Document.
- See Also:
- addView
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