Class ValueSelectButton<V>

Type Parameters:
V - The type of value the control represents.
All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, com.globalmentor.model.MutableValued<V>, com.globalmentor.model.Valued<V>, ActionControl, ActionValueControl<V>, ButtonControl, Component, Control, InputFocusableComponent, LabelDisplayableComponent, SelectActionControl, SelectButtonControl, ValueControl<V>, ValuedComponent<V>, ActionListenable, ActionModel, Displayable, Enableable, InfoModel, LabelModel, Model, Selectable, PresentationModel, ValueModel<V>, DepictedObject

public class ValueSelectButton<V> extends AbstractSelectActionValueControl<V> implements SelectButtonControl
Selectable button that stores a separate value in a value model.
Garret Wilson
  • Constructor Details

    • ValueSelectButton

      public ValueSelectButton(Class<V> valueClass)
      Value class constructor.
      valueClass - The class indicating the type of value held in the model.
      NullPointerException - if the given value class is null.
    • ValueSelectButton

      public ValueSelectButton(InfoModel infoModel, ActionModel actionModel, ValueModel<V> valueModel, Enableable enableable)
      Info model, action model, value model, and enableable object constructor.
      infoModel - The component info model.
      actionModel - The component action model.
      valueModel - The component value model.
      enableable - The enableable object in which to store enabled status.
      NullPointerException - if the given info model, action model, and/or enableable object is null.