Package-level declarations

Types

Link copied to clipboard
class ActionButtonColors(val normalAreaColors: AreaColors, val hoverAreaColors: AreaColors, val pressedAreaColors: AreaColors, val disabledAreaColors: AreaColors) : AreaProvider, HoverAreaProvider, PressedAreaProvider, DisabledAreaProvider
Link copied to clipboard
class ButtonColors(val normalAreaColors: AreaColors, val focusAreaColors: AreaColors, val disabledAreaColors: AreaColors) : AreaProvider, FocusAreaProvider, DisabledAreaProvider
Link copied to clipboard
class CheckBoxColors(val normalAreaColors: AreaColors, val selectionAreaColors: AreaColors, val focusAreaColors: AreaColors, val disabledAreaColors: AreaColors) : AreaProvider, DisabledAreaProvider, FocusAreaProvider, SelectionAreaProvider
Link copied to clipboard
class ComboBoxColors(val normalAreaColors: AreaColors, val focusAreaColors: AreaColors, val disabledAreaColors: AreaColors, val dropdownMenuColors: DropdownMenuColors) : AreaProvider, FocusAreaProvider, DisabledAreaProvider
Link copied to clipboard
class ContextMenuColors(val normalAreaColors: AreaColors, val hoverAreaColors: AreaColors, val pressedAreaColors: AreaColors, val focusAreaColors: AreaColors) : AreaProvider, HoverAreaProvider, PressedAreaProvider, FocusAreaProvider
Link copied to clipboard
class DropdownMenuColors(val normalAreaColors: AreaColors, val hoverAreaColors: AreaColors, val pressedAreaColors: AreaColors, val focusAreaColors: AreaColors) : AreaProvider, HoverAreaProvider, PressedAreaProvider, FocusAreaProvider
Link copied to clipboard
class HoverOrPressedIndication(shape: Shape) : Indication
Link copied to clipboard
class JbContextMenuRepresentation(colors: ContextMenuColors) : ContextMenuRepresentation
Link copied to clipboard
class LinkColors(val normalAreaColors: AreaColors, val visitedAreaColors: AreaColors, val focusAreaColors: AreaColors, val disabledAreaColors: AreaColors, val hoverAreaColors: AreaColors, val pressedAreaColors: AreaColors) : AreaProvider, HoverAreaProvider, PressedAreaProvider, DisabledAreaProvider, FocusAreaProvider
Link copied to clipboard
data class MainToolBarColors(val isDark: Boolean, val normalAreaColors: AreaColors, val inactiveAreaColors: AreaColors, val actionButtonColors: ActionButtonColors) : AreaProvider, InactiveAreaProvider
Link copied to clipboard
class MainToolBarMeasurePolicy(window: Window, customWindowDecorationSupport: CustomWindowDecorationSupport) : MeasurePolicy
Link copied to clipboard
@Immutable
interface MainToolBarScope
Link copied to clipboard
class ProgressBarColors(val normalAreaColors: AreaColors, val indeterminateAreaColors: AreaColors) : AreaProvider
Link copied to clipboard
class RadioButtonColors(val normalAreaColors: AreaColors, val selectionAreaColors: AreaColors, val focusAreaColors: AreaColors, val disabledAreaColors: AreaColors) : AreaProvider, SelectionAreaProvider, FocusAreaProvider, DisabledAreaProvider
Link copied to clipboard
class SegmentedButtonColors(val normalAreaColors: AreaColors, val focusAreaColors: AreaColors, val itemNormalAreaColors: AreaColors, val itemHoverAreaColors: AreaColors, val itemPressedAreaColors: AreaColors, val itemSelectionAreaColors: AreaColors, val itemSelectedFocusAreaColors: AreaColors) : AreaProvider, FocusAreaProvider
Link copied to clipboard
class TabColors(val normalAreaColors: AreaColors, val selectionAreaColors: AreaColors, val hoverAreaColors: AreaColors, val pressedAreaColors: AreaColors, val inactiveAreaColors: AreaColors, val inactiveSelectionAreaColors: AreaColors) : AreaProvider, HoverAreaProvider, PressedAreaProvider, InactiveSelectionAreaProvider
Link copied to clipboard
data class TextFieldColors(val normalAreaColors: AreaColors, val errorAreaColors: AreaColors, val disabledAreaColors: AreaColors, val errorFocusAreaColors: AreaColors, val focusAreaColors: AreaColors) : AreaProvider, DisabledAreaProvider, ErrorFocusAreaProvider
Link copied to clipboard
class ToolBarActionButtonColors(val normalAreaColors: AreaColors, val hoverAreaColors: AreaColors, val pressedAreaColors: AreaColors, val disabledAreaColors: AreaColors, val selectionAreaColors: AreaColors, val inactiveAreaColors: AreaColors, val inactiveSelectionAreaColors: AreaColors) : AreaProvider, HoverAreaProvider, PressedAreaProvider, DisabledAreaProvider, InactiveSelectionAreaProvider
Link copied to clipboard
class ToolTipColors(val isDark: Boolean, val normalAreaColors: AreaColors) : AreaProvider

