Package tools.aqua.bgw.util

Types

Link copied to clipboard
open class BidirectionalMap<T : Any, R : Any>(elements: Pair<T, R>)

A bidirectional map. Each key-value-pair gets mapped in both directions. Keys and values must be unique in the sense that there must not be a duplicate key in the domain, nor a duplicate value in the coDomain, but the same element may appear once as key and once as value.

Link copied to clipboard
open class Coordinate(xCoord: Number = 0, yCoord: Number = 0)

A Coordinate containing xCoord and yCoord.

Link copied to clipboard
open class CoordinatePlain

A CoordinatePlain with its four corners as Coordinates.

Link copied to clipboard
data class Font(    val size: Number = DEFAULT_FONT_SIZE,     val color: Color = Color.BLACK,     val family: String = "Arial",     val fontWeight: Font.FontWeight = FontWeight.NORMAL,     val fontStyle: Font.FontStyle = FontStyle.NORMAL)

This class is used to represent a font. For more customization of fonts, the CSS feature can be used.

Link copied to clipboard
data class GridIteratorElement<T>(    val columnIndex: Int,     val rowIndex: Int,     val component: T?)

Data class containing meta info about current grid element returned by its GridIterator.

Link copied to clipboard
open class Stack<T>(elements: Collection<T>)

Stack represents a Last In First Out (LIFO) data structure. It provides useful functions to manipulate the Stack.

Link copied to clipboard
object Trig

Utility class for trigonometry functions.