|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.jniwrapper.win32.shell.events.ShellEvent
public class ShellEvent
An event that indicates that a shell event has occured. This event is passed to every ShellEventsListener
.
Field Summary | |
---|---|
static int |
SHCNE_ASSOCCHANGED
A file type association has changed. |
static int |
SHCNE_ATTRIBUTES
The attributes of an item or folder have changed. |
static int |
SHCNE_CREATE
A nonfolder item has been created. |
static int |
SHCNE_DELETE
A nonfolder item has been deleted. |
static int |
SHCNE_DRIVEADD
A drive has been added. |
static int |
SHCNE_DRIVEADDGUI
A drive has been added and the Shell should create a new window for the drive. |
static int |
SHCNE_DRIVEREMOVED
A drive has been removed. |
static int |
SHCNE_FREESPACE
The amount of free space on a drive has changed. |
static int |
SHCNE_MEDIAINSERTED
Storage media has been inserted into a drive. |
static int |
SHCNE_MEDIAREMOVED
Storage media has been removed from a drive. |
static int |
SHCNE_MKDIR
A folder has been created. |
static int |
SHCNE_NETSHARE
A folder on the local computer is being shared via the network. |
static int |
SHCNE_NETUNSHARE
A folder on the local computer is no longer being shared via the network. |
static int |
SHCNE_RENAMEFOLDER
The name of a folder has changed. |
static int |
SHCNE_RENAMEITEM
The name of a nonfolder item has changed. |
static int |
SHCNE_RMDIR
A folder has been removed. |
static int |
SHCNE_SERVERDISCONNECT
The computer has disconnected from a server. |
static int |
SHCNE_UPDATEDIR
The contents of an existing folder have changed, but the folder still exists and has not been renamed. |
static int |
SHCNE_UPDATEIMAGE
An image in the system image list has changed. |
static int |
SHCNE_UPDATEITEM
An existing nonfolder item has changed, but the item still exists and has not been renamed. |
Fields inherited from class java.util.EventObject |
---|
source |
Method Summary | |
---|---|
int |
getId()
Returns an ID of the event. |
Handle |
getItem1()
First event-dependent value. |
Handle |
getItem2()
Second event-dependent value. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SHCNE_ASSOCCHANGED
public static final int SHCNE_ATTRIBUTES
getItem1()
function returns the item or folder that has changed.
public static final int SHCNE_CREATE
getItem1()
function returns the item that was created.
public static final int SHCNE_DELETE
getItem1()
function returns the item that was deleted.
public static final int SHCNE_DRIVEADD
getItem1()
function returns the root of the drive that was added.
public static final int SHCNE_DRIVEADDGUI
getItem1()
function returns the root of the drive that was added.
public static final int SHCNE_DRIVEREMOVED
getItem1()
function returns the root of the drive that was removed.
public static final int SHCNE_FREESPACE
getItem1()
function returns the root of the drive on which the free space changed.
public static final int SHCNE_MEDIAINSERTED
getItem1()
function returns the root of the drive that contains the new media.
public static final int SHCNE_MEDIAREMOVED
getItem1()
function returns the root of the drive from which the media was removed.
public static final int SHCNE_MKDIR
getItem1()
function returns the folder that was created.
public static final int SHCNE_NETSHARE
getItem1()
function returns the folder that is being shared.
public static final int SHCNE_NETUNSHARE
getItem1()
function returns the folder that is no longer being shared.
public static final int SHCNE_RENAMEFOLDER
getItem1()
function returns the previous name of the folder.
The getItem2()
function returns the new name of the folder.
public static final int SHCNE_RENAMEITEM
getItem1()
function returns the previous name of the item.
The getItem2()
function returns the new name of the item.
public static final int SHCNE_RMDIR
getItem1()
function returns the folder that was removed.
public static final int SHCNE_SERVERDISCONNECT
getItem1()
function returns the server from which the computer was disconnected.
public static final int SHCNE_UPDATEDIR
getItem1()
function returns the folder that has changed.
If a folder has been created, deleted, or renamed, use SHCNE_MKDIR
, SHCNE_RMDIR
, or SHCNE_RENAMEFOLDER
, instead.
public static final int SHCNE_UPDATEIMAGE
getItem1()
function returns the index in the system image list that has changed.
Note: Windows NT/2000/XP
The getItem1()
function returns the index in the system image list that has changed.
public static final int SHCNE_UPDATEITEM
getItem1()
function returns the item that has changed.
If a nonfolder item has been created, deleted, or renamed, use SHCNE_CREATE
, SHCNE_DELETE
, or SHCNE_RENAMEITEM
instead.
Method Detail |
---|
public int getId()
public Handle getItem1()
public Handle getItem2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |