Interface Widget

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      javax.swing.JComponent getComponent()
      Returns the component that will be inserted in the status bar
      default void propertiesChanged()
      a callback telling that the properties have been changed, the widget can update itself if needed
      default boolean test​(StatusBarEventType statusBarEventType)
      Returns true if the widget must be updated fore the given event
      default void update()
      A refresh is asked to the widget
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Method Detail

      • getComponent

        javax.swing.JComponent getComponent()
        Returns the component that will be inserted in the status bar
        Returns:
        a JComponent
      • propertiesChanged

        default void propertiesChanged()
        a callback telling that the properties have been changed, the widget can update itself if needed
      • update

        default void update()
        A refresh is asked to the widget
      • test

        default boolean test​(StatusBarEventType statusBarEventType)
        Returns true if the widget must be updated fore the given event
        Specified by:
        test in interface java.util.function.Predicate<StatusBarEventType>
        Parameters:
        statusBarEventType - the event
        Returns:
        true if the widget must be updated