new ButtonTheme()
Creates a ButtonTheme.
Methods
-
getAutoWidth()
-
Returns:
- Type
- olympe.df.POBoolean
-
getAutoWidthSidePadding()
-
Returns:
- Type
- olympe.df.PONumber
-
getDisabledBackgroundColor()
-
Returns:
-
getDisabledBorderColor()
-
Returns:
-
getDisabledTextColor()
-
Returns:
-
getFontFamily()
-
Returns:
- Type
- olympe.df.POString
-
getFontSize()
-
Returns:
- Type
- olympe.df.PONumber
-
getFontWeight()
-
Returns:
- Type
- olympe.df.PONumber
-
getHoverBackgroundColor()
-
Returns:
-
getPressedBackgroundColor()
-
Returns:
-
getPressedBorderColor()
-
Returns:
-
getPressedTextColor()
-
Returns:
-
getTextColor()
-
Returns:
-
getTextHorizontalAlign()
-
Returns:
-
getTextVerticalAlign()
-
Returns:
-
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