Package-level declarations
Types
Link copied to clipboard
class BasicDaysOfTheWeekPanelBehavior(background: Paint, defaultVisualizer: ItemVisualizer<DayOfWeek, Unit>?) : DaysOfTheWeekPanelBehavior
Created by Nicholas Eddy on 2/21/22.
Link copied to clipboard
class BasicMonthPanelBehavior(background: Paint, defaultVisualizer: ItemVisualizer<LocalDate, MonthPanel> = itemVisualizer { day, previous, panel ->
val text = "${day.dayOfMonth}"
when (previous) {
is Label -> previous.apply { fitText = emptySet(); this.text = text }
else -> Label(text).apply { fitText = emptySet() }
}.also {
it.enabled = day.month == panel.startDate.month
}
}) : MonthPanelBehavior
Created by Nicholas Eddy on 2/21/22.