| 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.GenericXMLCommand
All known Subclasses: org.openlaszlo.iv.flash.commands.GeneralXMLListCommand, org.openlaszlo.iv.flash.commands.XMLReplicateMovieClipCommand,
GenericXMLCommand | public class GenericXMLCommand extends GenericCommand (Code) | | Base class for most XML commands
|
evalBoolParameter | protected boolean evalBoolParameter(Context context, String path, boolean def)(Code) | | Evaluate given Path in given Context and return the result as a boolean
Parameters: context - Context to evaluate Path in Parameters: path - Path which will be executed Parameters: def - default value returned in case of any errors result as boolean |
evalDoubleParameter | protected double evalDoubleParameter(Context context, String path, double def)(Code) | | Evaluate given Path in given Context and return the result as a double
Parameters: context - Context to evaluate Path in Parameters: path - Path which will be executed Parameters: def - default value returned in case of any errors result as a double |
evalIntParameter | protected int evalIntParameter(Context context, String path, int def)(Code) | | Evaluate given Path in given Context and return the result as a int
Parameters: context - Context to evaluate Path in Parameters: path - Path which will be executed Parameters: def - default value returned in case of any errors result as a int |
evalStringParameter | protected String evalStringParameter(Context context, String path, String def)(Code) | | Evaluate given Path in given Context and return the result as a String
Parameters: context - Context to evaluate Path in Parameters: path - String which will be executed Parameters: def - default value returned in case of any errors result as a string |
getGraphContext | protected GraphContext getGraphContext(FlashFile file, Context context) throws IVException(Code) | | Return GraphContext for this command, either by creating one from datasource parameter
or returning nearest parent GraphContext or null
Parameters: file - current FlashFile Parameters: context - current context for this command GraphContext for the command or null |
initParms | protected void initParms(Context context) throws IVException(Code) | | Init common parameters of xml based commands
|
retrieveGraphContext | protected GraphContext retrieveGraphContext(Context context)(Code) | | Retrieve nearest parent GraphContext from contexts' stack
Parameters: context - context to start searching from found GraphContext or null |
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)
|
|
|