Java Doc for Frame.java in  » Ajax » Laszlo-4.0.10 » org » openlaszlo » iv » flash » api » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » Laszlo 4.0.10 » org.openlaszlo.iv.flash.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openlaszlo.iv.flash.util.IVVector
      org.openlaszlo.iv.flash.api.Frame

Frame
final public class Frame extends IVVector (Code)
A movie frame

A frame contains zero or more FlashObjects. A frame can have a name (to be referenced in gotoFrame action).
author:
   Dmitry Skavish
See Also:   Timeline




Constructor Summary
public  Frame()
    
public  Frame(int capacity)
    
public  Frame(IVVector data)
    

Method Summary
public  voidaddBounds(Rectangle2D rect)
    
public  voidaddFlashObject(FlashObject o)
    
public  InstanceaddInstance(FlashDef def, int depth, AffineTransform matrix, CXForm cxform)
     Adds flash object's instance to this frame

Creates new instance and adds it to this frame using specified depth, matrix and cxform.

public  InstanceaddInstance(FlashDef def, int depth, AffineTransform matrix, CXForm cxform, String name)
     Adds flash object's instance to this frame

Creates new instance and adds it to this frame using specified depth, matrix, cxform and name.

public  InstanceaddInstance(int depth, AffineTransform matrix)
     Adds new instance of flash object which is already on a timeline with new transformation matrix

Creates new instance of an existing on a timeline flash object and assigns specified transformation matrix to it.

public  InstanceaddInstance(int depth, AffineTransform matrix, CXForm cxform)
     Adds new instance of flash object which is already on a timeline with new transformation matrix

Creates new instance of an existing on a timeline flash object and assigns specified transformation and color matrixes to it.

public  InstanceaddInstance(Instance inst, int depth)
    
public  voidaddStopAction()
     Add a stop action to this frame.
public  voidappend(Frame f)
    
public  voidapply(Context context)
    
public  voidcollectDeps(DepsCollector dc)
    
public  voiddoCommand(FlashFile file, Context context, Script parent, int frame)
    
public  voidgenerate(FlashOutput fob, DepsCollector dc)
     Writes content of this frame to flash buffer

Has to be used only when this frame is from main timeline.

public  IVVectorgetCopy(ScriptCopier copier)
    
public  FlashObjectgetFlashObjectAt(int index)
    
public  StringgetName()
    
public  booleanisAnchor()
    
public  booleanisConstant()
     Returns true if this frame is constant

Returns true if all the objects from this frame are constants.

public  voidprocess(FlashFile file, Context context)
    
public  voidremove(FlashObject o)
    
public  FlashObjectremoveFlashObjectAt(int index)
    
public  RemoveObjectremoveInstance(int depth)
     "Removes" flash object's instance from specified layer

Does not actually remove any instance from this frame, but rather adds flash tag RemoveObject to this frame.

public  voidsetAnchor(boolean is_anchor)
    
public  voidsetFlashObjectAt(FlashObject o, int index)
    
public  voidsetName(String name)
    
public  voidwrite(FlashOutput fob)
     Writes content of this frame to flash buffer

Has to be used only when this frame is NOT from main timeline.



Constructor Detail
Frame
public Frame()(Code)
Creates empty frame



Frame
public Frame(int capacity)(Code)
Creates frame of specified capacity
Parameters:
  capacity - capacity of created frame



Frame
public Frame(IVVector data)(Code)
Creates frame from specified vector

Creates frame with capacity equal to the size of specified vector and copies all data from the specified vector to this frame
Parameters:
  data - vector to copy from





Method Detail
addBounds
public void addBounds(Rectangle2D rect)(Code)
Adds bounds of all the object from this frame to the specified rectangle
Parameters:
  rect - specified bounds



addFlashObject
public void addFlashObject(FlashObject o)(Code)
Adds specified flash object to this frame
Parameters:
  o - flash object to be added



addInstance
public Instance addInstance(FlashDef def, int depth, AffineTransform matrix, CXForm cxform)(Code)
Adds flash object's instance to this frame

Creates new instance and adds it to this frame using specified depth, matrix and cxform.
Parameters:
  def - flash definition instance of which has to be added
Parameters:
  depth - layer depth of the instance to be added
Parameters:
  matrix - transformation matrix for the instance (optional)
Parameters:
  cxform - transformation color for the instance (optional) added instance
See Also:   Instance




addInstance
public Instance addInstance(FlashDef def, int depth, AffineTransform matrix, CXForm cxform, String name)(Code)
Adds flash object's instance to this frame

Creates new instance and adds it to this frame using specified depth, matrix, cxform and name.
Parameters:
  def - flash definition instance of which has to be added
Parameters:
  depth - layer depth of the instance to be added
Parameters:
  matrix - transformation matrix for the instance (optional)
Parameters:
  cxform - transformation color for the instance (optional)
Parameters:
  name - name of the instance (optional) added instance
See Also:   Instance




addInstance
public Instance addInstance(int depth, AffineTransform matrix)(Code)
Adds new instance of flash object which is already on a timeline with new transformation matrix

Creates new instance of an existing on a timeline flash object and assigns specified transformation matrix to it.
Parameters:
  depth - layer depth of the existing instance
Parameters:
  matrix - transformation matrix for the instance (optional) added instance




addInstance
public Instance addInstance(int depth, AffineTransform matrix, CXForm cxform)(Code)
Adds new instance of flash object which is already on a timeline with new transformation matrix

