Versions Compared

Key

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

...

  • keyPressed (KeyEvent) - part of KeyListener
  • keyReleased (KeyEvent) - part of KeyListener
  • keyTyped (KeyEvent) - part of KeyListener
  • componentHidden (ComponentEvent) - part of ComponentListener
  • componentMoved (ComponentEvent) - part of ComponentListener
  • componentResized (ComponentEvent) - part of ComponentListener
  • componentShown (ComponentEvent) - part of ComponentListener
  • hierarchyChanged (HierarchyEvent) - part of HierarchyListener
  • mouseClicked (MouseEvent) - part of MouseListener
  • mouseEntered (MouseEvent) - part of MouseListener
  • mouseExited (MouseEvent) - part of MouseListener
  • mousePressed (MouseEvent) - part of MouseListener
  • mouseReleased (MouseEvent) - part of MouseListener
  • mouseDragged (MouseEvent) - part of MouseMotionListener
  • mouseMoved (MouseEvent) - part of MouseMotionListener
  • propertyChange (PropertyChangeEvent) - part of PropertyChangeListener
  • ancestorMoved (HierarchyEvent) - part of HierarchyBoundsListener
  • ancestorResized (HierarchyEvent) - part of HierarchyBoundsListener
  • focusGained (FocusEvent) - part of FocusListener
  • focusLost (FocusEvent) - part of FocusListener
  • mouseWheelMoved (MouseWheelEvent) - part of MouseWheelListener
  • caretPositionChanged (InputMethodEvent) - part of InputMethodListener
  • inputMethodTextChanged (InputMethodEvent) - part of InputMethodListener

Content

Usage

Examples


Code Block

import groovy.swing.SwingBuilder

 
def swingBuilder = new SwingBuilder()
swingBuilder.optionPane(message:'LOL Production (c)2009').createDialog(null, 'worthless message').show()
 


Observable Attributes

  • UI
  • alignmentX
  • alignmentY
  • background
  • border
  • component
  • componentCount
  • componentPopupMenu
  • components
  • containerListeners
  • enabled
  • focusCycleRoot
  • focusTraversalKeys
  • focusTraversalPolicy
  • focusTraversalPolicyProvider
  • focusTraversalPolicySet
  • focusable
  • font
  • foreground
  • icon
  • inheritsPopupMenu
  • initialSelectionValue
  • initialValue
  • inputValue
  • inputVerifier
  • insets
  • layout
  • maximumSize
  • message
  • messageType
  • minimumSize
  • opaque
  • optionType
  • options
  • preferredSize
  • selectionValues
  • transferHandler
  • value
  • verifyInputWhenFocusTarget
  • wantsInput