| java.lang.Object org.openlaszlo.compiler.ObjectWriter org.openlaszlo.compiler.DHTMLWriter
All known Subclasses: org.openlaszlo.compiler.NullWriter, org.openlaszlo.compiler.LibraryWriter,
DHTMLWriter | class DHTMLWriter extends ObjectWriter (Code) | | Accumulates code, XML, and assets to a DHTML object file.
Properties documented in Compiler.getProperties.
|
Method Summary | |
void | addPreloader(CompilationEnvironment env) | void | addPreloaderScript(String script) | public int | addScript(String script) | public void | close() | public void | closeSnippet() | FontManager | getFontManager() | protected Resource | getResource(String fileName, String name, boolean stop) Get a resource descriptor without resource content. | public void | importBaseLibrary(String library, CompilationEnvironment env) | public String | importClickResource(File file) | public void | importFontStyle(String fileName, String face, String style, CompilationEnvironment env) | public void | importPreloadResource(File fileName, String name) | public void | importPreloadResource(String fileName, String name) | public void | importPreloadResource(List sources, String name, File parent) Import a multiframe resource into the current movie. | public void | importResource(String fileName, String name) Import a resource file into the current movie. | public void | importResource(File inputFile, String name) | public void | importResource(List sources, String sResourceName, File parent) | public boolean | isDeviceFont(String face) | public void | openSnippet(String url) | void | setCanvas(Canvas canvas, String canvasConstructor) | void | setCanvasDefaults(Canvas canvas, CompilerMediaCache mc) | public void | setDeviceFont(String face) | public void | setFontManager(FontManager fm) | public void | writeResourceLibraryDescriptor(List sources, String sResourceName, File parent) |
mLogger | protected static Logger mLogger(Code) | | Logger
|
addPreloaderScript | void addPreloaderScript(String script)(Code) | | |
getResource | protected Resource getResource(String fileName, String name, boolean stop) throws ImportResourceError(Code) | | Get a resource descriptor without resource content.
Parameters: name - name of the resource Parameters: fileName - file name of the resource Parameters: stop - include stop action if true |
importClickResource | public String importClickResource(File file) throws ImportResourceError(Code) | | |
importPreloadResource | public void importPreloadResource(File fileName, String name) throws ImportResourceError(Code) | | |
importPreloadResource | public void importPreloadResource(String fileName, String name) throws ImportResourceError(Code) | | |
importPreloadResource | public void importPreloadResource(List sources, String name, File parent) throws ImportResourceError(Code) | | Import a multiframe resource into the current movie. Using a
name that already exists clobbers the old resource (for now).
|
importResource | public void importResource(String fileName, String name) throws ImportResourceError(Code) | | Import a resource file into the current movie.
Using a name that already exists clobbers the
old resource (for now).
Parameters: fileName - file name of the resource Parameters: name - name of the MovieClip/Sprite throws: CompilationError - |
importResource | public void importResource(File inputFile, String name) throws ImportResourceError(Code) | | |
setCanvas | void setCanvas(Canvas canvas, String canvasConstructor)(Code) | | Sets the canvas for the app
Parameters: canvas - |
writeResourceLibraryDescriptor | public void writeResourceLibraryDescriptor(List sources, String sResourceName, File parent)(Code) | | |
Methods inherited from org.openlaszlo.compiler.ObjectWriter | abstract void addPreloader(CompilationEnvironment env)(Code)(Java Doc) abstract void addPreloaderScript(String script)(Code)(Java Doc) abstract public int addScript(String script)(Code)(Java Doc) abstract public void close() throws IOException(Code)(Java Doc) abstract public void closeSnippet() throws IOException(Code)(Java Doc) String createName()(Code)(Java Doc) abstract FontManager getFontManager()(Code)(Java Doc) protected Resource getMultiFrameResource(String fileName, String name, int fNum) throws ImportResourceError(Code)(Java Doc) protected Resource getResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc) protected Resource getResource(String fileName, String name, boolean stop) throws ImportResourceError(Code)(Java Doc) abstract public void importBaseLibrary(String library, CompilationEnvironment env)(Code)(Java Doc) abstract public String importClickResource(File file) throws ImportResourceError(Code)(Java Doc) abstract void importFontStyle(String fileName, String face, String style, CompilationEnvironment env) throws FileNotFoundException, CompilationError(Code)(Java Doc) protected Resource importMP3(String fileName, String name) throws IVException, IOException(Code)(Java Doc) abstract public void importPreloadResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc) abstract public void importPreloadResource(File fileName, String name) throws ImportResourceError(Code)(Java Doc) abstract public void importPreloadResource(List sources, String name, File parent) throws ImportResourceError(Code)(Java Doc) public String importResource(File file)(Code)(Java Doc) abstract public void importResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc) abstract public void importResource(File fFile, String name) throws ImportResourceError(Code)(Java Doc) abstract public void importResource(List sources, String name, File parent)(Code)(Java Doc) protected Resource importSWF(String fileName, String name, boolean addStop) throws IVException, FileNotFoundException(Code)(Java Doc) abstract public boolean isDeviceFont(String face)(Code)(Java Doc) abstract public void openSnippet(String url) throws IOException(Code)(Java Doc) abstract void setCanvas(Canvas canvas, String canvasConstructor)(Code)(Java Doc) abstract void setCanvasDefaults(Canvas canvas, CompilerMediaCache mc)(Code)(Java Doc) abstract public void setDeviceFont(String face)(Code)(Java Doc) abstract public void setFontManager(FontManager fm)(Code)(Java Doc) public void setScriptLimits(int recursion, int timeout)(Code)(Java Doc) public static String stripBaseName(String fileName, CompilationEnvironment env)(Code)(Java Doc) void warn(CompilationEnvironment env, String msg)(Code)(Java Doc)
|
|
|