|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.objects4j.TextFieldInfo
@Immutable public class TextFieldInfo
Information about a text field.
| Constructor Summary | |
|---|---|
TextFieldInfo(Field field,
int width)
Constructor with all data. |
|
| Method Summary | |
|---|---|
static TextFieldInfo |
create(Field field,
Locale locale)
Return the text field information for a given field. |
boolean |
equals(Object obj)
|
Field |
getField()
Returns the field. |
int |
getWidth()
Returns the width of the text field. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Requires(value="(field != null) && (width != null)")
public TextFieldInfo(Field field,
int width)
field - The field.width - Number of characters to be shown.| Method Detail |
|---|
@Ensures(value="\result != null") public final Field getField()
public final int getWidth()
public final int hashCode()
hashCode in class Objectpublic final boolean equals(Object obj)
equals in class Object
@Requires(value="(field != null) && (locale!=null)")
public static TextFieldInfo create(Field field,
Locale locale)
field - Field to check for @TextField annotation.locale - Locale to use.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||