Package org.apache.pivot.wtk.text
Interface BlockListener
-
- All Known Implementing Classes:
BlockListener.Adapter
,BlockListener.Listeners
public interface BlockListener
Block listener interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BlockListener.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
BlockListener.Listeners
Block listeners.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
horizontalAlignmentChanged(Block block, HorizontalAlignment previousHorizontalAlignment)
Called when the horizontal alignment has changed.
-
-
-
Method Detail
-
horizontalAlignmentChanged
default void horizontalAlignmentChanged(Block block, HorizontalAlignment previousHorizontalAlignment)
Called when the horizontal alignment has changed.- Parameters:
block
- The text block in question.previousHorizontalAlignment
- The previous alignment value.
-
-