Package org.pushingpixels.aurora.component.model

Types

ComboBoxContentModel
Link copied to clipboard
data class ComboBoxContentModel<E>(items: List<E>, selectedItem: E, richTooltip: RichTooltip?, enabled: Boolean, onTriggerItemSelectedChange: (E) -> Unit) : ContentModel
ComboBoxPresentationModel
Link copied to clipboard
data class ComboBoxPresentationModel<E>(backgroundAppearanceStrategy: BackgroundAppearanceStrategy, displayConverter: (E) -> String, displayIconConverter: (E) -> Painter?, contentPadding: PaddingValues, horizontalAlignment: HorizontalAlignment, horizontalGapScaleFactor: Float, popupPlacementStrategy: PopupPlacementStrategy, popupMaxVisibleItems: Int, richTooltipPresentationModel: RichTooltipPresentationModel) : PresentationModel
ComboBoxSizingConstants
Link copied to clipboard
object ComboBoxSizingConstants
Command
Link copied to clipboard
data class Command(text: String, extraText: String?, icon: Painter?, action: () -> Unit?, actionPreview: CommandActionPreview?, isActionEnabled: Boolean, isActionToggle: Boolean, isActionToggleSelected: Boolean, actionRichTooltip: RichTooltip?, onTriggerActionToggleSelectedChange: (Boolean) -> Unit?, secondaryContentModel: CommandMenuContentModel?, isSecondaryEnabled: Boolean, secondaryRichTooltip: RichTooltip?) : ContentModel
CommandActionPreview
Link copied to clipboard
interface CommandActionPreview
CommandButtonKind
Link copied to clipboard
enum CommandButtonKind : Enum<CommandButtonKind>

Enumerates the available command button kinds.

CommandButtonPresentationModel
Link copied to clipboard
data class CommandButtonPresentationModel(presentationState: CommandButtonPresentationState, backgroundAppearanceStrategy: BackgroundAppearanceStrategy, horizontalAlignment: HorizontalAlignment, iconDimension: Dp?, iconDisabledFilterStrategy: IconFilterStrategy, iconEnabledFilterStrategy: IconFilterStrategy, iconActiveFilterStrategy: IconFilterStrategy, forceAllocateSpaceForIcon: Boolean, textStyle: TextStyle?, popupPlacementStrategy: PopupPlacementStrategy, toDismissPopupsOnActivation: Boolean, popupMenuPresentationModel: CommandPopupMenuPresentationModel, textClick: TextClick, actionRichTooltipPresentationModel: RichTooltipPresentationModel, popupRichTooltipPresentationModel: RichTooltipPresentationModel, contentPadding: PaddingValues, horizontalGapScaleFactor: Float, verticalGapScaleFactor: Float, minWidth: Dp, isMenu: Boolean) : PresentationModel
CommandButtonPresentationState
Link copied to clipboard
abstract class CommandButtonPresentationState(displayName: String)

Presentation state for command buttons. This class provides a number of core companion presentation states. In addition, it also allows creating additional custom states by using the constructor and implementing the relevant abstract methods.

