MenuLeaf

ostrat.pgui.MenuLeaf
See theMenuLeaf companion object
class MenuLeaf(text: String, val action: () => Unit) extends MenuNode

Attributes

Companion
object
Graph
Supertypes
class MenuNode
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def +(operand: () => Unit): MenuLeaf
def doAfter(action: () => Unit): MenuLeaf

Inherited methods

def +(other: MenuNode): MenuSeq

Attributes

Inherited from:
MenuNode
def fold[T](fLeaf: MenuLeaf => T, fBranch: MenuBranch => T, fDynamic: MenuBranchDynamic => T): T

Attributes

Inherited from:
MenuNode
def ifPlus(b: Boolean, other: MenuNode): MenuSeq

Attributes

Inherited from:
MenuNode

Attributes

Inherited from:
MenuNode

Concrete fields

val action: () => Unit