|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject SK.gnome.dwarf.mail.store.event.MailEvent SK.gnome.dwarf.mail.store.event.FolderEvent
The mail folder event.
This event is generated whenever a specified operation if performed on the source
MailFolder
object.
Field Summary | |
static int |
CLOSED
This event type specifies that the source folder has been closed. |
static int |
CREATED
This event type specifies that the source folder has been created. |
static int |
DELETED
This event type specifies that the source folder has been deleted. |
static int |
OPENED
This event type specifies that the source folder has been opened. |
static int |
RENAMED
This event type specifies that the source folder has been renamed. |
Fields inherited from class SK.gnome.dwarf.mail.store.event.MailEvent |
type, user |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
FolderEvent(MailFolder source,
java.lang.String user,
int type)
Creates a new FolderEvent. |
|
FolderEvent(MailFolder source,
java.lang.String user,
int type,
java.lang.String originalName)
Creates a new FolderEvent. |
Method Summary | |
java.lang.String |
getOriginalName()
Returns the original name of the folder. |
Methods inherited from class SK.gnome.dwarf.mail.store.event.MailEvent |
getSourceFolder, getType, getUser |
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 CREATED
public static final int RENAMED
public static final int DELETED
public static final int OPENED
public static final int CLOSED
Constructor Detail |
public FolderEvent(MailFolder source, java.lang.String user, int type)
source
- the source folderuser
- the user producing this eventtype
- the event typepublic FolderEvent(MailFolder source, java.lang.String user, int type, java.lang.String originalName)
The originalName argument specifies the source folder's original name if it has been renamed.
source
- the source folderuser
- the user producing the eventtype
- the event typeoriginalName
- the original name of the folderMethod Detail |
public java.lang.String getOriginalName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |