All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class editor.Editor

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----editor.Editor

public class Editor
extends Frame
implements ActionListener

Variable Index

 o actionOk
 o activeState
 o cbbezier
 o edRef
 o endPoint
 o fontsize
 o gui
 o newRect
 o scrollX
 o scrollY
 o startPoint
 o statechart
 o stateList

Constructor Index

 o Editor(Statechart, String, int, int, int, int, GUIInterface)
public Editor(Statechart st, String l) Erzeugt ein Editorobjekt und öffnet ein Editorfenster

Method Index

 o actionPerformed(ActionEvent)
 o Dispose()
schliesst das Editorfenster
 o getChangedStatechart()
 o getRef()
 o getStatechart()
Liefert den aktuellen Statechart zurück.
 o listenEditor()
 o paint(Graphics)
 o setChangedStatechart(boolean)
 o work()
 o work(boolean)

Variables

 o statechart
 protected Statechart statechart
 o startPoint
 protected Point startPoint
 o endPoint
 protected Point endPoint
 o activeState
 protected State activeState
 o newRect
 protected CRectangle newRect
 o actionOk
 protected boolean actionOk
 o stateList
 protected StateList stateList
 o scrollX
 protected int scrollX
 o scrollY
 protected int scrollY
 o gui
 protected GUIInterface gui
 o cbbezier
 protected CheckboxMenuItem cbbezier
 o fontsize
 protected int fontsize
 o edRef
 protected static Editor edRef

Constructors

 o Editor
 public Editor(Statechart st,
               String l,
               int x,
               int y,
               int width,
               int height,
               GUIInterface gui_interface)
public Editor(Statechart st, String l) Erzeugt ein Editorobjekt und öffnet ein Editorfenster

Parameters:
st - Eine Statechart-Instanz, die angezeigt werden soll und dann bearbeitet werden kann.
l - Ein Bezeichner fuer den Statechart

Methods

 o getRef
 protected static Editor getRef()
 o getStatechart
 protected Statechart getStatechart()
Liefert den aktuellen Statechart zurück.

Returns:
den aktuellen Statechart
 o setChangedStatechart
 protected void setChangedStatechart(boolean b)
 o getChangedStatechart
 protected boolean getChangedStatechart()
 o listenEditor
 public boolean listenEditor()
 o Dispose
 public static void Dispose()
schliesst das Editorfenster

 o work
 public static boolean work(boolean b)
Parameters:
boolean - b -
 o work
 public static boolean work()
 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index