public class VirtualFilePropertyEvent extends VirtualFileEvent
| Constructor and Description |
|---|
VirtualFilePropertyEvent(java.lang.Object requestor,
VirtualFile file,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getNewValue()
Returns the new value of the property.
|
java.lang.Object |
getOldValue()
Returns the old value of the property.
|
java.lang.String |
getPropertyName()
Returns the name of the changed property (
VirtualFile.PROP_NAME or VirtualFile.PROP_WRITABLE). |
boolean |
isRename() |
getFile, getFileName, getNewModificationStamp, getOldModificationStamp, getParent, getRequestor, isFromRefresh, isFromSavepublic VirtualFilePropertyEvent(java.lang.Object requestor,
VirtualFile file,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
public java.lang.String getPropertyName()
VirtualFile.PROP_NAME or VirtualFile.PROP_WRITABLE).VirtualFile.PROP_NAME,
VirtualFile.PROP_WRITABLE,
VirtualFile.PROP_HIDDEN,
VirtualFile.PROP_SYMLINK_TARGETpublic java.lang.Object getOldValue()
VirtualFile.PROP_NAME, Boolean for
VirtualFile.PROP_WRITABLE).public java.lang.Object getNewValue()
VirtualFile.PROP_NAME, Boolean for
VirtualFile.PROP_WRITABLE).public boolean isRename()