Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Contribution Overview

WingsBuilder is a Groovy builder for the wingS Framework. You can use WingSBuilder in the same fashion as SwingBuilder. Most of the constructs provided by the original SwingBuilder are supported in WingSBuilder, thanks to the efforts of the wingS team in following the Swing model very closely. WingSBuilder also supports wingS specific components and the ability to attach your own components through widget() & container().

Team Members

Andres Almiray [aalmiray at users dot sourceforge dot net]

Download

Distributions

Pending. 

Installing

Pending. 

Pre-requisites

WingS 3.0 and Groovy 1.1-beta-2 are needed to run WingSBuilder. 

Documentation

Alphabetical list of SwingBuilder compatible components

Element

Class

Notes

action

javax.swing.Action

same as SwingBuilder.action()

actions

Collection

same as SwingBuilder.actions()

borderLayout

SBorderLayout

 

boundedRangeModel

SDefaultBoundedRangeModel

 

boxLayout

SBoxLayout

 

button

SButton

 

buttonGroup

SButtonGroup

 

cardLayout

SCardLayout

 

checkbox

SCheckbox

 

closureColumn

Collection

same as SwingBuilder.closureColumn()

container

SComponent

placeholder for any SComponent

comboBox

SCombox

Obeys 'items' to populate model

desktopPane

SDesktopPane

 

dialog

SDialog

 

flowLayout

SFlowLayout

 

formattedTextField

SSormattedTextField

 

frame

SFrame

 

gbc

GridBagConstraints

same as SwingBuilder.gbc()

gridBagConstraints

GridBagConstraints

same as SwingBuilder.gridBagConstraints()

gridBagLayout

SGridBagLayout

 

gridLayout

SGridLayout

 

internalFrame

SInternalFrame

 

label

SLabel

 

list

SList

 

menu

SMenu

 

menuBar

SMenuBar

 

menuItem

SMenuItem

 

map

java.util.Map

same as SwingBuilder.map()

optionPane

SOptionPane

 

panel

SPanel

 

passwordField

SPasswordField

 

popupMenu

SPopupMenu

 

progressBar

SProgressBar

 

propertyColumn

Collection

same as SwingBuilder.propertyColumn()

radioButton

SRadioButton

 

scrollBar

SScrollBar

 

scrollPane

SScrollPane

 

separator

SSeparator

 

slider

SSlider

 

spinnerDateModel

SSpinnerDateModel

 

spinnerListModel

SSpinnerListModel

 

spinnerNumberModel

SSpinnerNumberModel

 

tabbedPane

STabbedPane

 

table

STable

 

tableModel

Collection

same as SwingBuilder.tableModel()

tableColumn

STableColumn

 

textArea

STextArea

 

textField

STextField

 

toggleButton

SToggleButton

 

toolBar

SToolBar

 

tree

STree

 

widget

SComponent

placeholder for any SComponent

Alphabetical list of WingS specific components

Element

Class

Notes

anchor

SAnchor

 

byteArrayIcon

SByteArrayIcon

 

downloadButton

SDownloadButton

Must define 'resource' property at least<br/>
other construction properties are 'text' & 'icon'

fileChooser

SFileChooser

 

fileIcon

SFileIcon

Must define 'file' or 'filename' property at least<br/>
other construction properties are 'mimetype' & 'extension'

flowDownLayout

SFlowDownLayout

 

form

SForm

 

imageIcon

SImageIcon

 

nullLayout

SNullLayout

 

pageScroller

SPageScroller

 

pagingBoundedRangeModel

SPagingBoundedRangeModel

 

popup

SPopup

 

rawText

SRawTextComponent

 

resourceIcon

SResourceIcon

 

rootLayout

SRootLayout

 

spacer

SSpacer

Must define 'width' & 'height' properties

templateLayout

STemplateLayout

 

Alphabetical list of WingX specific components

Element

Class

Notes

calendar

XCalendar

 

colorPicker

XColorPicker

Obeys 'red', 'blue' & 'green' properties or 'color'

division

XDivision

 

inplaceEditor

XInplaceEditor

 

popupFrame

XPopupFrame

 

scrollablePanel

XScrollablePanel

 

suggest

XSuggest

 

treeTable

XTreeTable

 

yuixGrid

YUIxGrid

 

xpageScroller

XPageScroller

 

xscrollPane

XScrollPane

 

xtable

XTable

 

Developers

Source Control

http://svn.codehaus.org/groovy-contrib/wingsbuilder

Building

WingSBuilder uses Maven2 as its build tool, which means that if you want to
build your own version of WingSBuilder from source you'll need to have it
installed.  Follow the instructions at http://maven.apache.org
Once Maven2 is installed you will also need to install 4 files from the wingS
distribution (but it wouldn't hurt to check at http://mvnrepository.org
if they are already there). The files are:

   wings-3.0.jar
   wings-css-3.0.jar
   wingx-3.0.jar
   wingx-cxx-3.0.jar

If the files are not found in any Maven2 repository the you'll need to
download the source from http://wingsframework.org, follow the compile &
install instructions, the jars should be at build/web/WEB-INF/lib
Install them on your local Maven2 repo with the following command

 mvn install:installFile -DgroupId=org.wings -Dversion=3.0 -Dpackaging=jar \
     -DartifactId=<depname> -Dfile=<jarfile>

where 'depname' is any of [wings, wings-css, wingx, wingx-cxx] with its
corresponding 'jarfile'

Contributing

Please contact the team members by e-mail.

Community

Mailing List(s)

http://groovy.codehaus.org/Mailing+Lists

Issue tracker

http://jira.codehaus.org/secure/BrowseProject.jspa?id=10242

  • No labels