Interface ControlComponent<C>
- Type Parameters:
C- the type of the control aControlComponentcan belong to.
- All Known Subinterfaces:
Container<C,S>, Control<C, S>, IAccordion, IButton, ICheckbox, IComponent, 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 ControlComponent<C>
A
ControlComponent can belong to a control.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
belongsToControl
boolean belongsToControl()- Returns:
- true if the current
ControlComponentbelongs to a control, false otherwise
-
getStoredParentControl
C getStoredParentControl()- Returns:
- the control of the current
ControlComponent - Throws:
RuntimeException- if the currentControlComponentdoes not belong to a control
-