Interface IAbsolutelayout

All Superinterfaces:
IAnyGroup<IAbsolutelayout>, IChildable<IAbsolutelayout,IAbsolutechildren<IAnyGroup>>, IComponent<IAbsolutelayout>, IHtmlBasedComponent<IAbsolutelayout>, IXulElement<IAbsolutelayout>

Immutable Absolutelayout component

An Absolutelayout component can contain absolute positioned multiple absolutechildren components.

Example

 @RichletMapping("/example")
 public IComponent example() {
     return IAbsolutelayout.of(IAbsolutechildren.of(60, 100,
                 IWindow.ofTitle("X=60, Y=100").withBorder("normal")
                     .withChildren(ILabel.of("Window 1"))),
             IAbsolutechildren.of(160, 200,
                 IWindow.ofTitle("X=160, Y=200").withBorder("normal")
                     .withChildren(ILabel.of("Window 2"))),
             IAbsolutechildren.of(260, 300,
                 IWindow.ofTitle("X=260, Y=300").withBorder("normal")
                     .withChildren(ILabel.of("Window 3"))));
     }
 }
 
 
Author:
katherine
See Also:
  • Absolutelayout