public CharSequence[] statementArgs()
{
CharSequence[] argsArray = new CharSequence[2];
// First css properties
Options opts = new Options();
for (Entry<String, String> entry : this.properties.entrySet())
{
opts.putLiteral(entry.getKey(), entry.getValue());
}
argsArray[0] = opts.getJavaScriptOptions();
// Now, the option properties
opts = new Options(); // Flush
if (getComplete() != null)
{
opts.put("complete", getComplete());
}
if (getDuration() != null)
{
opts.put("duration", getDuration().getJavascriptOption().toString());
}
if (getEasing() != null)
{
opts.putLiteral("easing", getEasing());
}
if (getStep() != null)
{
opts.put("step", getStep());
}
if (isQueue() != null)
{
opts.put("queue", isQueue());
}
if (getSpecialEasing() != null)
{
Options opts2 = new Options();
for (Entry<String, String> entry : getSpecialEasing().entrySet())
{
opts2.putLiteral(entry.getKey(), entry.getValue());
}
opts.put("specialEasing", opts2.getJavaScriptOptions().toString());
}
argsArray[1] = opts.getJavaScriptOptions();
return argsArray;