Drawing is the model role of the MVC pattern, a container of Figure instances in MiniDraw.
DrawingChangeListener defines the observer role of an object listening to DrawingChangeEvents from a Drawing.
The DrawingChangeListenerHandler defines a role for an object that maintains the set of DrawingChangeListener's used by a Drawing.
The DrawingEditor is the interface of the "main" class of any minidraw application.
The graphical output role of MiniDraw, representing the View role of the MVC pattern.
Abstract factory for creating implementations of the central roles used in MiniDraw.
This interface defines the role of a Figure in a MiniDraw drawing.
The Observer role, a listener interested in Figure changes.
A strategy for selecting figures when using the SelectAreaTracker.
The selection handler role defines the interface for the responsibility of managing a drawing's multiple figure selection mechanism.
Tool is the Controller role in the MVC pattern for MiniDraw.
The change event originating from a drawing.
FigureChange event passed to FigureChangeListeners.
This package contains the central interfaces and abstractions of the MiniDraw framework.
For further details, please consult "Flexible, Reliable Software - Using Patterns and Agile Development", by Henrik Baerbak Christensen, CRC Press 2010.
Copyright 2010 Henrik Baerbak Christensen Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
From the book: Flexible, Reliable Software, © CRC Press 2010. Author: Henrik B. Christensen, Aarhus University, Denmark