com.guiseframework.component
Interface ActionValueControl<V>
- Type Parameters:
V - The type of value the action represents.
- All Superinterfaces:
- ActionControl, ActionListenable, ActionModel, Component, Control, DepictedObject, Displayable, Enableable, InfoModel, InputFocusableComponent, LabelModel, Model, PresentationModel, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, ValueControl<V>, Valued<V>, ValuedComponent<V>, ValueModel<V>
- All Known Implementing Classes:
- AbstractActionValueControl, AbstractBooleanSelectActionControl, AbstractSelectActionValueControl, BooleanSelectButton, BooleanSelectLink, BooleanSelectToolButton, ImageBooleanSelectActionControl, TaskStateSelectLink, ValueSelectButton, ValueSelectLink
public interface ActionValueControl<V>
- extends ActionControl, ValueControl<V>
An action control that also contains a value in its model.
- Author:
- Garret Wilson
|
Method Summary |
java.net.URI |
getValueGlyphURI(V value)
Retrieves the icon associated with a given value. |
void |
setValueGlyphURI(V value,
java.net.URI newValueIcon)
Sets the URI of the icon associated with a value. |
VALUE_GLYPH_URI_PROPERTY
static final java.lang.String VALUE_GLYPH_URI_PROPERTY
- The bound property for an icon associated with a value.
getValueGlyphURI
java.net.URI getValueGlyphURI(V value)
- Retrieves the icon associated with a given value.
- Parameters:
value - The value for which an associated icon should be returned, or null to retrieve the icon associated with the null value.
- Returns:
- The value icon URI, which may be a resource URI, or
null if the value has no associated icon URI.
setValueGlyphURI
void setValueGlyphURI(V value,
java.net.URI newValueIcon)
- Sets the URI of the icon associated with a value.
This method fires a property change event for the changed icon if its value changes.
- Parameters:
value - The value with which the icon should be associated, or null if the icon should be associated with the null value.newValueIcon - The new URI of the value icon, which may be a resource URI.- See Also:
VALUE_GLYPH_URI_PROPERTY
Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.