Class: ButtonTheme

olympe.ui.std.theme. ButtonTheme

Theme for Buttons.


new ButtonTheme()

Creates a ButtonTheme.

Methods


getAutoWidth()

Returns:
Type
olympe.df.POBoolean

getAutoWidthSidePadding()

Returns:
Type
olympe.df.PONumber

getDisabledBackgroundColor()

Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getDisabledBorderColor()

Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getDisabledTextColor()

Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getFontFamily()

Returns:
Type
olympe.df.POString

getFontSize()

Returns:
Type
olympe.df.PONumber

getFontWeight()

Returns:
Type
olympe.df.PONumber

getHoverBackgroundColor()

Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getPressedBackgroundColor()

Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getPressedBorderColor()

Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getPressedTextColor()

Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getTextColor()

Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getTextHorizontalAlign()

Returns:
Type
olympe.df.Proxy.<olympe.ui.common.HorizontalAlign>

getTextVerticalAlign()

Returns:
Type
olympe.df.Proxy.<olympe.ui.common.VerticalAlign>

setAutoWidth(autoWidth, sidePadding)

Parameters:
Name Type Description
autoWidth olympe.df.POBoolean | boolean
sidePadding olympe.df.PONumber | number

setDisabledBackgroundColor(color)

Parameters:
Name Type Description
color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

setDisabledBorderColor(color)

Parameters:
Name Type Description
color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

setDisabledTextColor(color)

Parameters:
Name Type Description
color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

setFontFamily(fontFamily)

Parameters:
Name Type Description
fontFamily olympe.df.POString | string

setFontSize(size)

Parameters:
Name Type Description
size olympe.df.PONumber | number

setFontWeight(fontWeight)

Parameters:
Name Type Description
fontWeight olympe.df.PONumber | number

setHoverBackgroundColor(color)

Parameters:
Name Type Description
color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

setPressedBackgroundColor(color)

Parameters:
Name Type Description
color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

setPressedBorderColor(color)

Parameters:
Name Type Description
color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

setPressedTextColor(color)

Parameters:
Name Type Description
color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

setTextColor(color)

Parameters:
Name Type Description
color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

setTextHorizontalAlign(textHorizontalAlign)

Parameters:
Name Type Description
textHorizontalAlign olympe.df.Proxy.<olympe.ui.common.HorizontalAlign> | olympe.ui.common.HorizontalAlign

setTextVerticalAlign(textVerticalAlign)

Parameters:
Name Type Description
textVerticalAlign olympe.df.Proxy.<olympe.ui.common.VerticalAlign> | olympe.ui.common.VerticalAlign