CommandButtonSizingConstants
Link copied to clipboard
object CommandButtonSizingConstants
CommandGroup
Link copied to clipboard
data class CommandGroup(title: String?, commands: List<Command>) : ContentModel
CommandMenuContentModel
Link copied to clipboard
data class CommandMenuContentModel(groups: List<CommandGroup>, panelContentModel: CommandPanelContentModel?, highlightedCommand: Command?)
CommandPanelContentModel
Link copied to clipboard
data class CommandPanelContentModel(commandGroups: List<CommandGroup>, commandActionPreview: CommandActionPreview?) : ContentModel
CommandPanelPresentationModel
Link copied to clipboard
data class CommandPanelPresentationModel(contentPadding: PaddingValues, layoutFillMode: PanelLayoutFillMode, maxColumns: Int, maxRows: Int, showGroupLabels: Boolean, commandPresentationState: CommandButtonPresentationState, commandIconDimension: Dp, commandContentPadding: PaddingValues, commandTextStyle: TextStyle?, commandHorizontalAlignment: HorizontalAlignment, commandHorizontalGapScaleFactor: Float, commandVerticalGapScaleFactor: Float, backgroundAppearanceStrategy: BackgroundAppearanceStrategy, iconDisabledFilterStrategy: IconFilterStrategy, iconEnabledFilterStrategy: IconFilterStrategy, iconActiveFilterStrategy: IconFilterStrategy, popupPlacementStrategy: PopupPlacementStrategy, isMenu: Boolean) : PresentationModel
CommandPanelSizingConstants
Link copied to clipboard
object CommandPanelSizingConstants
CommandPopupMenuPresentationModel
Link copied to clipboard
data class CommandPopupMenuPresentationModel(panelPresentationModel: CommandPanelPresentationModel?, menuPresentationState: CommandButtonPresentationState, menuContentPadding: PaddingValues, maxVisibleMenuCommands: Int, popupPlacementStrategy: PopupPlacementStrategy, toDismissOnCommandActivation: Boolean)
CommandStripPresentationModel
Link copied to clipboard
data class CommandStripPresentationModel(orientation: StripOrientation, commandPresentationState: CommandButtonPresentationState, horizontalGapScaleFactor: Float, verticalGapScaleFactor: Float, backgroundAppearanceStrategy: BackgroundAppearanceStrategy, horizontalAlignment: HorizontalAlignment, iconDimension: Dp?, iconDisabledFilterStrategy: IconFilterStrategy, iconEnabledFilterStrategy: IconFilterStrategy, iconActiveFilterStrategy: IconFilterStrategy, popupPlacementStrategy: PopupPlacementStrategy, textClick: TextClick, isMenu: Boolean) : PresentationModel
CommandStripSizingConstants
Link copied to clipboard
object CommandStripSizingConstants
ContentModel
Link copied to clipboard
interface ContentModel
HorizontalAlignment
Link copied to clipboard
enum HorizontalAlignment : Enum<HorizontalAlignment>
IconContentModel
Link copied to clipboard
data class IconContentModel(icon: Painter, enabled: Boolean) : ContentModel
IconPresentationModel
Link copied to clipboard
data class IconPresentationModel(iconDimension: Dp, iconDisabledFilterStrategy: IconFilterStrategy, iconEnabledFilterStrategy: IconFilterStrategy, inheritStateFromParent: Boolean) : PresentationModel
IconSizingConstants
Link copied to clipboard
object IconSizingConstants
LabelContentModel
Link copied to clipboard
data class LabelContentModel(text: String, enabled: Boolean, icon: Painter?) : ContentModel
LabelPresentationModel
Link copied to clipboard
data class LabelPresentationModel(contentPadding: PaddingValues, iconDimension: Dp, iconDisabledFilterStrategy: IconFilterStrategy, iconEnabledFilterStrategy: IconFilterStrategy, inheritStateFromParent: Boolean, textStyle: TextStyle?, textOverflow: TextOverflow, textSoftWrap: Boolean, textMaxLines: Int, horizontalAlignment: HorizontalAlignment, horizontalGapScaleFactor: Float) : PresentationModel
LabelSizingConstants
Link copied to clipboard
object LabelSizingConstants
PanelLayoutFillMode
Link copied to clipboard
enum PanelLayoutFillMode : Enum<PanelLayoutFillMode>
PresentationModel
Link copied to clipboard
interface PresentationModel
ProgressCircularPresentationModel
Link copied to clipboard
data class ProgressCircularPresentationModel(size: Dp) : PresentationModel
ProgressConstants
Link copied to clipboard
object ProgressConstants
ProgressDeterminateContentModel
Link copied to clipboard
data class ProgressDeterminateContentModel(enabled: Boolean, progress: Float) : ContentModel
ProgressIndeterminateContentModel
Link copied to clipboard
data class ProgressIndeterminateContentModel(enabled: Boolean) : ContentModel
ProgressLinearPresentationModel
Link copied to clipboard
data class ProgressLinearPresentationModel(primarySize: Dp, secondarySize: Dp) : PresentationModel
RichTooltip
Link copied to clipboard
data class RichTooltip(title: String, mainIcon: Painter?, descriptionSections: List<String>?, footerIcon: Painter?, footerSections: List<String>?)

Rich tooltip. In its most basic form, the rich tooltip has a title and one (possible multiline) description text:

RichTooltipPresentationModel
Link copied to clipboard
data class RichTooltipPresentationModel(mainIconSize: Dp, footerIconSize: Dp) : PresentationModel
RichTooltipSizingConstants
Link copied to clipboard
object RichTooltipSizingConstants
SelectorContentModel
Link copied to clipboard
data class SelectorContentModel(text: String, richTooltip: RichTooltip?, enabled: Boolean, selected: Boolean, onTriggerSelectedChange: (Boolean) -> Unit) : ContentModel
SelectorPresentationModel
Link copied to clipboard
data class SelectorPresentationModel(contentPadding: PaddingValues, markSize: Dp, horizontalAlignment: HorizontalAlignment, horizontalGapScaleFactor: Float, richTooltipPresentationModel: RichTooltipPresentationModel) : PresentationModel
SelectorSizingConstants
Link copied to clipboard
object SelectorSizingConstants
SeparatorContentModel
Link copied to clipboard
data class SeparatorContentModel(enabled: Boolean) : ContentModel
SeparatorPresentationModel
Link copied to clipboard
data class SeparatorPresentationModel(startGradientAmount: Dp, endGradientAmount: Dp) : PresentationModel
SeparatorSizingConstants
Link copied to clipboard
object SeparatorSizingConstants
SliderContentModel
Link copied to clipboard
data class SliderContentModel(value: Float, valueRange: ClosedFloatingPointRange<Float>, onTriggerValueChange: (Float) -> Unit, onValueChangeEnd: () -> Unit, enabled: Boolean) : ContentModel
SliderPresentationModel
Link copied to clipboard
data class SliderPresentationModel(tickSteps: Int, snapToTicks: Boolean, drawTicks: Boolean) : PresentationModel
SliderSizingConstants
Link copied to clipboard
object SliderSizingConstants
StripOrientation
Link copied to clipboard
enum StripOrientation : Enum<StripOrientation>
TextClick
Link copied to clipboard
enum TextClick : Enum<TextClick>
TextFieldPresentationModel
Link copied to clipboard
data class TextFieldPresentationModel(keyboardOptions: KeyboardOptions, keyboardActions: KeyboardActions, singleLine: Boolean, showBorder: Boolean, maxLines: Int, visualTransformation: VisualTransformation) : PresentationModel
TextFieldSizingConstants
Link copied to clipboard
object TextFieldSizingConstants
TextFieldStringContentModel
Link copied to clipboard
data class TextFieldStringContentModel(value: String, placeholder: String, enabled: Boolean, readOnly: Boolean, onValueChange: (String) -> Unit) : ContentModel
TextFieldValueContentModel
Link copied to clipboard
data class TextFieldValueContentModel(value: TextFieldValue, placeholder: String, enabled: Boolean, readOnly: Boolean, onValueChange: (TextFieldValue) -> Unit) : ContentModel

Properties