Properties

Link copied to clipboard
val LocalActionButtonColors: ProvidableCompositionLocal<ActionButtonColors>
Link copied to clipboard
val LocalCheckBoxColors: ProvidableCompositionLocal<CheckBoxColors>
Link copied to clipboard
val LocalCloseableTabColors: ProvidableCompositionLocal<TabColors>
Link copied to clipboard
val LocalComboBoxColors: ProvidableCompositionLocal<ComboBoxColors>
Link copied to clipboard
val LocalContentActivated: ProvidableCompositionLocal<Boolean>
Link copied to clipboard
val LocalContextMenuColors: ProvidableCompositionLocal<ContextMenuColors>
Link copied to clipboard
val LocalDropdownMenuColors: ProvidableCompositionLocal<DropdownMenuColors>
Link copied to clipboard
val LocalLinkColors: ProvidableCompositionLocal<LinkColors>
Link copied to clipboard
val LocalOutlineButtonColors: ProvidableCompositionLocal<ButtonColors>
Link copied to clipboard
val LocalPrimaryButtonColors: ProvidableCompositionLocal<ButtonColors>
Link copied to clipboard
val LocalProgressBarColors: ProvidableCompositionLocal<ProgressBarColors>
Link copied to clipboard
val LocalRadioButtonColors: ProvidableCompositionLocal<RadioButtonColors>
Link copied to clipboard
val LocalSegmentedButtonColors: ProvidableCompositionLocal<SegmentedButtonColors>
Link copied to clipboard
val LocalTabColors: ProvidableCompositionLocal<TabColors>
Link copied to clipboard
val LocalTextFieldColors: ProvidableCompositionLocal<TextFieldColors>
Link copied to clipboard
Link copied to clipboard
val LocalToolTipColors: ProvidableCompositionLocal<ToolTipColors>

Functions

