Class CheckStateChangedEvent

    • Constructor Detail

      • CheckStateChangedEvent

        public CheckStateChangedEvent​(ICheckable source,
                                      Object element,
                                      boolean state)
        Creates a new event for the given source, element, and checked state.
        Parameters:
        source - the source
        element - the element
        state - the checked state
    • Method Detail

      • getCheckable

        public ICheckable getCheckable()
        Returns the checkable that is the source of this event.
        Returns:
        the originating checkable
      • getChecked

        public boolean getChecked()
        Returns the checked state of the element.
        Returns:
        the checked state
      • getElement

        public Object getElement()
        Returns the element whose check state changed.
        Returns:
        the element