Class OKCodeDescription.Init<T extends OKCodeDescription.Init<T>>

Direct Known Subclasses:
OKCodeDescription.Builder
Enclosing class:
OKCodeDescription

protected abstract static class OKCodeDescription.Init<T extends OKCodeDescription.Init<T>> extends ElementDescription.Init<T>
Helper class for OKCodeDescription.Builder.
  • Constructor Details

    • Init

      protected Init()
  • Method Details

    • build

      public OKCodeDescription build()
      Description copied from class: DescriptionBase.Init
      Returns the built description instance (builder pattern).
      Overrides:
      build in class ElementDescription.Init<T extends OKCodeDescription.Init<T>>
      Returns:
      The built description instance (builder pattern).
    • value

      public T value(StringProperty value)
      Initializes command code entered in the field.
      Parameters:
      value - a StringProperty or RegExpProperty.
      Returns:
      the description instance with the update state (builder pattern).
    • value

      public T value(String value)
      Initializes command code entered in the field.
      Parameters:
      value - the command code.
      Returns:
      the description instance with the update state (builder pattern).