| java.lang.Object org.openlaszlo.iv.flash.util.IVVector org.openlaszlo.iv.flash.api.Timeline
Timeline | final public class Timeline extends IVVector (Code) | | Flash timeline
A timeline contains zero or more
Frame frames author: Dmitry Skavish See Also: Frame See Also: Script |
Timeline | public Timeline()(Code) | | Creates empty timeline
|
Timeline | public Timeline(int capacity)(Code) | | Creates empty timeline of specified capacity
|
Timeline | public Timeline(IVVector data)(Code) | | Creates timeline from specified vector
Copies all the frames from specified vector
Parameters: data - vector of Frames |
addFrame | public void addFrame(Frame o)(Code) | | Adds specified frame to the end of this timeline
Parameters: o - frame to be added |
generate | public void generate(FlashOutput fob, DepsCollector dc)(Code) | | Writes this timeline to flash buffer
Has to be used only when writing main timeline
Parameters: fob - flash buffer to write to Parameters: dc - dependencies collector used when writing |
generate | public void generate(FlashOutput fob, DepsCollector dc, int off)(Code) | | Writes this timeline to flash buffer
Has to be used only when writing main timeline
Parameters: fob - flash buffer to write to Parameters: dc - dependencies collector used when writing Parameters: off - frame offset to start from |
getFrameAt | public Frame getFrameAt(int index)(Code) | | Returns frame from this timeline at specified index
Parameters: index - specified index frame at specified index |
getFrameCount | public int getFrameCount()(Code) | | Returns number of frames in the timeline
number of frames |
getFrameIndex | public int getFrameIndex(Frame frame)(Code) | | Returns index of specified frame in the timeline or -1
Parameters: frame - specified frame index of specified frame in the timeline or -1 |
insertFrame | public Frame insertFrame(int index)(Code) | | Inserts one empty frame at specified index
Parameters: index - specified index new inserted frame |
insertFrames | public void insertFrames(int from, int num)(Code) | | Inserts specified number of empty frames
Beginning from frame number 'from' inserts 'num' empty frame in the timeline.
Parameters: from - start inserting frames beginning from this one Parameters: num - number of empty frames to insert |
isConstant | public boolean isConstant()(Code) | | |
newFrame | public Frame newFrame()(Code) | | Creates new empty frame, adds it to the end of this timeline and returns it
new frame |
removeFrame | public void removeFrame(Frame o)(Code) | | Removes specified frame from this timeline
Parameters: o - frame to be removed |
removeFrameAt | public Frame removeFrameAt(int index)(Code) | | Removes frame from this timeline at specified index
Parameters: index - specified index removed frame |
setFrameAt | public void setFrameAt(Frame o, int index)(Code) | | Replaces frame at specified index with specified one
Parameters: o - specified frame Parameters: index - specified index |
write | public void write(FlashOutput fob)(Code) | | Writes this timeline to flash buffer
Has to be used only when writing NON main timelines
Parameters: fob - flash buffer to write to |
|
|