|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.userinput.field.file.FileFieldView
com.izforge.izpack.panels.userinput.field.file.DirFieldView
public class DirFieldView
Presentation helper for directory fields.
| Constructor Summary | |
|---|---|
DirFieldView(DirField field,
Prompt prompt)
Constructs a DirFieldView. |
|
| Method Summary | |
|---|---|
protected void |
emptyPathMessage()
Displays a warning message if the path is empty. |
DirField |
getField()
Returns the field. |
protected boolean |
validate(File value)
Validates a value. |
| Methods inherited from class com.izforge.izpack.panels.userinput.field.file.FileFieldView |
|---|
error, getMessage, getPrompt, validate, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirFieldView(DirField field,
Prompt prompt)
DirFieldView.
field - the directory fieldprompt - the prompt| Method Detail |
|---|
protected boolean validate(File value)
validate in class FileFieldViewvalue - the value to validate
true if the value is valid, false if it is invalidpublic DirField getField()
getField in class FileFieldViewprotected void emptyPathMessage()
emptyPathMessage in class FileFieldView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||