ResizableIcons

Constructors

Link copied to clipboard
constructor(sizeProperty: ObservableInt)

Functions

Link copied to clipboard
open operator override fun get(name: String): Image?

Returns an Image with the given name at the default size.

open override fun get(name: String, size: Int): Image?

Returns an Image with the given name at the requested size.

Link copied to clipboard
open override fun getResizable(name: String): ObservableOptionalImage

Return an ObservableOptionalImage whose value changes whenever the controlling size property changes.

Link copied to clipboard
fun names(): List<String>
Link copied to clipboard
open override fun resizableNamedImages(sizeProperty: IntProperty): Icons.ResizableIcons

Returns another view of the same named images, with an additional feature : See ResizableNamedImages.getResizable.

Link copied to clipboard
open override fun toString(): String