All Packages Class Hierarchy This Package Previous Next Index
Class w3c.tools.forms.FileField
java.lang.Object
|
+----w3c.tools.forms.FormField
|
+----w3c.tools.forms.StringField
|
+----w3c.tools.forms.FileField
- public class FileField
- extends StringField
-
FileField(FormManager, String, String)
-
-
FileField(FormManager, String, String, File)
-
-
getFileValue()
- Get this field's value as a File instance.
-
getValue()
- Get this field's value in its native type.
-
setValue(File, boolean, boolean)
- Set this field's value.
-
setValue(Object, boolean, boolean)
- Set this field's value using the native type.
FileField
public FileField(FormManager manager,
String name,
String title,
File value)
FileField
public FileField(FormManager manager,
String name,
String title)
getValue
public Object getValue()
- Get this field's value in its native type.
- Returns:
- An instance of File, or null.
- Overrides:
- getValue in class StringField
getFileValue
public File getFileValue()
- Get this field's value as a File instance.
- Returns:
- An instance of FIle, or null.
setValue
public void setValue(Object object,
boolean notify,
boolean update) throws IllegalFieldValueException
- Set this field's value using the native type.
- Parameters:
- value - The new File value for the field.
- update - Should we update the editor's view ?
- Throws: IllegalFieldValueException
- If the value isn't accepted.
- Overrides:
- setValue in class StringField
setValue
public void setValue(File value,
boolean notify,
boolean update) throws IllegalFieldValueException
- Set this field's value.
- Parameters:
- file - The new File value for the field.
- update - Update the editor's view ?
All Packages Class Hierarchy This Package Previous Next Index