Package org.dwcj.interfaces
Interface TextAlignable
- All Known Implementing Classes:
Button,CheckBox,ComboBox,DateEditBox,Label,ListBox,NumericBox,NumericBoxSpinner,StringEditBox,TextBox,TextComboBox
public interface TextAlignable
On applicable controls, creates enum which
helps facilitate underlying BBj constant integers for text alignment
behavior to legible enum values, and facilitates implementation of methods
to interact with this behavior.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns a value indicating the text's horizontal alignment.setTextAlignment(TextAlignable.Alignment alignment) Sets the horizontal alignment of the text within the control.
-
Method Details
-
getTextAlignment
TextAlignable.Alignment getTextAlignment()Returns a value indicating the text's horizontal alignment.- Returns:
-
setTextAlignment
Sets the horizontal alignment of the text within the control.- Parameters:
alignment- Enum from list representing an internal BBj numeric constant- Returns:
- The control itself
-