Package org.apache.pivot.wtk
Interface LabelBindingListener
-
- All Known Implementing Classes:
LabelBindingListener.Adapter
,LabelBindingListener.Listeners
public interface LabelBindingListener
Label binding listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LabelBindingListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
LabelBindingListener.Listeners
Label binding listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
textBindMappingChanged(Label label, Label.TextBindMapping previousTextBindMapping)
Called when a label's text bind mapping has changed.default void
textBindTypeChanged(Label label, BindType previousTextBindType)
Called when a label's text bind type has changed.default void
textKeyChanged(Label label, java.lang.String previousTextKey)
Called when a label's text key has changed.
-
-
-
Method Detail
-
textKeyChanged
default void textKeyChanged(Label label, java.lang.String previousTextKey)
Called when a label's text key has changed.- Parameters:
label
- The label whose binding has changed.previousTextKey
- The previous binding key for the label text.
-
textBindTypeChanged
default void textBindTypeChanged(Label label, BindType previousTextBindType)
Called when a label's text bind type has changed.- Parameters:
label
- The label whose binding has changed.previousTextBindType
- The previous bind type for the label text.
-
textBindMappingChanged
default void textBindMappingChanged(Label label, Label.TextBindMapping previousTextBindMapping)
Called when a label's text bind mapping has changed.- Parameters:
label
- The label whose binding has changed.previousTextBindMapping
- The previous bind mapping for the label text.
-
-