Class NativeDetails.ToggleEvent

    • Constructor Detail

      • ToggleEvent

        public ToggleEvent​(NativeDetails source,
                           boolean fromClient)
        ToggleEvent base constructor.

        Note: This event is always triggered on client side. Resulting in fromClient to be always true.

        Parameters:
        source - the source component
        fromClient - true if the event originated from the client side, false otherwise
    • Method Detail

      • isOpened

        public boolean isOpened()
        Return whether or not the details was opened or closed in this event.

        Delegating to the source component after the toggle event occurred.

        Returns:
        whether details are expanded or collapsed