|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines a basic project created using Jext.
| Method Summary | |
void |
closeFile(java.io.File f)
Close the specified File. |
java.lang.Object |
getAttribute(java.lang.String key)
Returns the value of the specified attribute for this Project. |
java.lang.Object |
getAttribute(java.lang.String key,
java.lang.Object defaultValue)
Returns the value of the specified attribute for this Project,
returning the specified default value if no such attribute exists. |
java.lang.String |
getAttributeAsString(java.lang.String key)
Returns the String value of the specified attribute for this
Project. |
java.io.File[] |
getFiles()
Returns the Files that compose this Project. |
java.lang.String |
getName()
Returns the name of this Project. |
java.io.File |
getSelectedFile()
Returns the currently selected File of this
Project. |
void |
openFile(java.io.File f)
Open the specified File in this Project. |
void |
selectFile(java.io.File f)
Select the specified File. |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Sets the specified attribute. |
| Method Detail |
public java.lang.String getName()
Project.
String.public java.io.File[] getFiles()
Files that compose this Project.
If any of these Files is a directory, it is understood that all
Files in and below this directory are part of this
Project.
File[].public void openFile(java.io.File f)
File in this Project. Although
it is an implementation decision, this act might also add the specified
File to this Project.
f - the File to close.public void closeFile(java.io.File f)
File.
f - the File to close.public void selectFile(java.io.File f)
File. It is recommended that this
method be implemented such that the File is opened if not
already open.
f - the File to select.openFile(File)public java.io.File getSelectedFile()
File of this
Project.
File.public java.lang.Object getAttribute(java.lang.String key)
Project.
key - the String key to which this attribute is tied.
Object
public java.lang.Object getAttribute(java.lang.String key,
java.lang.Object defaultValue)
Project,
returning the specified default value if no such attribute exists.
key - the String key to which this attribute is tied.defaultValue - the default Object to return if no such
attribute exists.
Objectpublic java.lang.String getAttributeAsString(java.lang.String key)
String value of the specified attribute for this
Project.
key - the String key to which this attribute is tied.
String
public void setAttribute(java.lang.String key,
java.lang.Object value)
key - the String key of the attribute to be set.value - the Object value to assign.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||