Klasse MainWindow

Alle implementierten Schnittstellen:
ImageObserver, MenuContainer, Serializable, Accessible

public class MainWindow extends Frame
Frame where the wiring is displayed. Manages all threads - stops them before closing.
Siehe auch:
  • Felddetails

  • Konstruktordetails

    • MainWindow

      public MainWindow(WiringStarter runWiring, String wiringName, WindowLocator.Strategy meterWindowLocation)
      Creates and shows ClosableFrame.
      Parameter:
      meterWindowLocation -
      title - title of ClosableFrame
  • Methodendetails

    • setSize

      public void setSize(Dimension d)
      Setzt außer Kraft:
      setSize in Klasse Window
    • addMenuItem

      public void addMenuItem(String menuLabel, MenuItemAction menuItemAction)
    • createMainProperty

      public MainProperty createMainProperty(String title)
    • createMainSetup

      public MainSetup createMainSetup(String title)
    • isFocusable

      public boolean isFocusable()
      Setzt außer Kraft:
      isFocusable in Klasse Component
    • getInsets

      public Insets getInsets()
      Produces an empty space around the Frame. (non-Javadoc)
      Setzt außer Kraft:
      getInsets in Klasse Container
      Siehe auch:
    • getThreadManager

      public TimerThreadManager getThreadManager()
    • getRunWiring

      public WiringStarter getRunWiring()
    • getMeterLocation

      public Point getMeterLocation(Dimension size)
      Parameter:
      size - size of meter to be displayed
      Gibt zurück:
      point where to locate the meter
    • getPropertyWindowLocator

      public WindowLocator getPropertyWindowLocator()
    • enableCloseDialog

      public void enableCloseDialog()
      add WindowListener to close the Window
    • exit

      public void exit()
    • isInactive

      public boolean isInactive()
    • stopAllThreads

      public void stopAllThreads()
    • interruptAllThreadsCloseResources

      public void interruptAllThreadsCloseResources()
    • notifyThreadsFinalized

      public void notifyThreadsFinalized()
    • copy

      public void copy()
    • paste

      public void paste()
    • save

      public void save()
    • createSimulationSpeedMouseWheelListener

      public MouseWeelListener createSimulationSpeedMouseWheelListener(Window window)
    • getMenuCreator

      public MenuCreator getMenuCreator()