wtanaka.praya
Class StringFilledField
java.lang.Object
|
+--wtanaka.praya.StringFilledField
- All Implemented Interfaces:
- FilledField
- public class StringFilledField
- extends java.lang.Object
- implements FilledField
This will be by far the most common filled field. It represents
arbitrary (single-line?) textual data. Things like To, From, Subject in
email, icq uid, etc.
- String (rendered as a text field)
- boolean (Rendered as a checkbox)
- HistoryString? (editable combobox with history?)
- StringSet (set of strings as choice aka combobox)
Return to
or the Praya Homepage
- Version:
- $Name: $ $Date: 2001/10/14 18:07:13 $
- Author:
- $Author: wtanaka $
|
Field Summary |
private int |
m_lengthHint
A guess at the length of the data in the field. |
private java.lang.String |
m_value
|
|
Constructor Summary |
StringFilledField(java.lang.String initial,
int lengthHint)
Constructs a StringFilledField with the given initial string and a
guess as to how many characters long the data in this field will be. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
m_value
private java.lang.String m_value
m_lengthHint
private int m_lengthHint
- A guess at the length of the data in the field. (e.g. ICQ will always
be < 20 characters, for instance, whereas subject will not
necessarily)
StringFilledField
public StringFilledField(java.lang.String initial,
int lengthHint)
- Constructs a StringFilledField with the given initial string and a
guess as to how many characters long the data in this field will be.
setValue
public void setValue(java.lang.String newValue)
getValue
public java.lang.String getValue()
getLengthHint
public int getLengthHint()