|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBrowserModel
Author: Mathew Wyatt Organisation: James Cook University Date: Jul 30, 2007 Time: 3:55:51 AM
| Field Summary | |
|---|---|
static java.lang.String |
ERROR
|
static java.lang.String |
IN_ROOT
|
static java.lang.String |
NO_FILESYSTEM
|
static java.lang.String |
OBJECT_ENTERED
|
static java.lang.String |
OBJECT_SELECTED
|
| Method Summary | |
|---|---|
void |
addErrorMessageListener(java.awt.event.ActionListener actionListener)
Invoked for passing error messages |
void |
addObjectEnteredListener(java.awt.event.ActionListener objectEnteredListener)
Add listeners which wil be invoked when an object is entered into in the object browser |
void |
addObjectSelectedListener(java.awt.event.ActionListener actionListener)
Listeners which will be invoked when a object is selected in the object browser |
void |
addRootEnteredListeners(java.awt.event.ActionListener actionListener)
ActionListener to be invoked when the state of the model is in the root area |
void |
changePermission(ChangePermissionBean changePermBean)
|
void |
createNewFolder(java.lang.String folderName)
Creates a new folder object in the current directory given a name |
void |
createNewShortcut(Shortcut newShortcut)
|
void |
deleteObjects(FileObject[] fileObjects)
Deletes the given set of objects |
void |
disconnect(RootObject fileObject)
Unount the filesystem of a selected root object |
FileObject |
getEnteredObject()
Returns the current entered FileObject |
FileObject[] |
getEnteredObjectChildren()
Returns the chilren objects of the current entered object |
FilePermissionBean |
getFilePermission(FileObject fileObject)
Returns a Map of key value pairs of file permission. |
RootObject[] |
getLocalResources()
Returns the local drives |
RootObject[] |
getRemoteConnections()
Returns remote connections |
FileObject |
getSelectedObject()
Returns the selected Object |
java.util.List<Shortcut> |
getShortcuts()
|
void |
goToLocation(java.lang.String uri)
Attemps to load an objects contents given the URI of the object |
boolean |
isProcessing()
If the browser model is processing a request returns true |
void |
refresh()
Refreshes the model and updates the view |
void |
removeShortcut(Shortcut shortcut)
|
void |
rename(RenameBean renameBean)
Renames a given fileObject to a new name given inside the rename bean |
void |
setLogger(Logger logger)
|
void |
setObjectEntered(FileObject file)
Set the object entered into in the object browser |
void |
setObjectSelected(FileObject file)
Sets the object selected in the object browser |
void |
setRootObjectEntered(RootObject rootObject)
Enter a root object ie. |
void |
stepUp(FileObject fileObject)
Steps up a directory in the directory hierarchy, based on the current parent file which is in view |
| Field Detail |
|---|
static final java.lang.String OBJECT_ENTERED
static final java.lang.String OBJECT_SELECTED
static final java.lang.String NO_FILESYSTEM
static final java.lang.String ERROR
static final java.lang.String IN_ROOT
| Method Detail |
|---|
void addObjectEnteredListener(java.awt.event.ActionListener objectEnteredListener)
objectEnteredListener - void addObjectSelectedListener(java.awt.event.ActionListener actionListener)
actionListener - void addErrorMessageListener(java.awt.event.ActionListener actionListener)
actionListener - void setObjectEntered(FileObject file)
file - void setObjectSelected(FileObject file)
file - RootObject[] getLocalResources()
RootObject[] getRemoteConnections()
FileObject[] getEnteredObjectChildren()
FileObject getEnteredObject()
FileObject getSelectedObject()
FilePermissionBean getFilePermission(FileObject fileObject)
void stepUp(FileObject fileObject)
fileObject - void refresh()
void goToLocation(java.lang.String uri)
uri - void createNewFolder(java.lang.String folderName)
folderName - void deleteObjects(FileObject[] fileObjects)
void rename(RenameBean renameBean)
renameBean - void changePermission(ChangePermissionBean changePermBean)
void disconnect(RootObject fileObject)
void addRootEnteredListeners(java.awt.event.ActionListener actionListener)
actionListener - void setRootObjectEntered(RootObject rootObject)
rootObject - boolean isProcessing()
void setLogger(Logger logger)
void createNewShortcut(Shortcut newShortcut)
java.util.List<Shortcut> getShortcuts()
void removeShortcut(Shortcut shortcut)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||