|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4swing.glazedlists.TableFormatCreator<E>
E - A business class annotated with @TableColumn.public final class TableFormatCreator<E>
Utility-Class to create a Table-Format class "on-the-fly" from
@Label and @TableColumn annotations. The
TableFormatExt implementation is created with "Javassist" - No
reflection is used after the class was constructed.
org.fuin.objects4j.Label},
org.fuin.objects4j.TableColumn},
org.fuin.utils4swing.glazedlists.TableFormatExt}| Constructor Summary | |
|---|---|
TableFormatCreator()
Default constructor. |
|
TableFormatCreator(org.fuin.srcgen4javassist.SgClassPool pool,
org.fuin.srcgen4javassist.ByteCodeGenerator generator)
Constructor with class pool and generator. |
|
| Method Summary | |
|---|---|
TableFormatExt<E> |
create(Class<E> clasz)
Creates a table format for the given class. |
TableFormatExt<E> |
create(Class<E> clasz,
Locale locale)
Creates a table format for the given class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableFormatCreator()
public TableFormatCreator(org.fuin.srcgen4javassist.SgClassPool pool,
org.fuin.srcgen4javassist.ByteCodeGenerator generator)
pool - Pool to use. If NULL a new instance will be created and used.generator - Generator to use. If NULL a new instance will be created and
used.| Method Detail |
|---|
public TableFormatExt<E> create(Class<E> clasz)
Locale is used to determine the ResourceBundle.
clasz - Class annotated with @Label and
@TableColumn annotations.
public TableFormatExt<E> create(Class<E> clasz,
Locale locale)
clasz - Class annotated with @Label and
@TableColumn annotations.locale - Locale to use for determining the ResourceBundle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||