sk.baka.ambient.commons
Annotation Type Bind


@Documented
@Retention(value=RUNTIME)
public @interface Bind

Binds a field to a view.

Author:
Martin Vysny

Required Element Summary
 int captionId
          A short descriptive name of the view.
 int viewId
          The view resource id to bind the column with.
 
Optional Element Summary
 boolean escape
          (Optional) Escape special characters, like newline etc.
 int max
          (Optional) maximum value if number is specified.
 int min
          (Optional) minimum value if number is specified.
 boolean tagFormat
          (Optional) The field must be a valid tag format string.
 

Element Detail

viewId

public abstract int viewId
The view resource id to bind the column with.


captionId

public abstract int captionId
A short descriptive name of the view. May be -1 if this view will never contain invalid value (in this case the caption is never shown).

min

public abstract int min
(Optional) minimum value if number is specified.

Default:
-2147483648

max

public abstract int max
(Optional) maximum value if number is specified.

Default:
2147483647

escape

public abstract boolean escape
(Optional) Escape special characters, like newline etc.

Default:
false

tagFormat

public abstract boolean tagFormat
(Optional) The field must be a valid tag format string.

Default:
false


Copyright © 2007-2008. All Rights Reserved.