|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Project
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 File s 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 |
---|
java.lang.String getName()
Project
.
String
.java.io.File[] getFiles()
File
s that compose this Project
.
If any of these File
s is a directory, it is understood that all
File
s in and below this directory are part of this
Project
.
File[]
.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.void closeFile(java.io.File f)
File
.
f
- the File
to close.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)
java.io.File getSelectedFile()
File
of this
Project
.
File
.java.lang.Object getAttribute(java.lang.String key)
Project
.
key
- the String
key to which this attribute is tied.
Object
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.
Object
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
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 |