Class: WindowComponentTheme

olympe.ui.std.theme. WindowComponentTheme


new WindowComponentTheme()

Creates a WindowComponentTheme.

Extends

Methods


getBackgroundColor()

Inherited From:
Overrides:
Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getBackgroundImagePosition()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PVector2

getBackgroundImageSize()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PVector2

getBackgroundImageUrl()

Inherited From:
Overrides:
Returns:
Type
olympe.df.POString

getBorderColor()

Inherited From:
Overrides:
Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getBorderWidth()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PONumber

getButtonContainerWidth()

Returns:
Type
olympe.df.PONumber | number

getCloseButtonBackgroundColor()

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

getCloseButtonBorderColor()

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

getCloseButtonBorderWidth()

Returns:
Type
olympe.df.PONumber | number

getCloseButtonDisabled()

Returns:
Type
olympe.df.POBoolean | boolean

getCloseIconPosition()

Returns:
Type
olympe.df.PVector2

getCloseIconSize()

Get the close icon size

Returns:
Type
olympe.df.PVector2

getCloseIconUrl()

Returns:
Type
olympe.df.POString | string

getContentBorderColor()

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

getContentBorderWidth()

Returns:
Type
olympe.df.PONumber | number

getCornerRadius()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PONumber

getDimension()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PONumber

getOpacity()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PONumber

getShadowColor()

Inherited From:
Overrides:
Returns:
Type
olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>

getShadowInset()

Inherited From:
Overrides:
Returns:
Type
olympe.df.POBoolean

getShadowOffset()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PVector2

getShadowRadius()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PONumber

getShadowSpread()

Inherited From:
Overrides:
Returns:
Type
olympe.df.PONumber

getTitleBackgroundColor()

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

getTitleBorderColor()

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

getTitleBorderWidth()

Returns:
Type
olympe.df.PONumber | number

getTitleCornerRadius()

Get the close button corner radius

Returns:
Type
olympe.df.PONumber | number

getTitleFontFamily()

Returns:
Type
olympe.df.POString | string

getTitleFontSize()

Returns:
Type
olympe.df.PONumber | number

getTitleFontWeight()

Returns:
Type
olympe.df.PONumber | number

getTitleHeight()

Returns:
Type
olympe.df.PONumber | number

getTitleTextColor()

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

getTitleTextHorizontalAlign()

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

getTitleTextVerticalAlign()

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

setBackgroundColor(color)

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

setBackgroundImagePosition(imagePosition)

Parameters:
Name Type Description
imagePosition olympe.df.PVector2
Inherited From:
Overrides:

setBackgroundImageSize(imageSize)

Parameters:
Name Type Description
imageSize olympe.df.PVector2
Inherited From:
Overrides:

setBackgroundImageUrl(url)

Parameters:
Name Type Description
url olympe.df.POString
Inherited From:
Overrides:

setBorderColor(borderColor)

Parameters:
Name Type Description
borderColor olympe.df.Color | olympe.df.Proxy.<olympe.df.Color>
Inherited From:
Overrides:

setBorderWidth(borderWidth)

Parameters:
Name Type Description
borderWidth olympe.df.PONumber | number
Inherited From:
Overrides:

setButtonContainerWidth(width)

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

setCloseButtonBackgroundColor(color)

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

setCloseButtonBorderColor(color)

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

setCloseButtonBorderWidth(width)

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

setCloseButtonDisabled(disabled)

Parameters:
Name Type Description
disabled olympe.df.POBoolean | boolean

setCloseIconPosition(position)

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

setCloseIconSize(size)

Set the close icon size

Parameters:
Name Type Description
size olympe.df.PVector2

setCloseIconUrl(url)

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

setContentBorderColor(contentBorderColor)

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

setContentBorderWidth(contentBorderWidth)

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

setCornerRadius(cornerRadius)

Parameters:
Name Type Description
cornerRadius olympe.df.PONumber | number
Inherited From:
Overrides:

setDimension(dimension)

Parameters:
Name Type Description
dimension olympe.df.PVector2
Inherited From:
Overrides:

setDimensionHeight(height)

Parameters:
Name Type Description
height olympe.df.PONumber | number
Inherited From:
Overrides:

setDimensionWidth(width)

Parameters:
Name Type Description
width olympe.df.PONumber | number
Inherited From:
Overrides:

setOpacity(opacity)

Parameters:
Name Type Description
opacity olympe.df.PONumber | number
Inherited From:
Overrides:

setShadow(offset, radius [, spread] [, color] [, inset])

Parameters:
Name Type Argument Default Description
offset olympe.df.PVector2

Offset in px

radius olympe.df.PONumber | number

Blur radius in px

spread olympe.df.PONumber | number <optional>
0

Spread radius in px

color olympe.df.Color | olympe.df.Proxy.<olympe.df.Color> <optional>
'#000000'
inset olympe.df.POBoolean | boolean <optional>
false

rue if internal shadow

Inherited From:
Overrides:

setShadowColor(color)

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

setShadowInset(inset)

Parameters:
Name Type Description
inset olympe.df.POBoolean | boolean
Inherited From:
Overrides:

setShadowOffsetX(offsetX)

Parameters:
Name Type Description
offsetX olympe.df.PONumber | number
Inherited From:
Overrides:

setShadowOffsetY(offsetY)

Parameters:
Name Type Description
offsetY olympe.df.PONumber | number
Inherited From:
Overrides:

setShadowRadius(radius)

Parameters:
Name Type Description
radius olympe.df.PONumber | number
Inherited From:
Overrides:

setShadowSpread(spread)

Parameters:
Name Type Description
spread olympe.df.PONumber | number
Inherited From:
Overrides:

setTitleBackgroundColor(titleBackgroundColor)

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

setTitleBorderColor(titleBorderColor)

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

setTitleBorderWidth(titleBorderWidth)

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

setTitleCornerRadius(titleCornerRadius)

Set the close button corner radius

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

setTitleFontFamily(titleFontFamily)

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

setTitleFontSize(titleFontSize)

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

setTitleFontWeight(titleFontWeight)

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

setTitleHeight(titleHeight)

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

setTitleTextColor(titleTextColor)

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

setTitleTextHorizontalAlign(titleHorizontalAlign)

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

setTitleTextVerticalAlign(titleVerticalAlign)

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