Class EditComponentTextControl

All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, io.clogr.Clogged, Component, CompositeComponent, Container, ContainerControl, Control, EditComponent, InputFocusableComponent, LayoutComponent, ModalComponent<AbstractEditComponentTextControl.Mode>, EditListenable, Displayable, Enableable, InfoModel, LabelModel, Model, PresentationModel, DepictedObject, Iterable<Component>

public class EditComponentTextControl extends AbstractEditComponentTextControl<TextBox>
Control that allows a text component's text to be edited in-place.
Author:
Garret Wilson
  • Constructor Details

    • EditComponentTextControl

      public EditComponentTextControl()
      Default constructor with a default text component, default text edit control, and Flow.LINE layout.
    • EditComponentTextControl

      public EditComponentTextControl(Flow flow)
      Flow constructor with a default text component and text edit control.
      Parameters:
      flow - The logical axis (line or page) along which information is flowed.
      Throws:
      NullPointerException - if the flow axis is null.
    • EditComponentTextControl

      public EditComponentTextControl(TextBox textComponent)
      Text component constructor with default text edit control and Flow.LINE flow.
      Parameters:
      textComponent - The component the text of which is to be edited.
      Throws:
      NullPointerException - if the text component is null.
    • EditComponentTextControl

      public EditComponentTextControl(TextBox textComponent, Flow flow)
      Text component and flow constructor with default text edit control.
      Parameters:
      textComponent - The component the text of which is to be edited.
      flow - The logical axis (line or page) along which information is flowed.
      Throws:
      NullPointerException - if the text component and/or flow is null.
    • EditComponentTextControl

      public EditComponentTextControl(TextBox textComponent, ValueControl<String> editControl)
      Text component and value control constructor with default Flow.LINE flow.
      Parameters:
      textComponent - The component the text of which is to be edited.
      editControl - The control used to edit the text.
      Throws:
      NullPointerException - if the text component and/or edit control is null.
    • EditComponentTextControl

      public EditComponentTextControl(TextBox textComponent, ValueControl<String> editControl, Flow flow)
      Text component, value control, and flow constructor.
      Parameters:
      textComponent - The component the text of which is to be edited.
      editControl - The control used to edit the text.
      flow - The logical axis (line or page) along which information is flowed.
      Throws:
      NullPointerException - if the text component, value control, and/or flow axis is null.
  • Method Details