|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.visuals.ImageSequence
public class ImageSequence
An ImageSequence displays a sequence of Images timed to display after an AlarmEvent fired from the Alarm property.
Name | alarm |
Type | com.sas.util.Alarm |
Default value | |
Short description | Alarm object to fire events when image should change. |
Description | Alarm object to fire events when image should change. |
Name | sequence |
Type | java.lang.String[] |
Default value | |
Short description | Source strings for the sequence of images to display. |
Description | Source strings for the sequence of images to display. |
Field Summary |
---|
Fields inherited from class com.sas.visuals.ImageView |
---|
absoluteSource, AUTO_SCALE, currentInsets, defaultImageLoaded, disabledImage, dispImage, displayMode, filteredImage, image, imageWait, LAST_DISPLAY_MODE, missingImage, NO_SCALE, oldHeight, oldWidth, RB_KEY, relativeSource, relativeSourceClass, relativeSourceClassName, resourceLocator, SCALE, SCALE_HEIGHT, SCALE_WIDTH, source, sourceAppletRelative, sourceURL, TILE |
Constructor Summary | |
---|---|
ImageSequence()
Deprecated. Default constructor that adds itself as a listener to the alarm property and creates a default Alarm that fires every 0.5 seconds. |
|
ImageSequence(Alarm alarm)
Deprecated. Constructor that sets the Alarm to the alarm parameter passed in and adds itself as a listener to the alarm. |
|
ImageSequence(Alarm alarm,
java.lang.String[] sources)
Deprecated. Constructor that sets the alarm and the sequence of images to be displayed. |
|
ImageSequence(java.lang.String[] sources)
Deprecated. Constructor that sets the Sequence of images to the strings provided. |
Method Summary | |
---|---|
void |
contentsChanged(com.sas.collection.ContentsChangedEvent evt)
Deprecated. Called when the contents of the model have changed. |
void |
fireAlarm(AlarmEvent evt)
Deprecated. Alarm event handler that is called when a different image in the sequence should be displayed. |
Alarm |
getAlarm()
Deprecated. Return the Alarm object that sends out the alarms when the image should be switched. |
static com.sas.beans.ExtendedBeanInfo |
getExtendedBeanInfo()
Deprecated. |
java.util.Vector |
getRequiredInterfaces()
Deprecated. Returns the required interfaces Vector for this component. |
java.lang.String[] |
getSequence()
Deprecated. Return the source Strings of the sequence of images to display. |
void |
initialize()
Deprecated. Create and attach a model to the Label if no model is currently attached. |
void |
propertyChange(java.beans.PropertyChangeEvent event)
Deprecated. Handle PropertyChangeEvents from the model. |
void |
refresh(com.sas.ModelInterface model)
Deprecated. Refresh the image displayed based on the model changing. |
protected void |
refreshSequence(com.sas.collection.StaticOrderedCollectionInterface model)
Deprecated. |
void |
setAlarm(Alarm newAlarm)
Deprecated. Set the Alarm to be used to fire events and change the image displayed. |
void |
setSequence(java.lang.String[] sources)
Deprecated. Set the source sequence of images to be displayed. |
void |
start()
Deprecated. Start the ImageSequence display (Starts the Alarm object property). |
void |
stop()
Deprecated. Stop the ImageSequence display (Stops the Alarm object property). |
Methods inherited from interface com.sas.visuals.IconInterface |
---|
getPreferredSize |
Constructor Detail |
---|
public ImageSequence()
public ImageSequence(Alarm alarm)
public ImageSequence(java.lang.String[] sources)
public ImageSequence(Alarm alarm, java.lang.String[] sources)
Method Detail |
---|
public static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()
public void contentsChanged(com.sas.collection.ContentsChangedEvent evt)
contentsChanged
in interface com.sas.collection.ContentsChangedListener
evt
- the ContentsChangedEvent from the model that changed.public void fireAlarm(AlarmEvent evt)
fireAlarm
in interface AlarmListener
evt
- the AlarmEvent that has triggered.public Alarm getAlarm()
public java.util.Vector getRequiredInterfaces()
getRequiredInterfaces
in interface com.sas.ViewInterface
getRequiredInterfaces
in class ImageView
ViewInterface.getRequiredInterfaces()
public java.lang.String[] getSequence()
public void initialize()
initialize
in interface com.sas.ComponentInterface
initialize
in class ComponentVisualComponent
ComponentInterface.initialize()
public void propertyChange(java.beans.PropertyChangeEvent event)
ImageView
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class ImageView
event
- The event from the model indicating what property changed.PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)
public void refresh(com.sas.ModelInterface model)
ImageView
refresh
in interface com.sas.ViewInterface
refresh
in class ImageView
model
- the model that has changed and needs to be refreshedViewInterface.refresh(com.sas.ModelInterface)
protected void refreshSequence(com.sas.collection.StaticOrderedCollectionInterface model)
public void setAlarm(Alarm newAlarm)
public void setSequence(java.lang.String[] sources)
public void start()
public void stop()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |