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, com.globalmentor.model.MutableValued<V>, PresentationModel, com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, ValueControl<V>, com.globalmentor.model.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.
Garret Wilson
  • Field Details


      static final String VALUE_GLYPH_URI_PROPERTY
      The bound property for an icon associated with a value.
  • Method Details

    • getValueGlyphURI

      URI getValueGlyphURI(V value)
      Retrieves the icon associated with a given value.
      value - The value for which an associated icon should be returned, or null to retrieve the icon associated with the null value.
      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, 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.
      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: