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.5 $
- Author:
- James Strachan
Method Summary |
protected java.lang.String |
capitalize(java.lang.String text)
|
protected java.lang.Object |
createComboBox(java.util.Map properties)
|
protected java.lang.Object |
createDialog(java.util.Map properties)
|
protected java.lang.Object |
createNode(java.lang.Object name)
|
protected java.lang.Object |
createNode(java.lang.Object name,
java.util.Map attributes)
|
protected java.lang.Object |
createNode(java.lang.Object name,
java.lang.Object value)
|
protected void |
nodeCompleted(java.lang.Object parent,
java.lang.Object node)
A hook to allow nodes to be processed once they have had all of their
children applied |
protected void |
registerBeanFactory(java.lang.String name,
java.lang.Class beanClass)
|
protected void |
registerFactory(java.lang.String name,
Factory factory)
|
protected void |
registerWidgets()
|
protected void |
setParent(java.lang.Object parent,
java.lang.Object child)
|
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(java.lang.Object parent,
java.lang.Object child)
- Specified by:
setParent
in class BuilderSupport
nodeCompleted
protected void nodeCompleted(java.lang.Object parent,
java.lang.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 java.lang.Object createNode(java.lang.Object name)
- Specified by:
createNode
in class BuilderSupport
createNode
protected java.lang.Object createNode(java.lang.Object name,
java.lang.Object value)
- Specified by:
createNode
in class BuilderSupport
createNode
protected java.lang.Object createNode(java.lang.Object name,
java.util.Map attributes)
- Specified by:
createNode
in class BuilderSupport
capitalize
protected java.lang.String capitalize(java.lang.String text)
registerWidgets
protected void registerWidgets()
createDialog
protected java.lang.Object createDialog(java.util.Map properties)
createComboBox
protected java.lang.Object createComboBox(java.util.Map properties)
registerBeanFactory
protected void registerBeanFactory(java.lang.String name,
java.lang.Class beanClass)
registerFactory
protected void registerFactory(java.lang.String name,
Factory factory)
Copyright © 2003-2004 The Codehaus. All Rights Reserved.