JavaDepict
-
Use a Model-View-Controller pattern
-
The model (an Enhanced Graphics OBject or EGOB) is a storable
representation, totally independent of how it is viewed
-
Daylight's current depiction model follows this to some extent
Depictions are Graphics Objects(gobs) which are exchanged as arrays of
bytes.
-
The view is independent of the model and interacts with it
only via strictly defined interfaces. This implies that it can be varied
independently of the model.
-
The view controller communicates with both the model and
its views, so as to let the user alter characteristics of either. The controller
(also called the Inspector) is invoked by clicking a view and represents
only that view and its model's properties.
-
Since the interface implemented by the model and the view
will be public, 3rd party views/controllers will be integrable into the
setup.
-
Link to the current work in progress (demo)