Class DefaultDialogFrame<V>

Type Parameters:
V - The value to be communicated.
All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, com.globalmentor.model.MutableValued<V>, com.globalmentor.model.Valued<V>, io.clogr.Clogged, Component, CompositeComponent, ContentComponent, Control, DialogFrame<V>, Frame, InputFocusableComponent, InputFocusGroupComponent, ModalComponent<Frame.Mode>, ValueControl<V>, ValuedComponent<V>, Displayable, Enableable, InfoModel, LabelModel, Model, PresentationModel, ValueModel<V>, DepictedObject

public class DefaultDialogFrame<V> extends AbstractDialogFrame<V>
Default implementation of a frame meant for communication of a value.
Author:
Garret Wilson
  • Constructor Details

    • DefaultDialogFrame

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

      public DefaultDialogFrame(Class<V> valueClass, Component component)
      Value class and component constructor.
      Parameters:
      valueClass - The class indicating the type of value held in the model.
      component - The single child component, or null if this frame should have no child component.
      Throws:
      NullPointerException - if the given value class is null.
    • DefaultDialogFrame

      public DefaultDialogFrame(ValueModel<V> valueModel)
      Value model constructor.
      Parameters:
      valueModel - The component value model.
      Throws:
      NullPointerException - if the given value model is null.
    • DefaultDialogFrame

      public DefaultDialogFrame(ValueModel<V> valueModel, Component component)
      Value model and component constructor.
      Parameters:
      valueModel - The component value model.
      component - The single child component, or null if this frame should have no child component.
      Throws:
      NullPointerException - if the given value model is null.