Annotation Interface WidgetParameters


@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface WidgetParameters
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Returns true if the widget is closable.
    Returns the icon of the frame.
    boolean
    Returns true if the widget is iconifiable.
    boolean
    Returns true if the widget is maximizable.
    boolean
    Returns true if the widget is resizable.
    Returns the title of the frame.
  • Element Details

    • title

      String title
      Returns the title of the frame.
      Returns:
      the title of the frame
      Default:
      "Widget"
    • icon

      String icon
      Returns the icon of the frame.
      Returns:
      the icon of the frame
      Default:
      ""
    • resizable

      boolean resizable
      Returns true if the widget is resizable.
      Returns:
      true if the widget is resizable.
      Default:
      true
    • closable

      boolean closable
      Returns true if the widget is closable.
      Returns:
      true if the widget is closable
      Default:
      true
    • maximizable

      boolean maximizable
      Returns true if the widget is maximizable.
      Returns:
      true if the widget is maximizable
      Default:
      true
    • iconifiable

      boolean iconifiable
      Returns true if the widget is iconifiable.
      Returns:
      true if the widget is iconifiable
      Default:
      true