|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.demo.gui.DemoTool
public class DemoTool
| Field Summary | |
|---|---|
static java.lang.String |
RECORDING_FILE_EXTENSION
Extension for recording file. |
| Constructor Summary | |
|---|---|
DemoTool()
|
|
| Method Summary | |
|---|---|
void |
attachComponents(java.awt.Frame frame,
FrameVisibilityListener visibilityListener,
java.awt.Container container,
MacroSource... macroSources)
Attaches the Component instances for demo generation. |
int |
createMacroIndex()
Creates the Macro index. |
MacroList |
getMacroList()
Obtains the MacroList. |
java.awt.Rectangle |
getRecordingArea()
Obtains the Rectangle providing the absolute location of the
recording area. |
int[] |
getSelectedMacroIndices()
Obtains the indices of the selected Macro instances. |
Macro[] |
getSelectedMacros(boolean isReturnAllIfNoneSelected)
Obtains the selected Macro instances. |
static void |
main(java.lang.String[] args)
Provides ability to run the Demo Tool from command line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RECORDING_FILE_EXTENSION
| Constructor Detail |
|---|
public DemoTool()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.awt.AWTException
args - Command line arguments.
java.awt.AWTException
public void attachComponents(java.awt.Frame frame,
FrameVisibilityListener visibilityListener,
java.awt.Container container,
MacroSource... macroSources)
throws java.awt.AWTException
Component instances for demo generation.
frame - Frame containing the Container.visibilityListener - FrameVisibilityListener. May be null.container - Container to attach the Component instances.macroSources - Optional additional MacroSource instances.
java.awt.AWTException - If running in headless environment.public java.awt.Rectangle getRecordingArea()
Rectangle providing the absolute location of the
recording area.
Rectangle providing the absolute location of the
recording area.public Macro[] getSelectedMacros(boolean isReturnAllIfNoneSelected)
Macro instances.
isReturnAllIfNoneSelected - true indicates to return all Macro
instances if none are selected.
Macro instances.public int[] getSelectedMacroIndices()
Macro instances.
Macro instances.public MacroList getMacroList()
MacroList.
MacroList.public int createMacroIndex()
MacroIndexFactoryMacro index.
createMacroIndex in interface MacroIndexFactoryMacro index or -1 indicating not specified.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||