| CARVIEW |
|
explicit-tablelayout
|
| Summary | Easy table layouts using ExplicitLayout |
|---|---|
| Categories | None |
| License | Lesser General Public License (LGPL) |
| Owner(s) | pietschy |
This project is a simple library for generating table based layouts using the excellent ExplicitLayout.
News
Version 1.0RC5 released
See the readme for details.
Text baseline alignments are now supported, but please note the following.
- The components must be their natural height for the baseline to align correctly. The current implementation is a bit of a kludge until the baseline support planned in Java 6 is incorporated.
- I've only tested with JGoodies Plastic, Metal and the JDK Windows look and feels.
- I've added the ability to disable baseline alignment if it's buggered in your environment. TableBuilder.baselineSupport().setEnabled(false)
Other Libraries I've Developed
GUI Commands - A comprehensive command framework for swing (Commercial/Free for non commercial)
Wizard Framework - A popular wizard framework for Swing (LGPL).
Downloads
- README
- explicitTableBuilder-1.0RC5.jar (requires ExplicitLayout)
- explicitTableBuilder-1.0RC5-src.jar
- explicitTableBuilder-1.0RC5-docs.zip
Documentation
Features
- Simple, easy to use API
- Component preferred sizes are honoured even when spanning multiple rows and/or columns
- Text components are automatically aligned along their text baselines
- Layout styles provide standard sizes for gaps, margins and minimum component sizes
- Margins and padding are defined using display independent sizes (dialog units)
- Default padding and alignment can be configured for rows and columns
- Individual cells can choose to ignore column and/or row padding
- Very easy to override the default size of a row or column
- Uses Expressions (from ExplicitLayout) so customization is easy and flexible
- Includes a DebugPanel to visualize what the layout is doing
Todo
- Improve the DefaultLayoutStyle (it currently only ensures buttons are at least 50 DLU wide) - In progress
- Add support for Right->Left locales
- Add more usage examples
Credits
The usage of DLUs and concept of layout styles was inspired by by Karsten Lentzsch's Forms layout manager.
Related Projects
- ExplicitLayout is the excellent layout manager this library uses.
- JGoodies forms provides both a layout manager and layout builders. Don't forget to check out the JGoodies Look and Feel.
- GUI Builder for JGoodies forms.
- Netbeans Matisse.
- HigLayout
- TableLayout
- Packer is a similar project using GridBagLayout as its underlying layout manager.
| Powered by CollabNet | Feedback |
FAQ |
Press |
Developer tools
© 1995 - 2007 CollabNet. CollabNet is a registered trademark of CollabNet, Inc. |
