Package org.inspirenxe.strata.api.control.field
package org.inspirenxe.strata.api.control.field
Controls that edit a value: text, a number, a color, a date or a time:
TextBox,
PasswordTextBox,
TextArea, Spinner,
Slider,
ColorPicker,
CalendarView,
DatePicker,
TimePicker and
DateTimePicker.
Make them with a ComponentFactory. Each control lists the theme style
keys it reads as STYLE_* constants and says which are required. Events shared with other controls
belong to the attributes a control implements, such as TextInput.EDITED. Its own events are constants on
it: a request for each change the user can make, such as ColorPicker.PICK, and a report for each change from
any source, such as ColorPicker.PICKED.
-
ClassDescriptionA month grid to pick a day from, with a year view and a decade view to move far quickly.A calendar's own state in a
ComponentSnapshot.What a calendar shows.Picks an ARGB color: a square for saturation and brightness, a strip for hue, an optional strip for alpha, and a hex field.A color picker's own state in aComponentSnapshot.A field that shows a date in parts the user can type into or step, with a button that opens aCalendarViewin a popup.A date picker's own state in aComponentSnapshot.One field for a date and a time of day: the date's parts, a space, then the time's, with a popup that holds aCalendarViewbeside the time columns.A date and time picker's own state in aComponentSnapshot.A single-line field for a password or another secret.A password box's own state in aComponentSnapshot.A slider that picks a number from a range by dragging a thumb along a track.A slider's own state in aComponentSnapshot.A number in a text field, with buttons to step it up and down.A spinner's own state in aComponentSnapshot.Text the user edits over several lines, such as a description or a note.A text area's own state in aComponentSnapshot.A single-line text field.A text box's own state in aComponentSnapshot.A completion for the text of a box: the text that replaces a range of the box's text when the user accepts it.Works out the suggestions for the text of a box.A field that shows a time of day in parts the user can type into or step, with a button that opens columns of hours, minutes, seconds and the halves of the day in a popup.A time picker's own state in aComponentSnapshot.