Class ArooaDesigner

java.lang.Object
org.oddjob.arooa.design.designer.ArooaDesigner
All Implemented Interfaces:
Runnable, ArooaSessionAware

public class ArooaDesigner extends Object implements ArooaSessionAware, Runnable
Author:
Rob Gordon

Description

Run a GUI designer for Oddjob.
  • Field Details

    • stop

      public volatile boolean stop
  • Constructor Details

    • ArooaDesigner

      public ArooaDesigner()
      Constructor.
  • Method Details

    • setArooaSession

      public void setArooaSession(ArooaSession session)
      Description copied from interface: ArooaSessionAware
      Accept the current Arooa Session.
      Specified by:
      setArooaSession in interface ArooaSessionAware
      Parameters:
      session - The Arooa Session. Never null.
    • setFile

      public void setFile(File configFile)
      Set the config file name.
      Parameters:
      configFile - The config file name.
    • getFile

      public File getFile()
      Get the config file name.
      Returns:
      The config file name.
    • setDir

      public void setDir(File dir)
      Set the default directory.
      Parameters:
      dir - A directory.
    • getDir

      public File getDir()
    • load

      public void load(File file)
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • stop

      public void stop()
      Stop the monitor.
    • getFrame

      public JFrame getFrame()
    • getRootFactory

      public DesignFactory getRootFactory()
    • setRootFactory

      public void setRootFactory(DesignFactory designFactory)
    • getDocumentElement

      public ArooaElement getDocumentElement()
      Get the root element.
      Returns:
      The root element.
    • setDocumentElement

      public void setDocumentElement(ArooaElement documentElement)
      Set the root element when a designer is restricted to a single root element.
      Parameters:
      documentElement - the root element.
    • getArooaType

      public ArooaType getArooaType()
    • setArooaType

      public void setArooaType(ArooaType component)