public class ANIMMovieTrack
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CMP_BYTE_RUN_1 |
static int |
CMP_NONE |
static int |
CMP_VERTICAL |
static int |
MODE_DIRECT_COLORS
Screenmodes.
|
static int |
MODE_EHB
Screenmodes.
|
static int |
MODE_HAM6
Screenmodes.
|
static int |
MODE_HAM8
Screenmodes.
|
static int |
MODE_INDEXED_COLORS
Screenmodes.
|
static int |
MSK_HAS_MASK |
static int |
MSK_HAS_TRANSPARENT_COLOR |
static int |
MSK_LASSO |
static int |
MSK_NONE |
Constructor and Description |
---|
ANIMMovieTrack() |
Modifier and Type | Method and Description |
---|---|
void |
addAudioClip(java.applet.AudioClip clip) |
void |
addColorCycle(ColorCycle cc) |
void |
addFrame(ANIMFrame frame) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
java.applet.AudioClip |
getAudioClip(int index) |
int |
getAudioClipCount() |
java.util.List<ColorCycle> |
getColorCycles() |
int |
getColorCyclesCount() |
int |
getCompression() |
int |
getDeltaOperation()
The return value of this method is only reliable when all frames of
the movie have been loaded.
|
ANIMFrame |
getFrame(int index) |
int |
getFrameCount() |
long |
getFrameDuration(int index)
Timing for frame relative to previous frame.
|
int |
getHeight() |
int |
getInterleave()
Returns the interleave of frames in this movie track.
|
int |
getJiffies() |
int |
getMasking() |
int |
getNbPalettes() |
int |
getNbPlanes() |
int |
getPageHeight() |
int |
getPageWidth() |
java.lang.Object |
getProperty(java.lang.String name)
Gets a property.
|
int |
getScreenMode() |
long |
getTotalDuration()
Total playback time of the movie in Jiffies (1/60 second).
|
int |
getTransparentColor() |
int |
getWidth() |
int |
getXAspect() |
int |
getXPosition() |
int |
getYAspect() |
int |
getYPosition() |
boolean |
isPlayWrapupFrames()
Returns true, if the two wrapup frames at the end of the movie track
are treated like regular frames.
|
boolean |
isSwapSpeakers()
Returns true if left and right speakers are swapped.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
setCompression(int newValue) |
void |
setHeight(int newValue) |
void |
setJiffies(int newValue) |
void |
setMasking(int newValue) |
void |
setNbPlanes(int newValue) |
void |
setPageHeight(int newValue) |
void |
setPageWidth(int newValue) |
void |
setPlayWrapupFrames(boolean b)
Set this to true to treat the two wrapup frames at the end of the
movie track like regular frames.
|
void |
setProperty(java.lang.String name,
java.lang.Object newValue)
Sets a property.
|
void |
setScreenMode(int newValue) |
void |
setSwapSpeakers(boolean newValue)
Swaps left and right speakers if set to true.
|
void |
setTransparentColor(int newValue) |
void |
setWidth(int newValue) |
void |
setXAspect(int newValue) |
void |
setXPosition(int newValue) |
void |
setYAspect(int newValue) |
void |
setYPosition(int newValue) |
public static final int MSK_NONE
public static final int MSK_HAS_MASK
public static final int MSK_HAS_TRANSPARENT_COLOR
public static final int MSK_LASSO
public static final int MODE_INDEXED_COLORS
public static final int MODE_DIRECT_COLORS
public static final int MODE_EHB
public static final int MODE_HAM6
public static final int MODE_HAM8
public static final int CMP_NONE
public static final int CMP_BYTE_RUN_1
public static final int CMP_VERTICAL
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public void setProperty(java.lang.String name, java.lang.Object newValue)
name
- The name of the property.newValue
- The value of the property.public void setPlayWrapupFrames(boolean b)
public boolean isPlayWrapupFrames()
public int getInterleave()
public void setSwapSpeakers(boolean newValue)
public boolean isSwapSpeakers()
public java.lang.Object getProperty(java.lang.String name)
name
- The name of the property.public void setJiffies(int newValue)
public void setCompression(int newValue)
public void setWidth(int newValue)
public void setHeight(int newValue)
public void setXPosition(int newValue)
public void setYPosition(int newValue)
public void setNbPlanes(int newValue)
public void setMasking(int newValue)
public void setTransparentColor(int newValue)
public void setXAspect(int newValue)
public void setYAspect(int newValue)
public void setPageWidth(int newValue)
public void setPageHeight(int newValue)
public void setScreenMode(int newValue)
public int getWidth()
public int getHeight()
public int getXPosition()
public int getYPosition()
public int getNbPlanes()
public int getNbPalettes()
public int getMasking()
public int getTransparentColor()
public int getXAspect()
public int getYAspect()
public int getPageWidth()
public int getPageHeight()
public int getScreenMode()
public int getJiffies()
public int getCompression()
public int getDeltaOperation()
public void addFrame(ANIMFrame frame)
public void addAudioClip(java.applet.AudioClip clip)
public int getAudioClipCount()
public java.applet.AudioClip getAudioClip(int index)
public int getFrameCount()
public ANIMFrame getFrame(int index)
public long getFrameDuration(int index)
public long getTotalDuration()
public void addColorCycle(ColorCycle cc)
public java.util.List<ColorCycle> getColorCycles()
public int getColorCyclesCount()