groovy.swing
Class SwingBuilder
java.lang.Object
|
+--groovy.lang.GroovyObjectSupport
|
+--groovy.util.BuilderSupport
|
+--groovy.swing.SwingBuilder
- All Implemented Interfaces:
- GroovyObject
- public class SwingBuilder
- extends BuilderSupport
A helper class for creating Swing widgets using GroovyMarkup
- Version:
- $Revision: 1.4 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwingBuilder
public SwingBuilder()
setParent
protected void setParent(Object parent,
Object child)
- Specified by:
setParent
in class BuilderSupport
nodeCompleted
protected void nodeCompleted(Object parent,
Object node)
- Description copied from class:
BuilderSupport
- A hook to allow nodes to be processed once they have had all of their
children applied
- Overrides:
nodeCompleted
in class BuilderSupport
createNode
protected Object createNode(Object name)
- Specified by:
createNode
in class BuilderSupport
createNode
protected Object createNode(Object name,
Object value)
- Specified by:
createNode
in class BuilderSupport
createNode
protected Object createNode(Object name,
Map attributes)
- Specified by:
createNode
in class BuilderSupport
capitalize
protected String capitalize(String text)
registerWidgets
protected void registerWidgets()
createDialog
protected Object createDialog(Map properties)
createComboBox
protected Object createComboBox(Map properties)
registerBeanFactory
protected void registerBeanFactory(String name,
Class beanClass)
registerFactory
protected void registerFactory(String name,
groovy.swing.impl.Factory factory)
Copyright © 2003 The Codehaus. All Rights Reserved.