Link copied to clipboard
@Composable
fun ActionButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, shape: Shape = RoundedCornerShape(6.dp), indication: Indication? = HoverOrPressedIndication(shape), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: ActionButtonColors = LocalActionButtonColors.current, content: @Composable BoxScope.() -> Unit)
Link copied to clipboard
@Composable
fun BaseChip(bgColor: Color, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun FrameWindowScope.BasicMainToolBar(colors: MainToolBarColors = LocalMainToolBarColors.current, customWindowDecorationSupport: CustomWindowDecorationSupport = CustomWindowDecorationSupport, content: @Composable MainToolBarScope.() -> Unit?)
Link copied to clipboard
@Composable
fun Checkbox(checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckBoxColors = LocalCheckBoxColors.current)
@Composable
fun Checkbox(checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckBoxColors = LocalCheckBoxColors.current, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun Chip(bgColor: Color, toolTipContent: @Composable () -> Unit? = null, chipContent: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun CloseableTab(selected: Boolean, onSelected: () -> Unit, onClosed: () -> Unit, modifier: Modifier = Modifier, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: TabColors = LocalCloseableTabColors.current, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
@Composable
fun <T> ComboBox(items: List<T>, value: T, onValueChange: (T) -> Unit? = null, modifier: Modifier = Modifier, menuModifier: Modifier = Modifier, enabled: Boolean = true, valueRender: @Composable (T) -> Unit = { Label("$it") }, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: ComboBoxColors = LocalComboBoxColors.current)
Link copied to clipboard
@Composable
fun ContextMenu(isOpen: Boolean, items: () -> List<ContextMenuItem>, onDismissRequest: () -> Unit, colors: ContextMenuColors = LocalContextMenuColors.current)
Link copied to clipboard
@Composable
fun CursorDropdownMenu(expanded: Boolean, onDismissRequest: () -> Unit, focusable: Boolean = true, modifier: Modifier = Modifier, colors: DropdownMenuColors = LocalDropdownMenuColors.current, content: @Composable ColumnScope.() -> Unit)
Link copied to clipboard
@Composable
fun DropdownLink(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, indication: Indication? = null, colors: LinkColors = LocalLinkColors.current, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalDefaultTextStyle.current)
Link copied to clipboard
@Composable
fun DropdownMenu(expanded: Boolean, onDismissRequest: () -> Unit, focusable: Boolean = true, modifier: Modifier = Modifier, offset: DpOffset = DpOffset(0.dp, 0.dp), colors: DropdownMenuColors = LocalDropdownMenuColors.current, content: @Composable ColumnScope.() -> Unit)
Link copied to clipboard
@Composable
fun DropdownMenuItem(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, shape: Shape = RectangleShape, contentPadding: PaddingValues = PaddingValues(horizontal = 8.dp), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
@Composable
fun ExternalLink(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, indication: Indication? = null, colors: LinkColors = LocalLinkColors.current, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalDefaultTextStyle.current)
Link copied to clipboard
@Composable
fun Icon(bitmap: ImageBitmap, contentDescription: String? = null, modifier: Modifier = Modifier, colorFilter: ColorFilter? = null, markerColor: Color = Color.Unspecified)
@Composable
fun Icon(painter: Painter, contentDescription: String? = null, modifier: Modifier = Modifier, colorFilter: ColorFilter? = null, markerColor: Color = Color.Unspecified)
@Composable
fun Icon(imageVector: ImageVector, contentDescription: String? = null, modifier: Modifier = Modifier, colorFilter: ColorFilter? = null, markerColor: Color = Color.Unspecified)
@Composable
fun Icon(resource: String, contentDescription: String? = null, modifier: Modifier = Modifier, colorFilter: ColorFilter? = null, markerColor: Color = Color.Unspecified)
Link copied to clipboard
@Composable
fun <T> IntelliJTree(modifier: Modifier = Modifier, tree: Tree<T>, treeState: TreeState = rememberTreeState(), onElementClick: (Tree.Element<T>) -> Unit = { println("click") }, onElementDoubleClick: (Tree.Element<T>) -> Unit = { println("double click") }, keyActions: KeyBindingScopedActions = DefaultTreeViewKeyActions(treeState), elementContent: @Composable SelectableLazyItemScope.(Tree.Element<T>) -> Unit)
Link copied to clipboard
@Composable
fun Label(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalDefaultTextStyle.current)
@Composable
fun Label(text: AnnotatedString, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, inlineContent: Map<String, InlineTextContent> = mapOf(), onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalDefaultTextStyle.current)
Link copied to clipboard
@Composable
fun Link(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, indication: Indication? = null, colors: LinkColors = LocalLinkColors.current, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = LocalDefaultTextStyle.current, trailerIcon: @Composable () -> Unit? = null)
Link copied to clipboard
Link copied to clipboard
fun Modifier.onHover(onHover: (Boolean) -> Unit): Modifier
Link copied to clipboard
@Composable
fun OutlineButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: ButtonColors = LocalOutlineButtonColors.current, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
fun Modifier.paintWithMarker(painter: Painter, sizeToIntrinsics: Boolean = true, alignment: Alignment = Alignment.Center, contentScale: ContentScale = ContentScale.Inside, alpha: Float = DefaultAlpha, colorFilter: ColorFilter? = null, markerColor: Color = Color.Unspecified): Modifier
Link copied to clipboard
@Composable
fun PrimaryButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: ButtonColors = LocalPrimaryButtonColors.current, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
@Composable
fun ProgressBar(modifier: Modifier = Modifier, colors: ProgressBarColors = LocalProgressBarColors.current)
@Composable
fun ProgressBar(progress: Float, modifier: Modifier = Modifier, colors: ProgressBarColors = LocalProgressBarColors.current)
Link copied to clipboard
@Composable
fun RadioButton(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: RadioButtonColors = LocalRadioButtonColors.current)
@Composable
fun RadioButton(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: RadioButtonColors = LocalRadioButtonColors.current, content: @Composable RowScope.() -> Unit = {})
Link copied to clipboard
@Composable
fun rememberMainToolBarMeasurePolicy(window: Window, customWindowDecorationSupport: CustomWindowDecorationSupport = CustomWindowDecorationSupport): MeasurePolicy
Link copied to clipboard
@Composable
fun SegmentedButton(itemCount: Int, selectedIndex: Int, onValueChange: (Int) -> Unit? = null, modifier: Modifier = Modifier, colors: SegmentedButtonColors = LocalSegmentedButtonColors.current, valueRender: @Composable BoxScope.(Int) -> Unit)
Link copied to clipboard
@Composable
fun Tab(selected: Boolean, onSelected: () -> Unit, modifier: Modifier = Modifier, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: TabColors = LocalTabColors.current, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
@Composable
fun TextArea(value: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalDefaultTextStyle.current, placeholder: @Composable () -> Unit? = null, footer: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {}, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, shape: Shape = RectangleShape, colors: TextFieldColors = LocalTextFieldColors.current)
Link copied to clipboard
@Composable
fun TextField(value: TextFieldValue, onValueChange: (TextFieldValue) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalDefaultTextStyle.current, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), onTextLayout: (TextLayoutResult) -> Unit = {}, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, shape: Shape = RoundedCornerShape(3.dp), colors: TextFieldColors = LocalTextFieldColors.current)
@Composable
fun TextField(value: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, textStyle: TextStyle = LocalDefaultTextStyle.current, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, isError: Boolean = false, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), onTextLayout: (TextLayoutResult) -> Unit = {}, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, shape: Shape = RoundedCornerShape(3.dp), colors: TextFieldColors = LocalTextFieldColors.current)
Link copied to clipboard
@Composable
fun themedSvgResource(resource: String, isDark: Boolean = LocalIsDarkTheme.current): Painter
Link copied to clipboard
@Composable
fun ToolBarActionButton(selected: Boolean = false, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, shape: Shape = RoundedCornerShape(6.dp), indication: Indication? = HoverOrPressedIndication(shape), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: ToolBarActionButtonColors = LocalToolBarActionButtonColors.current, content: @Composable BoxScope.() -> Unit)
Link copied to clipboard
@Composable
fun Tooltip(tooltip: @Composable () -> Unit, modifier: Modifier = Modifier, delayMillis: Int = 500, tooltipPlacement: TooltipPlacement = TooltipPlacement.CursorPoint( offset = DpOffset(0.dp, 32.dp) ), colors: ToolTipColors = LocalToolTipColors.current, content: @Composable () -> Unit)
@Composable
fun Tooltip(tooltip: String, modifier: Modifier = Modifier, delayMillis: Int = 500, tooltipPlacement: TooltipPlacement = TooltipPlacement.CursorPoint( offset = DpOffset(0.dp, 32.dp) ), colors: ToolTipColors = LocalToolTipColors.current, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun TriStateCheckbox(state: ToggleableState, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckBoxColors = LocalCheckBoxColors.current)
@Composable
fun TriStateCheckbox(state: ToggleableState, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckBoxColors = LocalCheckBoxColors.current, content: @Composable () -> Unit)