scala.swing

class Button

[source: scala/swing/Button.scala]

class Button(text0 : java.lang.String)
extends AbstractButton
A button that can be clicked, usually to perform some action.
See Also
javax.swing.JButton
Additional Constructor Summary
def this : Button
def this (a : Action) : Button
Value Summary
override lazy val peer : javax.swing.JButton
The underlying Swing peer.
Values and Variables inherited from Component
initP, Mouse
Values and Variables inherited from Publisher
listeners
Values and Variables inherited from Reactor
reactions
Method Summary
def defaultButton : Boolean
def defaultCapable : Boolean
def defaultCapable_= (capable : Boolean) : Unit
Methods inherited from AbstractButton
text, text_=, icon, icon_=, pressedIcon, pressedIcon_=, selectedIcon, selectedIcon_=, disabledIcon, disabledIcon_=, disabledSelectedIcon, disabledSelectedIcon_=, rolloverIcon, rolloverIcon_=, rolloverSelectedIcon, rolloverSelectedIcon_=, action, action_=, selected, selected_=, contentAreaFilled, contentAreaFilled_=, borderPainted, borderPainted_=, focusPainted, focusPainted_=, rolloverEnabled, rolloverEnabled_=, verticalTextPosition, verticalTextPosition_=, verticalAlignment, verticalAlignment_=, horizontalTextPosition, horizontalTextPosition_=, horizontalAlignment, horizontalAlignment_=, iconTextGap, iconTextGap_=, mnemonic, mnemonic_=, displayedMnemonicIndex, displayedMnemonicIndex_=, multiClickThreshold, multiClickThreshold_=, doClick, doClick, margin, margin_=
Methods inherited from Component
xLayoutAlignment, xLayoutAlignment_=, yLayoutAlignment, yLayoutAlignment_=, border, border_=, opaque, opaque_=, enabled, enabled_=, tooltip, tooltip_=, inputVerifier, inputVerifier_=, focusable, focusable_=, requestFocus, requestFocusInWindow, hasFocus, onFirstSubscribe, revalidate, paintComponent, paintBorder, paintChildren, paint, toString
Methods inherited from UIElement
self, foreground, foreground_=, background, background_=, minimumSize, minimumSize_=, maximumSize, maximumSize_=, preferredSize, preferredSize_=, preferredSize_=, font, font_=, locationOnScreen, location, bounds, size, size_=, size_=, locale, toolkit, cursor, cursor_=, visible, visible_=, showing, displayable, repaint, repaint, ignoreRepaint, ignoreRepaint_=, onLastUnsubscribe
Methods inherited from scala.swing.LazyPublisher
scala.swing.LazyPublisher.subscribe, scala.swing.LazyPublisher.unsubscribe
Methods inherited from Publisher
publish
Methods inherited from Reactor
listenTo, deafTo
Methods inherited from Proxy
hashCode, equals
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Additional Constructor Details
def this : Button

def this(a : Action) : Button

Value Details
override lazy val peer : javax.swing.JButton
The underlying Swing peer.
Overrides
AbstractButton.peer

Method Details
def defaultButton : Boolean

def defaultCapable : Boolean

def defaultCapable_=(capable : Boolean) : Unit