org.opt4j.viewer
Annotation Type WidgetParameters


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface WidgetParameters

The WidgetParameters.

See Also:
Widget

Optional Element Summary
 boolean closable
          Returns true if the widget is closable.
 java.lang.String icon
          Returns the icon of the frame.
 boolean iconifiable
          Returns true if the widget is iconifiable.
 boolean maximizable
          Returns true if the widget is maximizable.
 boolean resizable
          Returns true if the widget is resizable.
 java.lang.String title
          Returns the title of the frame.
 

title

public abstract java.lang.String title
Returns the title of the frame.

Returns:
the title of the frame
Default:
"Widget"

icon

public abstract java.lang.String icon
Returns the icon of the frame.

Returns:
the icon of the frame
Default:
""

resizable

public abstract boolean resizable
Returns true if the widget is resizable.

Returns:
true if the widget is resizable.
Default:
true

closable

public abstract boolean closable
Returns true if the widget is closable.

Returns:
true if the widget is closable
Default:
true

maximizable

public abstract boolean maximizable
Returns true if the widget is maximizable.

Returns:
true if the widget is maximizable
Default:
true

iconifiable

public abstract boolean iconifiable
Returns true if the widget is iconifiable.

Returns:
true if the widget is iconifiable
Default:
true