    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.jigadm.editors.FrameBrowser

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Canvas
                       |
                       +----org.w3c.tools.widgets.TreeBrowser
                               |
                               +----org.w3c.jigadm.editors.FrameBrowser

public class FrameBrowser
extends TreeBrowser
implements NodeHandler

##

debug

##

FrameBrowser(FrameTreeListener, RemoteResourceWrapper)

##

errorPopup(String, Exception)
getFrameName(RemoteResource)
getFrameName(RemoteResource, String)
getLock()
  gets a lock to avoid adding node while removing other nodes it sets also the Cursor to WAIT_CURSOR
getPreferredSize()
getResources(RemoteResourceWrapper, String)
getRootWrapper()
  give the Root Resource of the browser
insertNode(RemoteResourceWrapper, RemoteResourceWrapper)
insertNode(RemoteResourceWrapper, RemoteResourceWrapper, String)
isDirectory(TreeBrowser, TreeNode)
notifyCollapse(TreeBrowser, TreeNode)
  Handles Collapse notifications we simply collapse the given node and repaint the browser.
notifyExecute(TreeBrowser, TreeNode)
  Handles Select notifications.
notifyExpand(TreeBrowser, TreeNode)
notifyExpander(TreeBrowser, TreeNode)
  Handles Expand notifications if the node is a directory, we list its content and insert the directories and files in the browser.
notifySelect(TreeBrowser, TreeNode)
removeNode(RemoteResourceWrapper)
renameNode(RemoteResourceWrapper, String)
setCursor(int)
unlock()
  release the lock and sets the Cursor to the default

##

debug

     public static final boolean debug

##

FrameBrowser

     public FrameBrowser(FrameTreeListener tl,
                         RemoteResourceWrapper rrw)

##

errorPopup

     protected void errorPopup(String name,
                               Exception ex)

getPreferredSize

     public Dimension getPreferredSize()

  Overrides:
    getPreferredSize in class Component

setCursor

     public void setCursor(int cursor)

getLock

     protected synchronized boolean getLock()

  gets a lock to avoid adding node while removing other nodes it sets also the Cursor to WAIT_CURSOR

unlock

     protected synchronized void unlock()

  release the lock and sets the Cursor to the default

getRootWrapper

     public RemoteResourceWrapper getRootWrapper()

  give the Root Resource of the browser

renameNode

     public void renameNode(RemoteResourceWrapper rw,
                            String label)

removeNode

     public void removeNode(RemoteResourceWrapper rw)

insertNode

     public void insertNode(RemoteResourceWrapper father,
                            RemoteResourceWrapper son)

insertNode

     public void insertNode(RemoteResourceWrapper father,
                            RemoteResourceWrapper son,
                            String name)

getResources

     protected RemoteResourceWrapper getResources(RemoteResourceWrapper rw,
                                                  String name)

notifySelect

     public void notifySelect(TreeBrowser browser,
                              TreeNode nd)

notifyExecute

     public void notifyExecute(TreeBrowser browser,
                               TreeNode node)

  Handles Select notifications. we simply select the node and redraw the browser.

notifyExpand

     public void notifyExpand(TreeBrowser browser,
                              TreeNode nd)

isDirectory

     public boolean isDirectory(TreeBrowser browser,
                                TreeNode nd)

getFrameName

     public String getFrameName(RemoteResource frame,
                                String name) throws RemoteAccessException

getFrameName

     public String getFrameName(RemoteResource frame) throws RemoteAccessException

notifyExpander

     public void notifyExpander(TreeBrowser browser,
                                TreeNode nd)

  Handles Expand notifications if the node is a directory, we list its content and insert the directories and files in the browser.

notifyCollapse

     public void notifyCollapse(TreeBrowser browser,
                                TreeNode node)

  Handles Collapse notifications we simply collapse the given node and repaint the browser.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index