Interface IOrgnode<I extends IAnyGroup>

All Superinterfaces:
IChildable<IOrgnode<I>,I>, IChildrenOfInputgroup<IOrgnode<I>>, IComponent<IOrgnode<I>>, IHtmlBasedComponent<IOrgnode<I>>, ILabelElement<IOrgnode<I>>, ILabelImageElement<IOrgnode<I>>, IOrgitemComposite<IOrgnode<I>>, IXulElement<IOrgnode<I>>

public interface IOrgnode<I extends IAnyGroup> extends ILabelImageElement<IOrgnode<I>>, IChildable<IOrgnode<I>,I>, IOrgitemComposite<IOrgnode<I>>
Immutable Orgnode component

You could place any kind of children in it. They will be placed right after the image and label.

Author:
katherine
See Also:
  • Orgnode
  • Field Details

    • DEFAULT

      static final IOrgnode<IAnyGroup> DEFAULT
      Constant for default attributes of this immutable component.
  • Method Details

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zkmax.layout.Orgnode"

      Specified by:
      getWidgetClass in interface IComponent<I extends IAnyGroup>
      Returns:
    • of

      static <I extends IAnyGroup> IOrgnode<I> of(String label)
      Returns the instance with the given label.
      Parameters:
      label - The label that the node holds.
    • of

      static <I extends IAnyGroup> IOrgnode<I> of(String label, String image)
      Returns the instance with the given label and image.
      Parameters:
      label - The label that the node holds.
      image - The image that the node holds.
    • of

      static <I extends IAnyGroup> IOrgnode<I> of(Iterable<? extends I> children)
      Returns the instance with the given any group children.
      Parameters:
      children - The children belong to any group
      See Also:
    • of

      static <I extends IAnyGroup> IOrgnode<I> of(I... children)
      Returns the instance with the given any group children.
      Parameters:
      children - The children belong to any group
      See Also:
    • ofId

      static <I extends IAnyGroup> IOrgnode<I> ofId(String id)
      Returns the instance with the given id.
      Parameters:
      id - The id to identify this component
    • ofImage

      static <I extends IAnyGroup> IOrgnode<I> ofImage(String image)
      Returns the instance with the given image
      Parameters:
      image - The image that the node holds.