org.fuin.utils4swing.annotations
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.
 int width
          Preferred column width in a table.
 
Optional Element Summary
 java.lang.String getter
          Defines a getter other than "getFieldName".
 

Element Detail

width

public abstract int width
Preferred column width in a table.


pos

public abstract int pos
Preferred column in a table.

getter

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

Default:
""


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