Class: DropDownTheme

olympe.ui.std.theme. DropDownTheme


Creates a DropDownTheme.

Extends

Members


<static> CLASS_ITEM :string

Theme class for item in dropdown list (should be supported by any theme) This theme class will be applied on the item renderer of the dropdown

Type:
  • string

<static> CLASS_MOUSEOVERITEM :string

Theme class for item in a dropdown list with mouse over it (should be supported by any theme) This theme class will be applied on the item renderer of the dropdown

Type:
  • string

<static> CLASS_SELECTEDVALUE :string

Theme class for selected value in a dropdown (should be supported by any theme) This theme class will be applied on the item renderer of the dropdown

Type:
  • string

Methods


getArrowIconPosition()

Returns:
Type
olympe.df.PVector2

getArrowIconSize()

Returns:
Type
olympe.df.PVector2

getArrowIconUrl()

Returns:
Type
olympe.df.POString

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

getCornerRadius()

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

getDimension()

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

getItemsListOffset()

Returns:
Type
olympe.df.PVector2

getItemsListTheme()

Returns:
Type
olympe.df.Proxy.<olympe.ui.std.theme.DockableElementTheme> | olympe.ui.std.theme.DockableElementTheme

getItemThemeClass()

Returns:
Type
olympe.df.POString

getMouseOverItemThemeClass()

Returns:
Type
olympe.df.POString

getOpacity()

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

getPaddingBottom()

Returns:
Type
olympe.df.PONumber

getPaddingLeft()

Returns:
Type
olympe.df.PONumber

getPaddingRight()

Returns:
Type
olympe.df.PONumber

getPaddingTop()

Returns:
Type
olympe.df.PONumber

getSelectedValueThemeClass()

Returns:
Type
olympe.df.POString

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

getSpaceArrowSelectedValue()

Returns:
Type
olympe.df.PONumber

setArrowIconPosition(arrowIconPosition)

Parameters:
Name Type Description
arrowIconPosition olympe.df.PVector2

setArrowIconSize(arrowIconSize)

Parameters:
Name Type Description
arrowIconSize olympe.df.PVector2

setArrowIconUrl(arrowIconUrl)

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

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:

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:

setItemsListOffset(itemsListOffset)

Parameters:
Name Type Description
itemsListOffset olympe.df.PVector2

setItemsListTheme(theme)

Parameters:
Name Type Description
theme olympe.df.Proxy.<olympe.ui.std.theme.DockableElementTheme> | olympe.ui.std.theme.DockableElementTheme

setItemThemeClass(itemThemeClass)

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

setMouseOverItemThemeClass(mouseOverItemThemeClass)

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

setOpacity(opacity)

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

setPaddingBottom(paddingBottom)

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

setPaddingLeft(paddingLeft)

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

setPaddingRight(paddingRight)

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

setPaddingTop(paddingTop)

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

setSelectedValueThemeClass(selectedValueThemeClass)

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

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:

setSpaceArrowSelectedValue(spaceArrowSelectedValue)

Parameters:
Name Type Description
spaceArrowSelectedValue olympe.df.PONumber