...
JideBuilder will let you create Jide components and standard Swing components as SwingBuilder does, because it doesn't override the default names of previously registered components in SwingBuilder, this means that you can mix both types of components with the same builder.
| Code Block |
|---|
import griffon.builder.jide.JideBuilder
def jide = new JideBuilder()
def frame = jide.frame( id: 'frame', title: 'JideBuilder' ){
panel( layout: new BorderLayout(5,5) ){
button( label: "Swing", constraints: BorderLayout.WEST )
jideButton( label: "Jide", constraints: BorderLayout.EAST )
textField( constraints: BorderLayout.NORTH )
calculator( constraints: BorderLayout.CENTER )
}
}
|
There are 5 *Searchable components that will add searching capabilities to a previously created widget or an internal one, exposing the searchable widget and the searchable wrapper if an 'id' attribute was provided, for example ComboBoxSearchable:
| Code Block |
|---|
import griffon.builder.jide.JideBuilder
def jide = new JideBuilder()
def frame = jide.frame( id: 'frame', title: 'JideBuilder' ){
panel( layout: new BorderLayout(5,5) ){
comboBox( id: "mycombo", items: [1,2,3] )
comboBoxSearchable( id: "c1", comboBox: mycombo )
comboBoxSearchable( id: "c2", items: [4,5,6] )
}
}
assertNotNull jide.ci_searchable
|
...
Andres Almiray [aalmiray at users dot sourceforge dot net]
Download
jidebuilder-12.0 svg-salamander-1.0
Installing
Drop jidebuilder-12.0 into $GROOVY_HOME/lib along with is dependencies
Pre-requisites
Groovy 1.5 6-beta-2 is the required minimum version to use run JideBuilder 2.0
Previous versions of JideBuilder will run with earlier versions of Groovy, it is recommended that you upgrade to the 1.6.x series in order to take advantage of
- @Bindable and ASTTransformations
- short binding syntax
- numerous enhancements made to SwingBuilder and FactoryBuilderSupport
Documentation
Alphabetical list of components
...
Andres Almiray
Source Control
http://svn.codehaus.org/groovy-contribgriffon/builders/jidebuilder
Building
JideBuilder uses Maven2 Ant as its build tool, which means that if you want to
build your own version of JideBuilder from source you'll need to have it
installed. Follow the instructions at http://mavenant.apache.org Once Maven2 is installed you will also need to install two other dependencies
Install them on your local Maven2 repo if needed with the following command
mvn install:installFile -DgroupId=<group> -Dversion=<version> -Dpackaging=jar \
-DartifactId=<depname> -Dfile=<jarfile>
substituting the text inside < > with the correct package, version, name and jar file.
Contributing
Please contact the team members by e-mail.
Community
Mailing List(s)
http://groovygriffon.codehaus.org/Mailing+Lists
Issue tracker
http://jira.codehaus.org/secure/BrowseProject.jspa?id=10242browse/GRIFFON