|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.design.screem.FileSelection
public class FileSelection
A model for a visual component is a file name that can be populated via a file selection.
Constructor Summary | |
---|---|
FileSelection(SimpleTextAttribute de)
|
|
FileSelection(String heading,
SimpleTextAttribute de)
|
Method Summary | |
---|---|
String |
getFile()
Used by the view to get the text value for the field. |
String |
getTitle()
The title will either be the title for a field or the title round a group or the title on a dialog depending on how the visual component is presented. |
boolean |
isPopulated()
Used by certain summary views to indicate that there is more detail. |
void |
setFile(String file)
Used by the view to set text value of the field. |
FormItem |
setTitle(String title)
Set the title that will be displayed on the view for this form item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileSelection(SimpleTextAttribute de)
public FileSelection(String heading, SimpleTextAttribute de)
Method Detail |
---|
public FormItem setTitle(String title)
FormItem
DesignProperty
that
creates this model.
setTitle
in interface FormItem
title
- The String title.
public String getTitle()
FormItem
getTitle
in interface Form
getTitle
in interface FormItem
public void setFile(String file)
text
- The file name text.public String getFile()
public boolean isPopulated()
FormItem
isPopulated
in interface FormItem
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |