au.edu.jcu.hermes.ui.swing.core.browser
Class BrowserView

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by au.edu.jcu.hermes.ui.swing.core.browser.BrowserView
All Implemented Interfaces:
IBrowserView, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class BrowserView
extends javax.swing.JPanel
implements IBrowserView

Author: Mathew Wyatt Organisation: James Cook University Date: Aug 1, 2007 Time: 11:11:44 PM

See Also:
Serialized Form

Nested Class Summary
 class BrowserView.BrowserMenu
           
 class BrowserView.BrowserToolBar
           
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
BrowserView()
           
 
Method Summary
 void addChangePermissionListener(java.awt.event.ActionListener actionListener)
           
 void addCopyObjectListener(java.awt.event.ActionListener actionListener)
           
 void addDeleteObjectListener(java.awt.event.ActionListener actionListener)
           
 void addDisconnectListener(java.awt.event.ActionListener actionListener)
           
 void addGetFilePermissionListener(java.awt.event.ActionListener actionListener)
           
 void addGoToLocationListener(java.awt.event.ActionListener actionListener)
           
 void addNewConnectionListener(java.awt.event.ActionListener newConnectionListener)
           
 void addNewFolderListener(java.awt.event.ActionListener actionListener)
           
 void addNewShortcutListener(java.awt.event.ActionListener actionListener)
           
 void addObjectEnteredListener(java.awt.event.ActionListener objectEnteredListener)
           
 void addObjectSelectedListener(java.awt.event.ActionListener actionListener)
           
 void addRefreshListener(java.awt.event.ActionListener actionListener)
           
 void addRemoveShortcutListener(java.awt.event.ActionListener actionListener)
           
 void addRenameListener(java.awt.event.ActionListener actionListener)
           
 void addRootObjectEnteredListener(java.awt.event.ActionListener actionListener)
           
 void addShowRootsListener(java.awt.event.ActionListener actionListener)
           
 void addStepUpListener(java.awt.event.ActionListener actionListener)
           
 javax.swing.JToolBar getBrowserToolBar()
           
 ChangePermissionBean getChangePermissionBean()
           
 javax.swing.JComponent getConnectoinsPane()
           
 RootObject getDisconnectableObject()
           
 FileObject getEnteredObject()
           
 FilePermissionBean getFilePermissionBean()
           
 java.lang.String getGoToLocationURI()
           
 java.lang.String getNewFolderName()
           
 Shortcut getNewShortcut()
           
 ObjectCopyBean getObjectCopyBean()
           
 FileObject[] getObjectsToDelete()
           
 FileObject getParentObject()
           
 RenameBean getRenameBean()
           
 RootObject getRootEnteredObject()
           
 FileObject getSelectedObject()
           
 Shortcut getShortcutToDelete()
           
 void invokeChangePermissionListeners()
           
 void invokeCopyObjectListeners()
           
 void invokeDeleteObjectListeners()
           
 void invokeGetFilePermissionListeners()
           
 void invokeGoToLocationListeners()
           
 void invokeNewFolderListeners()
           
 void invokeRefreshListeners()
           
 void invokeRemoveShortcutListeners()
           
 void invokeRenameListeners()
           
 void invokeShowRootsListeners()
           
 void revealObject(java.lang.String uri)
           
 void setErrorMessage(java.lang.String message)
           
 void setFilePermissionBean(FilePermissionBean bean)
           
 void setLocalResources(RootObject[] localResources)
           
 void setObjects(FileObject[] childrenObjects, FileObject parentObject)
           
 void setObjectSelected(FileObject selectedObject)
           
 void setRemoteConnections(RootObject[] remoteConnections)
           
 void setShortcuts(java.util.List<Shortcut> shortcuts)
           
 void showSearchingStatus()
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrowserView

public BrowserView()
Method Detail

invokeRefreshListeners

public void invokeRefreshListeners()

invokeGoToLocationListeners

public void invokeGoToLocationListeners()

invokeNewFolderListeners

public void invokeNewFolderListeners()

invokeDeleteObjectListeners

public void invokeDeleteObjectListeners()

invokeCopyObjectListeners

public void invokeCopyObjectListeners()

invokeRenameListeners

public void invokeRenameListeners()

invokeRemoveShortcutListeners

public void invokeRemoveShortcutListeners()

showSearchingStatus

public void showSearchingStatus()
Specified by:
showSearchingStatus in interface IBrowserView

invokeChangePermissionListeners

public void invokeChangePermissionListeners()

invokeGetFilePermissionListeners

public void invokeGetFilePermissionListeners()

invokeShowRootsListeners

public void invokeShowRootsListeners()

addNewConnectionListener

public void addNewConnectionListener(java.awt.event.ActionListener newConnectionListener)
Specified by:
addNewConnectionListener in interface IBrowserView

addObjectEnteredListener

public void addObjectEnteredListener(java.awt.event.ActionListener objectEnteredListener)
Specified by:
addObjectEnteredListener in interface IBrowserView

addObjectSelectedListener

public void addObjectSelectedListener(java.awt.event.ActionListener actionListener)
Specified by:
addObjectSelectedListener in interface IBrowserView

