All Packages Class Hierarchy This Package Previous Next Index
Class dispatcher.Dispatcher
java.lang.Object
|
+----dispatcher.Dispatcher
- public class Dispatcher
- extends Object
This file treats all changes that are performed on the pic file
-
Dispatcher()
-
-
createShape(int, Graphics)
- Creates a shape of a given type.
-
dummyTreatment(String)
- Treats the pic file changes that don't require the new shape creation
-
edit(int, Graphics)
- Treats edit actions that is cut, copy, paste
-
heavyTreatment(Graphics, String)
- This method treats pic file changes that require the compilation.
-
setInsertionPoint()
- Sets the insertion point for the current shape
Dispatcher
public Dispatcher()
createShape
public static void createShape(int ShapeType,
Graphics graphics)
- Creates a shape of a given type.
Choose approprite treatment method accodring to shape's position
dummyTreatment
public static void dummyTreatment(String insertedText)
- Treats the pic file changes that don't require the new shape creation
edit
public static void edit(int editType,
Graphics graphics)
- Treats edit actions that is cut, copy, paste
setInsertionPoint
public static void setInsertionPoint()
- Sets the insertion point for the current shape
heavyTreatment
public static void heavyTreatment(Graphics graphics,
String picText)
- This method treats pic file changes that require the compilation.
It saves previous program state and recover it if compiler
reports an error.
All Packages Class Hierarchy This Package Previous Next Index