Scala Library
|
|
scala/swing/Action.scala
]
abstract
class
Action(title0 : java.lang.String)
extends
AnyRefValue Summary | |
lazy val
|
peer : javax.swing.Action |
Method Summary | |
def
|
accelerator
: Option[javax.swing.KeyStroke]
For menus.
|
def
|
accelerator_= (k : Option[javax.swing.KeyStroke]) : Unit |
abstract def
|
apply : Unit |
def
|
enabled
: Boolean
For all components.
|
def
|
enabled_= (b : Boolean) : Unit |
def
|
icon
: javax.swing.Icon
None if large icon and small icon are not equal.
|
def
|
icon_= (i : javax.swing.Icon) : Unit |
def
|
longDescription
: java.lang.String
Can be used for status bars, for example.
|
def
|
longDescription_= (t : java.lang.String) : Unit |
def
|
mnemonic
: Int
Default: java.awt.event.KeyEvent.VK_UNDEFINED, i.e., no mnemonic key.
For all buttons and thus menu items.
|
def
|
mnemonic_= (m : Int) : Unit |
def
|
smallIcon : javax.swing.Icon |
def
|
smallIcon_= (i : javax.swing.Icon) : Unit |
def
|
title
: java.lang.String
Title is not optional.
|
def
|
title_= (t : java.lang.String) : Unit |
def
|
toolTip
: java.lang.String
For all components.
|
def
|
toolTip_= (t : java.lang.String) : Unit |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
def
title : java.lang.String
def
title_=(t : java.lang.String) : Unit
def
icon : javax.swing.Icon
def
icon_=(i : javax.swing.Icon) : Unit
def
smallIcon : javax.swing.Icon
def
smallIcon_=(i : javax.swing.Icon) : Unit
def
toolTip : java.lang.String
def
toolTip_=(t : java.lang.String) : Unit
def
longDescription : java.lang.String
def
longDescription_=(t : java.lang.String) : Unit
def
mnemonic : Int
def
accelerator : Option[javax.swing.KeyStroke]
def
accelerator_=(k : Option[javax.swing.KeyStroke]) : Unit
def
enabled : Boolean
abstract
def
apply : Unit
Scala Library
|
|