|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This is the top level interface of a set of interfaces, abstract classes and
classes which altogether provide us with a flexible Outliner object.
The Outliner object is used in order to outline the content of documents.
By documents one must understand implementations of the Document
interface.
This Outliner is currently implemented as a Tree but a Table implementation
will be provided in a foreseeable future.
The data Model used for this Outliner can be customized by
client applications. It is also possible to switch between data Models at
runtime.
In order to satisfy these requirements the Strategy Design Pattern is used.
This interface is currently extended by the TreeStrategy interface and should
soon be extended by a TableStrategy interface which would be used for the
forthcoming TableOutliner.
This interface defines the following factory method in order to retrieve the Comparator:
Document,
TreeOutliner,
TreeStrategy| Method Summary | |
java.util.Comparator |
getComparator(boolean asc)
Factory method which returns a Comparator that can be used in order to
sort the Ouliner nodes. |
| Method Detail |
public java.util.Comparator getComparator(boolean asc)
Factory method which returns a Comparator that can be used in order to
sort the Ouliner nodes.
asc - True if an ascending sorting is required, false if a descending sorting
is required.
Comparator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||