Class CheckGroupSelector

    • Constructor Detail

      • CheckGroupSelector

        public CheckGroupSelector​(String id,
                                  CheckGroup<?> group)
        A Selector that will work with the given group.
        Parameters:
        id - component id
        group - group to work with
    • Method Detail

      • onBeforeRender

        protected void onBeforeRender()
        Description copied from class: Component
        Called on all visible components before any component is rendered.

        NOTE: If you override this, you *must* call super.onBeforeRender() within your implementation. Because this method is responsible for cascading Component.onBeforeRender() call to its children it is strongly recommended that super call is made at the end of the override.

        Changes to the component tree can be made only before calling super.onBeforeRender().
        Overrides:
        onBeforeRender in class Component
        See Also:
        MarkupContainer.addOrReplace(Component...)
      • isEnabled

        public boolean isEnabled()
        Description copied from class: Component
        Gets whether this component is enabled. Specific components may decide to implement special behavior that uses this property, like web form components that add a disabled='disabled' attribute when enabled is false.
        Overrides:
        isEnabled in class Component
        Returns:
        Whether this component is enabled.