Class DropdownProperties
-
- All Implemented Interfaces:
-
kotlin.Cloneable
public class DropdownProperties extends BlockProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDropdownProperties.Entry
-
Field Summary
Fields Modifier and Type Field Description private final Colors.Palettepaletteprivate final FloatverticalPaddingprivate final PolyColoractiveColorprivate final PolyColorborderColorprivate final PolyColoractiveBorderColorprivate final Animation.TypeopenAnimationprivate final LongopenDurationprivate final FloatborderThicknessprivate final FloatArraycornerRadiiprivate final FloatminWidthprivate final PolyColoroutlineColorprivate final Animation.TypepressedAnimationprivate final Animation.TypehoverAnimationprivate final LongpressedAnimationDurationprivate final LonghoverAnimationDurationprivate final FloatoutlineThicknessprivate transient Function1<Properties, Colors.Palette>paletteGetprivate transient Colorscolorsprivate transient FontFamilyfontsprivate final Vec2<Unit>sizeprivate final transient HashMap<Event, Function2<Component, Event, Boolean>>eventHandlersprivate final Booleaninitialized
-
Constructor Summary
Constructors Constructor Description DropdownProperties(Float minWidth)
-
Method Summary
Modifier and Type Method Description Colors.PalettegetPalette()FloatgetVerticalPadding()PolyColorgetActiveColor()PolyColorgetBorderColor()PolyColorgetActiveBorderColor()Animation.TypegetOpenAnimation()LonggetOpenDuration()FloatgetBorderThickness()FloatArraygetCornerRadii()FloatgetMinWidth()-
Methods inherited from class org.polyfrost.polyui.property.impl.BlockProperties
getHoverAnimation, getHoverAnimationDuration, getOutlineColor, getOutlineThickness, getPaletteGet, getPressedAnimation, getPressedAnimationDuration, setPaletteGet -
Methods inherited from class org.polyfrost.polyui.property.Properties
addEventHandler, getColors, getEventHandlers, getFonts, getInitialized, getSize, init, setColors, setFonts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DropdownProperties
DropdownProperties(Float minWidth)
-
-
Method Detail
-
getPalette
Colors.Palette getPalette()
-
getVerticalPadding
Float getVerticalPadding()
-
getActiveColor
PolyColor getActiveColor()
-
getBorderColor
PolyColor getBorderColor()
-
getActiveBorderColor
PolyColor getActiveBorderColor()
-
getOpenAnimation
Animation.Type getOpenAnimation()
-
getOpenDuration
Long getOpenDuration()
-
getBorderThickness
Float getBorderThickness()
-
getCornerRadii
FloatArray getCornerRadii()
-
getMinWidth
Float getMinWidth()
-
-
-
-