Button

final case
class Button(buttonAssets: ButtonAssets, bounds: Rectangle, depth: Depth, state: ButtonState, onUp: () => List[GlobalEvent], onDown: () => List[GlobalEvent], onHoverOver: () => List[GlobalEvent], onHoverOut: () => List[GlobalEvent], onClick: () => List[GlobalEvent], onHoldDown: () => List[GlobalEvent])
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def draw: SceneNode
def update(mouse: Mouse): Outcome[Button]
def withClickActions(actions: GlobalEvent*): Button
def withClickActions(actions: => List[GlobalEvent]): Button
def withDownActions(actions: GlobalEvent*): Button
def withDownActions(actions: => List[GlobalEvent]): Button
def withHoldDownActions(actions: GlobalEvent*): Button
def withHoldDownActions(actions: => List[GlobalEvent]): Button
def withHoverOutActions(actions: GlobalEvent*): Button
def withHoverOutActions(actions: => List[GlobalEvent]): Button
def withHoverOverActions(actions: GlobalEvent*): Button
def withHoverOverActions(actions: => List[GlobalEvent]): Button
def withUpActions(actions: GlobalEvent*): Button
def withUpActions(actions: => List[GlobalEvent]): Button

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product