toggle menu
kaskad_platform
1.0.0
jvm
switch theme
search in API
ui
/
ru.sydis.ui.alerts.classes
/
Utils
Utils
object
Utils
Members
Properties
MESSAGES_FILE_NAME
Link copied to clipboard
const
val
MESSAGES_FILE_NAME
:
String
Functions
apply
Background
Link copied to clipboard
fun
<
T
>
TableView
<
T
>
.
applyBackground
(
color
:
String
)
apply
Font
Color
Link copied to clipboard
fun
<
T
>
TableView
<
T
>
.
applyFontColor
(
color
:
String
)
apply
Grid
Color
Link copied to clipboard
fun
<
T
>
TableView
<
T
>
.
applyGridColor
(
color
:
String
,
vertical
:
Boolean
=
false
)
format
Timestamp
Link copied to clipboard
fun
formatTimestamp
(
timestamp
:
Long
)
:
String
fun
formatTimestamp
(
timestamp
:
ULong
)
:
String
get
Default
Language
Link copied to clipboard
fun
getDefaultLanguage
(
)
:
ProtoLanguageId
set
Icon
Link copied to clipboard
fun
ButtonBase
.
setIcon
(
graph
:
String
,
color
:
Color
=
Color.rgb(0, 122, 110)
)
to
Css
Link copied to clipboard
fun
Color
.
toCss
(
)
:
String
to
Hex
Link copied to clipboard
fun
Color
.
toHex
(
)
:
String
to
Rgb
String
Link copied to clipboard
fun
toRgbString
(
color
:
Color
)
:
String