addStepUpListener

public void addStepUpListener(java.awt.event.ActionListener actionListener)
Specified by:
addStepUpListener in interface IBrowserView

addRefreshListener

public void addRefreshListener(java.awt.event.ActionListener actionListener)
Specified by:
addRefreshListener in interface IBrowserView

addGoToLocationListener

public void addGoToLocationListener(java.awt.event.ActionListener actionListener)
Specified by:
addGoToLocationListener in interface IBrowserView

addNewFolderListener

public void addNewFolderListener(java.awt.event.ActionListener actionListener)
Specified by:
addNewFolderListener in interface IBrowserView

addDeleteObjectListener

public void addDeleteObjectListener(java.awt.event.ActionListener actionListener)
Specified by:
addDeleteObjectListener in interface IBrowserView

addCopyObjectListener

public void addCopyObjectListener(java.awt.event.ActionListener actionListener)
Specified by:
addCopyObjectListener in interface IBrowserView

addRenameListener

public void addRenameListener(java.awt.event.ActionListener actionListener)
Specified by:
addRenameListener in interface IBrowserView

addShowRootsListener

public void addShowRootsListener(java.awt.event.ActionListener actionListener)
Specified by:
addShowRootsListener in interface IBrowserView

addDisconnectListener

public void addDisconnectListener(java.awt.event.ActionListener actionListener)
Specified by:
addDisconnectListener in interface IBrowserView

addRootObjectEnteredListener

public void addRootObjectEnteredListener(java.awt.event.ActionListener actionListener)
Specified by:
addRootObjectEnteredListener in interface IBrowserView

addChangePermissionListener

public void addChangePermissionListener(java.awt.event.ActionListener actionListener)
Specified by:
addChangePermissionListener in interface IBrowserView

addGetFilePermissionListener

public void addGetFilePermissionListener(java.awt.event.ActionListener actionListener)
Specified by:
addGetFilePermissionListener in interface IBrowserView

addNewShortcutListener

public void addNewShortcutListener(java.awt.event.ActionListener actionListener)
Specified by:
addNewShortcutListener in interface IBrowserView

addRemoveShortcutListener

public void addRemoveShortcutListener(java.awt.event.ActionListener actionListener)
Specified by:
addRemoveShortcutListener in interface IBrowserView

setObjects

public void setObjects(FileObject[] childrenObjects,
                       FileObject parentObject)
Specified by:
setObjects in interface IBrowserView

setObjectSelected

public void setObjectSelected(FileObject selectedObject)
Specified by:
setObjectSelected in interface IBrowserView

setLocalResources

public void setLocalResources(RootObject[] localResources)
Specified by:
setLocalResources in interface IBrowserView

setRemoteConnections

public void setRemoteConnections(RootObject[] remoteConnections)
Specified by:
setRemoteConnections in interface IBrowserView

setShortcuts

public void setShortcuts(java.util.List<Shortcut> shortcuts)
Specified by:
setShortcuts in interface IBrowserView

setErrorMessage

public void setErrorMessage(java.lang.String message)
Specified by:
setErrorMessage in interface IBrowserView

setFilePermissionBean

public void setFilePermissionBean(FilePermissionBean bean)
Specified by:
setFilePermissionBean in interface IBrowserView

getEnteredObject

public FileObject getEnteredObject()
Specified by:
getEnteredObject in interface IBrowserView

getSelectedObject

public FileObject getSelectedObject()
Specified by:
getSelectedObject in interface IBrowserView

getParentObject

public FileObject getParentObject()
Specified by:
getParentObject in interface IBrowserView

getGoToLocationURI

public java.lang.String getGoToLocationURI()
Specified by:
getGoToLocationURI in interface IBrowserView

getNewFolderName

public java.lang.String getNewFolderName()
Specified by:
getNewFolderName in interface IBrowserView

getObjectsToDelete

public FileObject[] getObjectsToDelete()
Specified by:
getObjectsToDelete in interface IBrowserView

getObjectCopyBean

public ObjectCopyBean getObjectCopyBean()
Specified by:
getObjectCopyBean in interface IBrowserView

getRenameBean

public RenameBean getRenameBean()
Specified by:
getRenameBean in interface IBrowserView

getChangePermissionBean

public ChangePermissionBean getChangePermissionBean()
Specified by:
getChangePermissionBean in interface IBrowserView

getDisconnectableObject

public RootObject getDisconnectableObject()
Specified by:
getDisconnectableObject in interface IBrowserView

getRootEnteredObject

public RootObject getRootEnteredObject()
Specified by:
getRootEnteredObject in interface IBrowserView

getFilePermissionBean

public FilePermissionBean getFilePermissionBean()

getNewShortcut

public Shortcut getNewShortcut()
Specified by:
getNewShortcut in interface IBrowserView

getShortcutToDelete

public Shortcut getShortcutToDelete()
Specified by:
getShortcutToDelete in interface IBrowserView

getBrowserToolBar

public javax.swing.JToolBar getBrowserToolBar()

getConnectoinsPane

public javax.swing.JComponent getConnectoinsPane()

revealObject

public void revealObject(java.lang.String uri)