TimePicker component with FlatLaf styling applied and maintained. More...
Public Member Functions | |
| FlatLafTimePicker () | |
| Creates a new FlatLafTimePicker with FlatLaf styling applied. | |
| final void | applyTheme () |
| Applies the FlatLaf theme. | |
| JTextField | getInternalTextField () |
| Returns the internal JTextField of the TimePicker. | |
| Dimension | getPreferredSize () |
| Returns preferred size with height adjusted to standard text field height. | |
| Public Member Functions inherited from fr.softsf.canscan.ui.IFlatLafStyledForLGoodDatePicker | |
| default Dimension | computePreferredSize (Dimension original) |
| Adjusts the given dimension to use the standard text field height. | |
Static Private Member Functions | |
| static TimePickerSettings | createSettings () |
| Configures TimePickerSettings with FlatLaf colors and borders. | |
Static Private Attributes | |
| static final String | TEXT_FIELD_BACKGROUND = "TextField.background" |
Additional Inherited Members | |
| Public Attributes inherited from fr.softsf.canscan.ui.IFlatLafStyledForLGoodDatePicker | |
| int | TEXT_FIELD_HEIGHT = new JTextField().getPreferredSize().height |
TimePicker component with FlatLaf styling applied and maintained.
Provides: - FlatLaf-based colors and borders via customized TimePickerSettings. - Automatic application of UIManager defaults to the internal text field. - Preferred size adjusted to match standard text field height.
| fr.softsf.canscan.ui.FlatLafTimePicker.FlatLafTimePicker | ( | ) |
Creates a new FlatLafTimePicker with FlatLaf styling applied.
| final void fr.softsf.canscan.ui.FlatLafTimePicker.applyTheme | ( | ) |
Applies the FlatLaf theme.
Marked final to prevent MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR.
Implements fr.softsf.canscan.ui.IFlatLafStyledForLGoodDatePicker.
|
staticprivate |
Configures TimePickerSettings with FlatLaf colors and borders.
| JTextField fr.softsf.canscan.ui.FlatLafTimePicker.getInternalTextField | ( | ) |
Returns the internal JTextField of the TimePicker.
Implements fr.softsf.canscan.ui.IFlatLafStyledForLGoodDatePicker.
| Dimension fr.softsf.canscan.ui.FlatLafTimePicker.getPreferredSize | ( | ) |
Returns preferred size with height adjusted to standard text field height.
|
staticprivate |