Interface ControlComponent<C>

Type Parameters:
C - the type of the control a ControlComponent can belong to.
All Known Subinterfaces:
IControlParent
All Known Implementing Classes:
ControlParent

public interface ControlComponent<C>
A ControlComponent can belong to a control.
Author:
Silvan Wyss
  • Method Details

    • belongsToControl

      boolean belongsToControl()
      Returns:
      true if the current ControlComponent belongs to a control, false otherwise.
    • getStoredParentControl

      C getStoredParentControl()
      Returns:
      the control of the current ControlComponent.
      Throws:
      RuntimeException - if the current ControlComponent does not belong to a control.