org.fuin.objects4j
Annotation Type TableColumn


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface TableColumn

Use this annotation to assign preferred table column values to a field. The information may be used by UI elements to configure a table column when the field is displayed as a table column.


Required Element Summary
 int pos
          Preferred column in a table (0..n).
 float width
          Preferred column width in a table.
 
Optional Element Summary
 String getter
          Defines a getter other than "getFieldName".
 FontSizeUnit unit
          Unit of the preferred column width.
 

Element Detail

width

public abstract float width
Preferred column width in a table.


pos

public abstract int pos
Preferred column in a table (0..n).

unit

public abstract FontSizeUnit unit
Unit of the preferred column width.

Default:
org.fuin.objects4j.FontSizeUnit.PIXEL

getter

public abstract String getter
Defines a getter other than "getFieldName".

Default:
""


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.