|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
org.oddjob.designer.model.FileSelection
A model for a visual component is a file name that can be populated via a file selection.
| Constructor Summary | |
FileSelection(java.lang.String heading,
SimpleAttribute de)
|
|
| Method Summary | |
void |
accept(DesignProcessor processor)
Visitor pattern. |
java.io.File |
getFile()
Used by the view to get the text value for the field. |
java.lang.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(java.io.File file)
Used by the view to set text value of the field. |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileSelection(java.lang.String heading,
SimpleAttribute de)
| Method Detail |
public java.lang.String getTitle()
DesignDefinition
getTitle in interface DesignDefinitionpublic void setFile(java.io.File file)
public java.io.File getFile()
public void accept(DesignProcessor processor)
DesignDefinition
accept in interface DesignDefinitionprocessor - A design processor which will typically produce
visual components for the model.public boolean isPopulated()
DesignDefinition
isPopulated in interface DesignDefinition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||