Method Summary |
|
public void | addPropertyChangeListener(IPropertyChangeListener listener) Adds a property change listener. |
public void | back() Moves the frame pointer back by one. |
protected void | firePropertyChange(PropertyChangeEvent event) Notifies any property change listeners that a property has changed. |
public void | forward() Moves the frame pointer forward by one. |
public Frame | getCurrentFrame() Returns the current frame. |
public int | getCurrentIndex() Returns the index of the current frame. |
public Frame | getFrame(int index) Returns the frame at the given index, or null
if the index is ≤ 0 or ≥ size() . |
public IFrameSource | getSource() Returns the frame source. |
public void | gotoFrame(Frame frame) Adds the given frame after the current frame,
and advances the pointer to the new frame. |
public void | removePropertyChangeListener(IPropertyChangeListener listener) Removes a property change listener. |
void | setCurrent(int newCurrent) Sets the current frame to the one with the given index. |
public void | setCurrentIndex(int index) Sets the current frame to the frame with the given index. |
public int | size() Returns the number of frames in the frame list. |
public void | updateCurrentFrame() Replaces the current frame in this list with the current frame
from the frame source. |