Java Doc for IVVector.java in  » Ajax » Laszlo-4.0.10 » org » openlaszlo » iv » flash » util » 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.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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

All known Subclasses:   org.openlaszlo.iv.flash.api.Timeline,  org.openlaszlo.iv.flash.api.Frame,
IVVector
public class IVVector implements Cloneable(Code)
Simple unsynchronized vector.
author:
   Dmitry Skavish


Field Summary
final protected static  intINIT_CAPACITY
    
protected  Object[]objects
    
protected  inttop
    

Constructor Summary
public  IVVector()
     Creates emtpy vector with default capacity.
public  IVVector(int capacity)
     Creates empty vector with specified capacity.
public  IVVector(IVVector data)
     Creates vector from existing one.

Method Summary
final public  voidaddElement(Object o)
     Adds the specified object to the end of this vector, increasing its size by one.
final public  voidclear()
     Clears vector.
public  Objectclone()
     Clones this vector.
final public  voidcopyInto(Object[] cobjects)
     Copies objects of the vector into specified array.
final public  ObjectelementAt(int index)
     Returns the object at the specified index.
final public  Enumerationelements()
     Returns enumeration of all the objects of the vector.
final public  voidensureCapacity(int cap)
     Ensure capacity of this vector.

Increases the capacity of this vector, if necessary, to ensure that it can hold at least the number of objects specified by the argument.

final protected  intfind(Object o)
    
public  IVVectorgetCopy(ScriptCopier copier)
     Creates copy of this vector in jgenerator sense.
final protected  voidinit(int capacity)
    
final protected  voidinit(int capacity, int top)
    
final public  voidinsertObjects(int from, int num)
     Inserts specified number of null objects beginning from specified index.
public  voidprintContent(PrintStream out, String indent)
     Prints content of this vector.
final public  voidremoveElement(Object o)
     Removes the object from the vector.
final public  ObjectremoveElementAt(int index)
     Removes the object at the specified index.
final public  voidremoveRange(int from, int to)
     Removes a number of objects.
final public  voidreset()
     Resets vector.
final public  voidsetElementAt(Object o, int index)
     Sets the object at the specified index of this vector to be the specified object.
final public  intsize()
     Returns size of the vector.
public  voidwrite(FlashOutput fob)
     Writes content of this vector to flash buffer.

Field Detail
INIT_CAPACITY
final protected static int INIT_CAPACITY(Code)



objects
protected Object[] objects(Code)



top
protected int top(Code)




Constructor Detail
IVVector
public IVVector()(Code)
Creates emtpy vector with default capacity.



IVVector
public IVVector(int capacity)(Code)
Creates empty vector with specified capacity.
Parameters:
  capacity - initial capacity



IVVector
public IVVector(IVVector data)(Code)
Creates vector from existing one.

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





Method Detail
addElement
final public void addElement(Object o)(Code)
Adds the specified object to the end of this vector, increasing its size by one. The capacity of this vector is increased if its size becomes greater than its capacity.
Parameters:
  o - object to be added



clear
final public void clear()(Code)
Clears vector.

Removes all objects from the vector and fills it with nulls, but does not change the capacity




clone
public Object clone()(Code)
Clones this vector. new vector - clone of this one



copyInto
final public void copyInto(Object[] cobjects)(Code)
Copies objects of the vector into specified array.
Parameters:
  cobjects - array of objects to be copied to



elementAt
final public Object elementAt(int index)(Code)
Returns the object at the specified index.
Parameters:
  index - the specified index object at specified index



elements
final public Enumeration elements()(Code)
Returns enumeration of all the objects of the vector. enumeration of all the objects



ensureCapacity
final public void ensureCapacity(int cap)(Code)
Ensure capacity of this vector.

Increases the capacity of this vector, if necessary, to ensure that it can hold at least the number of objects specified by the argument.
Parameters:
  cap - new capacity




find
final protected int find(Object o)(Code)



getCopy
public IVVector getCopy(ScriptCopier copier)(Code)
Creates copy of this vector in jgenerator sense.

Assuming that this vector contains only org.openlaszlo.iv.flash.api.FlashItem s, creates copy of this vector which contains copies of all the FlashItems from this vector.
Parameters:
  copier - copier to be used when copying FlashItems jgenerator copy of this vector
See Also:   org.openlaszlo.iv.flash.api.FlashItem.getCopy




init
final protected void init(int capacity)(Code)



init
final protected void init(int capacity, int top)(Code)



insertObjects
final public void insertObjects(int from, int num)(Code)
Inserts specified number of null objects beginning from specified index.
Parameters:
  from - inserts nulls beginning from this index (including)
Parameters:
  num - number of null objects to be inserted



printContent
public void printContent(PrintStream out, String indent)(Code)
Prints content of this vector.

For each org.openlaszlo.iv.flash.api.FlashItem in this vector call it's org.openlaszlo.iv.flash.api.FlashItem.printContent method
Parameters:
  out - printstream to print to
Parameters:
  indent - indentation
See Also:   org.openlaszlo.iv.flash.api.FlashItem.printContent




removeElement
final public void removeElement(Object o)(Code)
Removes the object from the vector.

Finds the specified object in the vector and removes it.
Parameters:
  o - the specified object




removeElementAt
final public Object removeElementAt(int index)(Code)
Removes the object at the specified index.
Parameters:
  index - the specified index removed object at specified index



removeRange
final public void removeRange(int from, int to)(Code)
Removes a number of objects.
Parameters:
  from - first object to be removed from the vector
Parameters:
  to - last object to be removed from the vector



reset
final public void reset()(Code)
Resets vector.

Removes all objects from the vector, but does not change the capacity




setElementAt
final public void setElementAt(Object o, int index)(Code)
Sets the object at the specified index of this vector to be the specified object. The previous object at that position is discarded.
Parameters:
  o - new object to be set at the index
Parameters:
  index - the specified index



size
final public int size()(Code)
Returns size of the vector. size of the vector (number of objects in it)



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

For each org.openlaszlo.iv.flash.api.FlashItem in this vector call it's org.openlaszlo.iv.flash.api.FlashItem.write method
Parameters:
  fob - flash buffer to write
See Also:   org.openlaszlo.iv.flash.api.FlashItem.write




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.