Interface LabelListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  LabelListener.Adapter
      Deprecated.
      Since 2.1 and Java 8 the interface itself has default implementations.
      static class  LabelListener.Listeners
      Label listeners.
    • Method Detail

      • textChanged

        default void textChanged​(Label label,
                                 java.lang.String previousText)
        Called when a label's text has changed.
        Parameters:
        label - The label that has changed.
        previousText - The previous text associated with the label.
      • maximumLengthChanged

        default void maximumLengthChanged​(Label label,
                                          int previousMaximumLength)
        Called when a label text maximum length has changed.
        Parameters:
        label - The label that has changed.
        previousMaximumLength - The previous maximum text length for the label.