Class FrameDescription.Init<T extends FrameDescription.Init<T>>

Direct Known Subclasses:
FrameDescription.Builder
Enclosing class:
FrameDescription

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

    • Init

      protected Init()
  • Method Details

    • build

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

      public T url(String url)
      Initializes the URL of the frame.
      Parameters:
      url - the URL of the frame.
      Returns:
      the description instance with the update state (builder pattern).
    • url

      public T url(StringProperty url)
      Initializes the URL of the frame.
      Parameters:
      url - a StringProperty(or RegExpProperty) representing the URL of the frame.
      Returns:
      the description instance with the update state (builder pattern).
    • text

      public T text(String text)
      Initializes the inner text of the body element.
      Parameters:
      text - the inner text of the body element.
      Returns:
      the description instance with the update state (builder pattern).
    • text

      public T text(StringProperty text)
      Initializes the inner text of the body element.
      Parameters:
      text - a StringProperty(or RegExpProperty) representing the inner text of the body element.
      Returns:
      the description instance with the update state (builder pattern).