|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.engine.data.properties.AEditableProperty
games.strategy.engine.data.properties.FileProperty
public class FileProperty
User editable property representing a file.
Presents a clickable label with the currently selected file name, through which a file dialog panel is accessible to change the file.
| Constructor Summary | |
|---|---|
FileProperty(java.lang.String name,
java.lang.String fileName)
Construct a new file property. |
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
getEditorComponent()
Gets a Swing component to display this property. |
java.lang.Object |
getValue()
Gets the file associated with this property. |
| Methods inherited from class games.strategy.engine.data.properties.AEditableProperty |
|---|
compareTo, equals, getName, getViewComponent, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileProperty(java.lang.String name,
java.lang.String fileName)
name - The name of the propertyfileName - The name of the file to be associated with this property| Method Detail |
|---|
public java.lang.Object getValue()
public javax.swing.JComponent getEditorComponent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||