Interface Instrument<T extends WidgetBinding<? extends Command>>

    • Method Detail

      • getNbWidgetBindings

        int getNbWidgetBindings()
        Returns:
        The number of widget bindings that compose the instrument.
      • hasWidgetBindings

        boolean hasWidgetBindings()
        Returns:
        True: the instrument has at least one widget binding. False otherwise.
      • getWidgetBindings

        List<T> getWidgetBindings()
        Returns:
        The widget bindings that compose the instrument. Cannot be null.
      • clearEvents

        void clearEvents()
        Stops the interactions of the instrument and clears all its events waiting for a process.
      • isActivated

        boolean isActivated()
        Returns:
        True if the instrument is activated.
      • setActivated

        void setActivated​(boolean activated)
        Activates or deactivates the instrument.
        Parameters:
        activated - True = activation.
      • uninstallBindings

        void uninstallBindings()
        Uninstall all the bindings of the instrument.