| java.lang.Object org.openlaszlo.iv.flash.api.FlashItem org.openlaszlo.iv.flash.api.FlashObject org.openlaszlo.iv.flash.commands.GenericCommand org.openlaszlo.iv.flash.commands.InsertMediaCommand
InsertMediaCommand | public class InsertMediaCommand extends GenericCommand (Code) | | Insert Media generator command
Insert gif, jpg, png, swf or swt
Detect media type from its data, not from extension
if 'scalex' or 'scaley' are not null, then scale width or/and height
of the image accordingly, the placeholder's scaling is ignored
if both 'scalex' and 'scaley' are null then check 'scale'. if it's true
then scale image to the placeholder size, if scale is false then leave the
image as is and ignore the placeholder's scaling
author: Dmitry Skavish |
InsertMediaCommand | public InsertMediaCommand()(Code) | | |
Methods inherited from org.openlaszlo.iv.flash.commands.GenericCommand | protected void addMask(Script script, int frameNum, Instance inst, int width, int height)(Code)(Java Doc) protected void addMask(Script script, int frameNum, Instance inst, Rectangle2D maskRect)(Code)(Java Doc) public void addParameter(String name, String value)(Code)(Java Doc) public static GenericCommand checkAndParseMX(Instance instance)(Code)(Java Doc) protected FlashItem copyInto(FlashItem item, ScriptCopier copier)(Code)(Java Doc) public void doCommand(FlashFile file, Context context, Script parent, int frame) throws IVException(Code)(Java Doc) protected int findColumn(String columnName, String[][] data)(Code)(Java Doc) public boolean getBoolParameter(String name)(Code)(Java Doc) public boolean getBoolParameter(String name, boolean def)(Code)(Java Doc) public boolean getBoolParameter(Context context, String name, boolean def)(Code)(Java Doc) public AlphaColor getColorParameter(Context context, String name, AlphaColor def)(Code)(Java Doc) public Instance getCommandInstance(FlashFile file, Context context, Script parent, int frameNum) throws IVException(Code)(Java Doc) public String getCommandName()(Code)(Java Doc) public FlashItem getCopy(ScriptCopier copier)(Code)(Java Doc) public int getDepth()(Code)(Java Doc) public double getDoubleParameter(Context context, String name, double def)(Code)(Java Doc) public int getFlags()(Code)(Java Doc) protected Font getFont(FlashFile file, String fontName)(Code)(Java Doc) public int getFrameNum()(Code)(Java Doc) public Instance getInstance()(Code)(Java Doc) public int getIntParameter(Context context, String name, int def)(Code)(Java Doc) protected Shape getMask(Rectangle2D r)(Code)(Java Doc) public String getParameter(String name)(Code)(Java Doc) public String getParameter(String name, String defaultValue)(Code)(Java Doc) public String getParameter(Context context, String name, String def)(Code)(Java Doc) public String getParameter(Context context, String name)(Code)(Java Doc) public IVVector getParameterNames()(Code)(Java Doc) public int getTag()(Code)(Java Doc) public int getType()(Code)(Java Doc) public boolean isComponent()(Code)(Java Doc) protected boolean isDefault(String s)(Code)(Java Doc) public boolean isGlobal()(Code)(Java Doc) protected Context makeContext(Context context, String[][] data, int row) throws IVException(Code)(Java Doc) protected LazyText newSimpleText(String txt, Font font, int height, AlphaColor color)(Code)(Java Doc) protected Text newText(FlashFile file, String msg, Font font, int size, AlphaColor color, Rectangle2D rect)(Code)(Java Doc) protected Text newText(FlashFile file, String msg, Font font, int size, AlphaColor color, int width, int height)(Code)(Java Doc) protected Text newText(FlashFile file, String msg, String fontName, int size, AlphaColor color, Rectangle2D rect)(Code)(Java Doc) public static GenericCommand parse(Parser p)(Code)(Java Doc) public void printContent(PrintStream out, String indent)(Code)(Java Doc) protected void processFlashDef(Instance inst, FlashFile file, Context context) throws IVException(Code)(Java Doc) public void setDepth(int depth)(Code)(Java Doc) public void setFlags(int flags)(Code)(Java Doc) public void setFrameNum(int frameNum)(Code)(Java Doc) public void setInstance(Instance instance)(Code)(Java Doc) public void setIsComponent(boolean isComponent)(Code)(Java Doc) public void setParameter(String name, String value)(Code)(Java Doc) public void setType(int type)(Code)(Java Doc) public void write(FlashOutput fob)(Code)(Java Doc)
|
|
|