|
|||||||||
| 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.AbstractControl
com.guiseframework.component.AbstractActionControl
com.guiseframework.component.AbstractActionValueControl<java.lang.Boolean>
com.guiseframework.component.AbstractBooleanSelectActionControl
com.guiseframework.component.ImageBooleanSelectActionControl
public class ImageBooleanSelectActionControl
Image control that can be selected and generates actions, storing a Boolean value in its model representing the selected state.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
static java.lang.String |
ROLLOVER_IMAGE_URI_PROPERTY
The rollover image URI bound property. |
static java.lang.String |
SELECTED_IMAGE_URI_PROPERTY
The selected image URI bound property. |
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| 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.ImageModel |
|---|
IMAGE_URI_PROPERTY |
| Fields inherited from interface com.guiseframework.component.SelectActionControl |
|---|
AUTO_SELECT_PROPERTY, SELECTED_GLYPH_URI_PROPERTY, TOGGLE_PROPERTY, UNSELECTED_GLYPH_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 |
| Fields inherited from interface com.guiseframework.model.Selectable |
|---|
SELECTED_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ActionValueControl |
|---|
VALUE_GLYPH_URI_PROPERTY |
| Fields inherited from interface com.guiseframework.component.ValueControl |
|---|
CONVERTER_PROPERTY |
| Fields inherited from interface com.guiseframework.model.ValueModel |
|---|
VALIDATOR_PROPERTY, VALUE_PROPERTY |
| Fields inherited from interface com.guiseframework.component.LabelDisplayableComponent |
|---|
ICON_DISPLAYED_PROPERTY, LABEL_DISPLAYED_PROPERTY |
| Constructor Summary | |
|---|---|
ImageBooleanSelectActionControl()
Default constructor. |
|
ImageBooleanSelectActionControl(InfoModel infoModel,
ImageModel imageModel,
ActionModel actionModel,
ValueModel<java.lang.Boolean> valueModel,
Enableable enableable)
Info model, image model, action model, value model, and enableable object constructor. |
|
ImageBooleanSelectActionControl(ValuePrototype<java.lang.Boolean> valuePrototype)
Prototype constructor. |
|
| Method Summary | |
|---|---|
protected ImageModel |
getImageModel()
|
java.net.URI |
getImageURI()
|
java.net.URI |
getRolloverImageURI()
|
java.net.URI |
getSelectedImageURI()
|
void |
setImageURI(java.net.URI newImageURI)
Sets the URI of the image. |
void |
setRolloverImageURI(java.net.URI newRolloverImageURI)
Sets the URI of the rollover image. |
void |
setSelectedImageURI(java.net.URI newSelectedImageURI)
Sets the URI of the selected image. |
| Methods inherited from class com.guiseframework.component.AbstractBooleanSelectActionControl |
|---|
getSelectedGlyphURI, getUnselectedGlyphURI, isAutoSelect, isSelected, isToggle, setAutoSelect, setSelected, setSelectedGlyphURI, setToggle, setUnselectedGlyphURI |
| Methods inherited from class com.guiseframework.component.AbstractActionValueControl |
|---|
clearValue, determineValid, firePropertyChange, getDefaultValue, getValidator, getValue, getValueClass, getValueGlyphURI, getValueModel, isValidValue, reset, resetValue, setValidator, setValue, setValueGlyphURI, validate, validateValue |
| Methods inherited from class com.guiseframework.component.AbstractActionControl |
|---|
addActionListener, fireActionPerformed, fireActionPerformed, getActionListeners, getActionModel, isIconDisplayed, isLabelDisplayed, isRollover, performAction, performAction, removeActionListener, setIconDisplayed, setLabelDisplayed, setRollover |
| Methods inherited from class com.guiseframework.component.AbstractControl |
|---|
determineStatus, getEnableable, getStatus, isEnabled, setEnabled, setNotification, setStatus, updateStatus, updateValid |
| 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, 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.component.ActionControl |
|---|
isRollover, setRollover |
| Methods inherited from interface com.guiseframework.component.Control |
|---|
getStatus, reset |
| Methods inherited from interface com.guiseframework.model.Enableable |
|---|
isEnabled, setEnabled |
| Methods inherited from interface com.guiseframework.model.ActionModel |
|---|
getActionListeners, performAction, performAction |
| Methods inherited from interface com.guiseframework.event.ActionListenable |
|---|
addActionListener, removeActionListener |
| Field Detail |
|---|
public static final java.lang.String ROLLOVER_IMAGE_URI_PROPERTY
public static final java.lang.String SELECTED_IMAGE_URI_PROPERTY
| Constructor Detail |
|---|
public ImageBooleanSelectActionControl()
public ImageBooleanSelectActionControl(InfoModel infoModel,
ImageModel imageModel,
ActionModel actionModel,
ValueModel<java.lang.Boolean> valueModel,
Enableable enableable)
infoModel - The component info model.imageModel - The component image model.actionModel - The component action model.valueModel - The component value 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.public ImageBooleanSelectActionControl(ValuePrototype<java.lang.Boolean> valuePrototype)
valuePrototype - The prototype on which this component should be based.| Method Detail |
|---|
protected ImageModel getImageModel()
public java.net.URI getImageURI()
getImageURI in interface ImageModelnull if there is no image URI.public void setImageURI(java.net.URI newImageURI)
URI.
setImageURI in interface ImageModelnewImageURI - The new URI of the image, which may be a resource URI.ImageModel.IMAGE_URI_PROPERTYpublic java.net.URI getRolloverImageURI()
null if there is no rollover image URI.public void setRolloverImageURI(java.net.URI newRolloverImageURI)
URI.
newRolloverImageURI - The new URI of the rollover image, which may be a resource URI.ROLLOVER_IMAGE_URI_PROPERTYpublic java.net.URI getSelectedImageURI()
null if there is no selected image URI.public void setSelectedImageURI(java.net.URI newSelectedImageURI)
URI.
newSelectedImageURI - The new URI of the selected image, which may be a resource URI.SELECTED_IMAGE_URI_PROPERTY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||