Interface LayerComponent<L>

Type Parameters:
L - the type of the layer a LayerComponent can belong to.
All Known Subinterfaces:
Control<C,S>, IAccordion, IButton, ICheckbox, IComponent, IContainer<C,S>, IControlParent, IDropdownMenu, IGrid, IHorizontalStack, IImageControl, IItemMenu<M,S>, ILabel, ILinearContainer<C,S>, ILink, ISingleContainer, ITabContainer, ITextbox, IUploader, IValidationLabel, IVerticalStack
All Known Implementing Classes:
AbstractContainer, AbstractControl, AbstractItemMenu, AbstractLinearContainer, Button, Component, ComponentWithAdapterFactory, ControlParent, DropdownMenu, FloatContainer, Grid, HorizontalStack, ImageControl, Label, Link, SingleContainer, TabContainer, Textbox, Uploader, ValidationLabel, VerticalStack

public interface LayerComponent<L>
A LayerComponent can belong to a layer.
Author:
Silvan Wyss
  • Method Details

    • belongsToLayer

      boolean belongsToLayer()
      Returns:
      true if the current LayerComponent belongs to a layer, false otherwise.
    • getStoredParentLayer

      L getStoredParentLayer()
      Returns:
      the parent layer of the current LayerComponent.
      Throws:
      RuntimeException - if the current LayerComponent does not belong to a layer.