|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openide.filesystems.FileSystemCapability | +--org.openide.filesystems.FileSystemCapability.Bean
Default implementation of capabilities, that behaves like JavaBean and allows to set whether the well known capabilities (like compile, execute) should be enabled or not.
Inner classes inherited from class org.openide.filesystems.FileSystemCapability |
FileSystemCapability.Bean |
Fields inherited from class org.openide.filesystems.FileSystemCapability |
ALL, COMPILE, DEBUG, DOC, EXECUTE |
Constructor Summary | |
FileSystemCapability.Bean()
|
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds listener. |
boolean |
capableOf(FileSystemCapability c)
Checks for well known capabilities and if they are allowed. |
boolean |
getCompile()
Getter for value of compiling capability. |
boolean |
getDebug()
Getter for value of debugging capability. |
boolean |
getDoc()
Getter for value of doc capability. |
boolean |
getExecute()
Getter for value of executiong capability. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes listener. |
void |
setCompile(boolean val)
Setter for allowing compiling capability. |
void |
setDebug(boolean val)
Setter for allowing debugging capability. |
void |
setDoc(boolean val)
Setter for allowing debugging capability. |
void |
setExecute(boolean val)
Setter for allowing executing capability. |
Methods inherited from class org.openide.filesystems.FileSystemCapability |
fileSystems, find, findAll, findAllResources, findResource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileSystemCapability.Bean()
Method Detail |
public boolean capableOf(FileSystemCapability c)
capableOf
in class FileSystemCapability
c
- capability to testpublic boolean getCompile()
public void setCompile(boolean val)
public boolean getExecute()
public void setExecute(boolean val)
public boolean getDebug()
public void setDebug(boolean val)
public boolean getDoc()
public void setDoc(boolean val)
public void addPropertyChangeListener(PropertyChangeListener l)
addPropertyChangeListener
in class FileSystemCapability
org.openide.filesystems.FileSystemCapability
l
- the listener to be added.public void removePropertyChangeListener(PropertyChangeListener l)
removePropertyChangeListener
in class FileSystemCapability
org.openide.filesystems.FileSystemCapability
l
- the listener to be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |