Package org.oddjob.arooa.design.designer
Class ArooaDesigner
java.lang.Object
org.oddjob.arooa.design.designer.ArooaDesigner
- All Implemented Interfaces:
Runnable,ArooaSessionAware
- Author:
- Rob Gordon
Description
Run a GUI designer for Oddjob.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDir()Get the root element.getFile()Get the config file name.getFrame()voidvoidrun()voidsetArooaSession(ArooaSession session) Accept the current Arooa Session.voidsetArooaType(ArooaType component) voidSet the default directory.voidsetDocumentElement(ArooaElement documentElement) Set the root element when a designer is restricted to a single root element.voidSet the config file name.voidsetRootFactory(DesignFactory designFactory) voidstop()Stop the monitor.
-
Field Details
-
stop
public volatile boolean stop
-
-
Constructor Details
-
ArooaDesigner
public ArooaDesigner()Constructor.
-
-
Method Details
-
setArooaSession
Description copied from interface:ArooaSessionAwareAccept the current Arooa Session.- Specified by:
setArooaSessionin interfaceArooaSessionAware- Parameters:
session- The Arooa Session. Never null.
-
setFile
Set the config file name.- Parameters:
configFile- The config file name.
-
getFile
Get the config file name.- Returns:
- The config file name.
-
setDir
Set the default directory.- Parameters:
dir- A directory.
-
getDir
-
load
-
run
public void run() -
stop
public void stop()Stop the monitor. -
getFrame
-
getRootFactory
-
setRootFactory
-
getDocumentElement
Get the root element.- Returns:
- The root element.
-
setDocumentElement
Set the root element when a designer is restricted to a single root element.- Parameters:
documentElement- the root element.
-
getArooaType
-
setArooaType
-