Modifier and Type | Method and Description |
---|---|
IGuiColor |
AppointmentTemplateBean.getGuiColor(AppointmentTemplate template) |
Modifier and Type | Method and Description |
---|---|
static Optional<IGuiColor> |
AppointmentHelper.findColor(AppointmentTemplate template)
Finds the
IGuiColor for an appointment template. |
Modifier and Type | Method and Description |
---|---|
static void |
AppointmentHelper.applyEventColors(org.primefaces.model.DefaultScheduleEvent.Builder<?> builder,
IGuiColor color,
StringBuilder styleClasses)
Given a schedule event builder, applies the color of the template to the event.
|
Modifier and Type | Method and Description |
---|---|
static org.primefaces.model.ScheduleEvent<?> |
AppointmentHelper.convertToEvent(Map<Long,org.apache.commons.lang3.tuple.Pair<AppointmentTemplate,IGuiColor>> templates,
AppointmentEventView view) |
Modifier and Type | Class and Description |
---|---|
class |
EMrmrsColor
Color palette from https://github.com/mrmrs/colors.
|
class |
EQuasarColor
Colors from https://quasar.dev/style/color-palette.
|
Modifier and Type | Method and Description |
---|---|
IGuiColor |
EColorPalette.getColor(int index) |
IGuiColor |
EColorPalette.getRandom() |
IGuiColor |
EColorPalette.getShuffledColor(int index) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<IGuiColor> |
EColorPalette.getColors() |
com.google.common.collect.ImmutableList<IGuiColor> |
EColorPalette.getShuffledColors() |
Modifier and Type | Method and Description |
---|---|
default T |
IColorField.get(IGuiColor color)
Gets the value of this field from the given color.
|
default T |
IColorField.get(IGuiColor color,
T defaultValue)
Gets the value of this field from the given color.
|
default boolean |
IColorField.supportedBy(IGuiColor color)
If a sub class overrides
IColorField.get(IGuiColor) , they should also override this method. |
Modifier and Type | Class and Description |
---|---|
class |
CustomColor
A custom
IGuiColor color with a builder that supports whatever color fields were added during the build
process. |
Modifier and Type | Method and Description |
---|---|
IGuiColor |
CustomColor.Builder.build() |
Modifier and Type | Method and Description |
---|---|
IGuiColor |
AppointmentTemplateItem.getColor() |
Constructor and Description |
---|
AppointmentTemplateItem(AppointmentTemplate appointmentTemplate,
IGuiColor color) |
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.