|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.event.GuiseBoundPropertyObject
com.guiseframework.model.ui.AbstractPresentationModel
com.guiseframework.component.AbstractComponent
com.guiseframework.component.AbstractImageComponent
com.guiseframework.component.ImageActionControl
com.guiseframework.component.PendingImageActionControl
public class PendingImageActionControl
A pending image component that is also an action control.
If a PendingImageModel is used, the image reflects the value of the model's PendingImageModel.isImagePending() value.
Otherwise, the pending status will reflect whether AbstractImageComponent.getImageURI() is non-null.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractImageComponent |
|---|
AbstractImageComponent.DefaultTransferable |
| Nested classes/interfaces inherited from class com.guiseframework.component.AbstractComponent |
|---|
AbstractComponent.AbstractFlyoverFrameStrategy<S extends Component>, AbstractComponent.AbstractFlyoverStrategy<S extends Component>, AbstractComponent.DefaultFlyoverStrategy<S extends Component> |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Component |
|---|
Component.FlyoverStrategy<S extends Component> |
| Nested classes/interfaces inherited from interface com.guiseframework.component.Control |
|---|
Control.Status |
| Field Summary |
|---|
| Fields inherited from class com.guiseframework.component.AbstractImageComponent |
|---|
DEFAULT_EXPORT_STRATEGY |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.component.PendingImageComponent |
|---|
PENDING_IMAGE_URI_PROPERTY |
| Fields inherited from interface com.guiseframework.component.Component |
|---|
BOOKMARK_ENABLED_PROPERTY, CONSTRAINTS_PROPERTY, DRAG_ENABLED_PROPERTY, DROP_ENABLED_PROPERTY, FLYOVER_ENABLED_PROPERTY, FLYOVER_STRATEGY_PROPERTY, INPUT_STRATEGY_PROPERTY, NAME_PROPERTY, NOTIFICATION_PROPERTY, ORIENTATION_PROPERTY, THEME_APPLIED_PROPERTY, VALID_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Displayable |
|---|
DISPLAYED_PROPERTY |
| Fields inherited from interface com.guiseframework.model.InfoModel |
|---|
DESCRIPTION_CONTENT_TYPE_PROPERTY, DESCRIPTION_PROPERTY, INFO_CONTENT_TYPE_PROPERTY, INFO_PROPERTY |
| Fields inherited from interface com.guiseframework.model.LabelModel |
|---|
GLYPH_URI_PROPERTY, LABEL_CONTENT_TYPE_PROPERTY, LABEL_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Model |
|---|
PLAIN_TEXT_CONTENT_TYPE, XHTML_CONTENT_TYPE, XHTML_FRAGMENT_CONTENT_TYPE |
| Fields inherited from interface com.guiseframework.model.PendingImageModel |
|---|
IMAGE_PENDING_PROPERTY |
| Fields inherited from interface com.guiseframework.model.ImageModel |
|---|
IMAGE_URI_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ActionControl |
|---|
ROLLOVER_PROPERTY |
| Fields inherited from interface com.guiseframework.component.Control |
|---|
STATUS_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Enableable |
|---|
ENABLED_PROPERTY |
| Constructor Summary | |
|---|---|
PendingImageActionControl()
Default constructor. |
|
PendingImageActionControl(ImageModel imageModel)
Image model constructor. |
|
PendingImageActionControl(InfoModel infoModel,
ImageModel imageModel,
ActionModel actionModel,
Enableable enableable)
Info model, image model, action model, and enableable object constructor. |
|
| Method Summary | |
|---|---|
java.net.URI |
getPendingImageURI()
|
boolean |
isImagePending()
Determines whether the current image is in the process of transitioning to some other value. |
void |
setPendingImageURI(java.net.URI newPendingImageURI)
Sets the URI of the pending image. |
| Methods inherited from class com.guiseframework.component.ImageActionControl |
|---|
addActionListener, determineStatus, fireActionPerformed, fireActionPerformed, getActionListeners, getActionModel, getEnableable, getStatus, isEnabled, isRollover, performAction, performAction, removeActionListener, reset, setEnabled, setNotification, setRollover, setStatus, updateStatus, updateValid |
| Methods inherited from class com.guiseframework.component.AbstractImageComponent |
|---|
getImageModel, getImageURI, setImageURI |
| Methods inherited from class com.guiseframework.event.GuiseBoundPropertyObject |
|---|
getSession |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.platform.DepictedObject |
|---|
depict, getDepictID, getSession, processEvent |
| Methods inherited from interface com.guiseframework.model.InfoModel |
|---|
getDescription, getDescriptionContentType, getInfo, getInfoContentType, setDescription, setDescriptionContentType, setInfo, setInfoContentType |
| Methods inherited from interface com.guiseframework.model.LabelModel |
|---|
getGlyphURI, getLabel, getLabelContentType, setGlyphURI, setLabel, setLabelContentType |
| Methods inherited from interface com.globalmentor.beans.PropertyBindable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface com.globalmentor.beans.PropertyConstrainable |
|---|
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, hasVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from interface com.guiseframework.model.ImageModel |
|---|
getImageURI, setImageURI |
| Constructor Detail |
|---|
public PendingImageActionControl()
public PendingImageActionControl(ImageModel imageModel)
imageModel - The component image model.
public PendingImageActionControl(InfoModel infoModel,
ImageModel imageModel,
ActionModel actionModel,
Enableable enableable)
infoModel - The component info model.imageModel - The component image model.actionModel - The component action model.enableable - The enableable object in which to store enabled status.
java.lang.NullPointerException - if the given info model, image model, action model, and/or enableable object is null.| Method Detail |
|---|
public java.net.URI getPendingImageURI()
getPendingImageURI in interface PendingImageComponentnull if there is no image URI.public void setPendingImageURI(java.net.URI newPendingImageURI)
setPendingImageURI in interface PendingImageComponentnewPendingImageURI - The new URI of the pending image, which may be a resource URI.PendingImageComponent.PENDING_IMAGE_URI_PROPERTYpublic boolean isImagePending()
PendingImageModel is used, this version delegates to the delegate's PendingImageModel.isImagePending() value.
Otherwise, this version returns whether AbstractImageComponent.getImageURI() is null.
isImagePending in interface PendingImageModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||