public class ArooaDesigner extends java.lang.Object implements ArooaSessionAware, java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
boolean |
stop |
Constructor and Description |
---|
ArooaDesigner()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ArooaType |
getArooaType() |
java.io.File |
getDir() |
ArooaElement |
getDocumentElement()
Get the root element.
|
java.io.File |
getFile()
Get the config file name.
|
javax.swing.JFrame |
getFrame() |
DesignFactory |
getRootFactory() |
void |
load(java.io.File file) |
void |
run() |
void |
setArooaSession(ArooaSession session)
Accept the current Arooa Session.
|
void |
setArooaType(ArooaType component) |
void |
setDir(java.io.File dir)
Set the default directory.
|
void |
setDocumentElement(ArooaElement documentElement)
Set the root element when a designer is restricted to
a single root element.
|
void |
setFile(java.io.File configFile)
Set the config file name.
|
void |
setRootFactory(DesignFactory designFactory) |
void |
stop()
Stop the monitor.
|
public void setArooaSession(ArooaSession session)
ArooaSessionAware
setArooaSession
in interface ArooaSessionAware
session
- The Arooa Session. Never null.public void setFile(java.io.File configFile)
configFile
- The config file name.public java.io.File getFile()
public void setDir(java.io.File dir)
dir
- A directory.public java.io.File getDir()
public void load(java.io.File file)
public void run()
run
in interface java.lang.Runnable
public void stop()
public javax.swing.JFrame getFrame()
public DesignFactory getRootFactory()
public void setRootFactory(DesignFactory designFactory)
public ArooaElement getDocumentElement()
public void setDocumentElement(ArooaElement documentElement)
documentElement
- public ArooaType getArooaType()
public void setArooaType(ArooaType component)