| java.lang.Object org.openlaszlo.compiler.ObjectWriter org.openlaszlo.compiler.DHTMLWriter org.openlaszlo.compiler.LibraryWriter
LibraryWriter | class LibraryWriter extends DHTMLWriter (Code) | | Accumulates code, XML, and assets to a Library object file.
Properties documented in Compiler.getProperties.
|
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 - |
Methods inherited from org.openlaszlo.compiler.DHTMLWriter | void addPreloader(CompilationEnvironment env)(Code)(Java Doc) void addPreloaderScript(String script)(Code)(Java Doc) public int addScript(String script)(Code)(Java Doc) public void close() throws IOException(Code)(Java Doc) public void closeSnippet() throws IOException(Code)(Java Doc) FontManager getFontManager()(Code)(Java Doc) protected Resource getResource(String fileName, String name, boolean stop) throws ImportResourceError(Code)(Java Doc) public void importBaseLibrary(String library, CompilationEnvironment env)(Code)(Java Doc) public String importClickResource(File file) throws ImportResourceError(Code)(Java Doc) public void importFontStyle(String fileName, String face, String style, CompilationEnvironment env) throws FileNotFoundException, CompilationError(Code)(Java Doc) public void importPreloadResource(File fileName, String name) throws ImportResourceError(Code)(Java Doc) public void importPreloadResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc) public void importPreloadResource(List sources, String name, File parent) throws ImportResourceError(Code)(Java Doc) public void importResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc) public void importResource(File inputFile, String name) throws ImportResourceError(Code)(Java Doc) public void importResource(List sources, String sResourceName, File parent)(Code)(Java Doc) public boolean isDeviceFont(String face)(Code)(Java Doc) public void openSnippet(String url) throws IOException(Code)(Java Doc) void setCanvas(Canvas canvas, String canvasConstructor)(Code)(Java Doc) void setCanvasDefaults(Canvas canvas, CompilerMediaCache mc)(Code)(Java Doc) public void setDeviceFont(String face)(Code)(Java Doc) public void setFontManager(FontManager fm)(Code)(Java Doc) public void writeResourceLibraryDescriptor(List sources, String sResourceName, File parent)(Code)(Java Doc)
|
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)
|
|
|