au.edu.swin.synergy.plugin.rooms.event
Class BGetThumbNailCE
java.lang.Object
|
+--java.util.EventObject
|
+--au.edu.swin.synergy.kernel.BCommandEvent
|
+--au.edu.swin.synergy.plugin.rooms.event.BGetThumbNailCE
- public class BGetThumbNailCE
- extends BCommandEvent
- See Also:
- Serialized Form
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
BGetThumbNailCE
public BGetThumbNailCE(Object source,
String name,
BCommandComplete complete)
- Constructor
- Parameters:
source
- Source of event.name
- Name of file to get thumbnail of.complete
- Completion object to execute once event been processed.
getFileName
public String getFileName()
- Get file name been set in this event.
- Returns:
- Name of file which thumbnail is to be created.
- Pre Condition:
- File name has been set.
setFileName
public void setFileName(String name)
- Set file name.
- Parameters:
name
- Name of file to have thumbnail created.
getThumbNail
public ImageIcon getThumbNail()
- Get thumbnail.
- Returns:
- Image icon containing picture.
- Pre Condition:
- Thumbnail has been created and set in event.
setThumbNail
public void setThumbNail(ImageIcon image)
- Set thumbnail in event.
- Parameters:
image
- Image icon to be sent to client.