Creates new instance of an existing on a timeline flash object and assigns specified transformation and color matrixes to it.
Parameters:
  depth - layer depth of the existing instance
Parameters:
  matrix - transformation matrix for the instance (optional)
Parameters:
  cxform - color matrix for the instance (optional) added instance




addInstance
public Instance addInstance(Instance inst, int depth)(Code)
Adds specified instance into specified layer
Parameters:
  inst - specified instance
Parameters:
  depth - layer depth added instance



addStopAction
public void addStopAction()(Code)
Add a stop action to this frame. We do this a lot so it's nice to have this code in one place.



append
public void append(Frame f)(Code)
Appends all the objects from the specified frame to this one
Parameters:
  f - frame to be added to this one



apply
public void apply(Context context)(Code)
Applies specified context to all the object from this frame
Parameters:
  context - specified context



collectDeps
public void collectDeps(DepsCollector dc)(Code)
Collects dependencies of all the object from this frame
Parameters:
  dc - dependencies collector



doCommand
public void doCommand(FlashFile file, Context context, Script parent, int frame) throws IVException(Code)
Performs all generator commands from this frame
Parameters:
  file - flash file to used for processing commands
Parameters:
  context - context to used for processing commands
Parameters:
  parent - parent script
Parameters:
  frame - this frame's number in the parent script's timelime
exception:
  IVException - thrown if there were some errors during command processing



generate
public void generate(FlashOutput fob, DepsCollector dc)(Code)
Writes content of this frame to flash buffer

Has to be used only when this frame is from main timeline.
Parameters:
  fob - flash buffer to write to
Parameters:
  dc - dependencies collector




getCopy
public IVVector getCopy(ScriptCopier copier)(Code)
Creates a copy of this frame

The copy contains copies of all the objects
Parameters:
  copier - copier to be used when copying Frame casted to IVVector




getFlashObjectAt
public FlashObject getFlashObjectAt(int index)(Code)
Returns flash object at specified index
Parameters:
  index - specified index flash object at specified index



getName
public String getName()(Code)
Returns name of this frame name of this frame or null



isAnchor
public boolean isAnchor()(Code)
Returns whether this frame is named anchor or not

Only for Flash MX whether this frame is named anchor or not




isConstant
public boolean isConstant()(Code)
Returns true if this frame is constant

Returns true if all the objects from this frame are constants. true - if this frame is constant




process
public void process(FlashFile file, Context context) throws IVException(Code)
Processes all the scripts from this frame in the specified context
Parameters:
  file - flash file to be used for processing scripts
Parameters:
  context - context to be used for processing scripts
exception:
  IVException -



remove
public void remove(FlashObject o)(Code)
Removes specified flash object from this frame
Parameters:
  o - specified flash object to be removed



removeFlashObjectAt
public FlashObject removeFlashObjectAt(int index)(Code)
Removes flash object at specified index
Parameters:
  index - specified index removed flash object



removeInstance
public RemoveObject removeInstance(int depth)(Code)
"Removes" flash object's instance from specified layer

Does not actually remove any instance from this frame, but rather adds flash tag RemoveObject to this frame.
Parameters:
  depth - layer depth of the existing instance to be removed RemoveObject tag




setAnchor
public void setAnchor(boolean is_anchor)(Code)
Sets whether this frame is named anchor or not

Only for Flash MX
Parameters:
  is_anchor - this frame is named anchor if its true




setFlashObjectAt
public void setFlashObjectAt(FlashObject o, int index)(Code)
Replaces flash object at specified index with new one
Parameters:
  o - new flash object to be replaced with
Parameters:
  index - specified index



setName
public void setName(String name)(Code)
Assings name to this frame
Parameters:
  name - new name of this frame



write
public void write(FlashOutput fob)(Code)
Writes content of this frame to flash buffer

Has to be used only when this frame is NOT from main timeline.
Parameters:
  fob - flash buffer to write to




Fields inherited from org.openlaszlo.iv.flash.util.IVVector
final protected static int INIT_CAPACITY(Code)(Java Doc)
protected Object[] objects(Code)(Java Doc)
protected int top(Code)(Java Doc)

Methods inherited from org.openlaszlo.iv.flash.util.IVVector
final public void addElement(Object o)(Code)(Java Doc)
final public void clear()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
final public void copyInto(Object[] cobjects)(Code)(Java Doc)
final public Object elementAt(int index)(Code)(Java Doc)
final public Enumeration elements()(Code)(Java Doc)
final public void ensureCapacity(int cap)(Code)(Java Doc)
final protected int find(Object o)(Code)(Java Doc)
public IVVector getCopy(ScriptCopier copier)(Code)(Java Doc)
final protected void init(int capacity)(Code)(Java Doc)
final protected void init(int capacity, int top)(Code)(Java Doc)
final public void insertObjects(int from, int num)(Code)(Java Doc)
public void printContent(PrintStream out, String indent)(Code)(Java Doc)
final public void removeElement(Object o)(Code)(Java Doc)
final public Object removeElementAt(int index)(Code)(Java Doc)
final public void removeRange(int from, int to)(Code)(Java Doc)
final public void reset()(Code)(Java Doc)
final public void setElementAt(Object o, int index)(Code)(Java Doc)
final public int size()(Code)(Java Doc)
public void write(FlashOutput fob)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.