Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(Automatically generated from BeanInfo)

Generated Object

A javaxgroovy.swing.JToggleButton impl.TableLayout is returned, unless the user passes in a subclass of JToggleButton TableLayout as the value argument, in which case the value argument is returned.

Attributes

Declared in

...

groovy.swing.

...

  • UI <ButtonUI> The UI object that implements the LookAndFeel.
  • action <Action> the Action instance connected with this ActionEvent source
  • borderPainted <boolean> Whether the border should be painted.
  • contentAreaFilled <boolean> Whether the button should paint the content area or leave it transparent.
  • disabledIcon <Icon> The disabled icon for the button.
  • disabledSelectedIcon <Icon> The disabled selection icon for the button.
  • displayedMnemonicIndex <int> the index into the String to draw the keyboard character mnemonic at
  • focusPainted <boolean> Whether focus should be painted
  • horizontalAlignment <int> The horizontal alignment of the icon and text.
  • horizontalTextPosition <int> The horizontal position of the text relative to the icon.
  • icon <Icon> The button's default icon
  • iconTextGap <int> If both the icon and text properties are set, this property defines the space between them.
  • label <String> Replace by setText(text)
  • margin <Insets> The space between the button's border and the label.
  • mnemonic <int> the keyboard character mnemonic
  • model <ButtonModel> Model that the Button uses.
  • pressedIcon <Icon> The pressed icon for the button.
  • rolloverEnabled <boolean> Whether rollover effects should be enabled.
  • rolloverIcon <Icon> The rollover icon for the button.
  • rolloverSelectedIcon <Icon> The rollover selected icon for the button.
  • selectedIcon <Icon> The selected icon for the button.
  • text <String> The button's text.
  • verticalAlignment <int> The vertical alignment of the icon and text.
  • verticalTextPosition <int> The vertical position of the text relative to the icon.
  • actionCommand <String>
  • multiClickThreshhold <long>
  • selected <boolean>
  • selectedObjects <Object[]>

impl.TableLayout

  • cellpadding <int>

Declared in javax.swing.JPanel

  • UI <PanelUI> The UI object that implements the Component's LookAndFeel.

Declared in javax.swing.JComponent

...

  • background <Color>
  • enabled <boolean>
  • focusable <boolean>
  • font <Font>
  • foreground <Color>
  • name <String>
  • visible <boolean>

Events

Declared in javax.swing.

...

  • itemStateChanged (ItemEvent) - part of ItemListener
  • actionPerformed (ActionEvent) - part of ActionListener
  • stateChanged (ChangeEvent) - part of ChangeListener

Declared in javax.swing.JComponent

  • vetoableChange (PropertyChangeEvent) - part of VetoableChangeListener
  • ancestorMoved (AncestorEvent) - part of AncestorListener
  • ancestorAdded (AncestorEvent) - part of AncestorListener
  • ancestorRemoved (AncestorEvent) - part of AncestorListener

...

Examples

Observable Attributes

  • UI
  • action
  • alignmentX
  • alignmentY
  • background
  • border
  • borderPaintedcellpadding
  • component
  • componentCount
  • componentPopupMenu
  • components
  • containerListeners
  • contentAreaFilled
  • disabledIcon
  • disabledSelectedIcon
  • displayedMnemonicIndex
  • enabled
  • focusCycleRoot
  • focusPainted
  • focusTraversalKeys
  • focusTraversalPolicy
  • focusTraversalPolicyProvider
  • focusTraversalPolicySet
  • focusable
  • font
  • foreground
  • horizontalAlignment
  • horizontalTextPosition
  • icon
  • iconTextGap
  • inheritsPopupMenu
  • inputVerifier
  • insets
  • label
  • layout
  • margin
  • maximumSize
  • minimumSize
  • mnemonic
  • model
  • opaque
  • preferredSize
  • pressedIcon
  • rolloverEnabled
  • rolloverIcon
  • rolloverSelectedIcon
  • selectedIcon
  • text
  • transferHandler
  • verifyInputWhenFocusTarget
  • verticalAlignment
  • verticalTextPosition