| org.w3c.tools.widgets.TreeBrowser org.w3c.jigadm.editors.FrameBrowser
Inner Class :class Expander extends Thread | |
Method Summary | |
protected void | errorPopup(String name, Exception ex) | public String | getFrameName(RemoteResource frame, String name) | public String | getFrameName(RemoteResource frame) | protected synchronized boolean | getLock() | public Dimension | getPreferredSize() | protected RemoteResourceWrapper | getResources(RemoteResourceWrapper rw, String name) | public RemoteResourceWrapper | getRootWrapper() | public void | insertNode(RemoteResourceWrapper father, RemoteResourceWrapper son) | public void | insertNode(RemoteResourceWrapper father, RemoteResourceWrapper son, String name) | public boolean | isDirectory(TreeBrowser browser, TreeNode nd) | public void | notifyCollapse(TreeBrowser browser, TreeNode node) Handles Collapse notifications
we simply collapse the given node and repaint the browser. | public void | notifyExecute(TreeBrowser browser, TreeNode node) Handles Select notifications. | public void | notifyExpand(TreeBrowser browser, TreeNode nd) | 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. | public void | notifySelect(TreeBrowser browser, TreeNode nd) | public void | removeNode(RemoteResourceWrapper rw) | public void | renameNode(RemoteResourceWrapper rw, String label) | public void | setCursor(int cursor) | protected synchronized void | unlock() |
debug | final public static boolean debug(Code) | | |
getLock | protected synchronized boolean getLock()(Code) | | gets a lock to avoid adding node while removing other nodes
it sets also the Cursor to WAIT_CURSOR
|
notifyCollapse | public void notifyCollapse(TreeBrowser browser, TreeNode node)(Code) | | Handles Collapse notifications
we simply collapse the given node and repaint the browser.
|
notifyExecute | public void notifyExecute(TreeBrowser browser, TreeNode node)(Code) | | Handles Select notifications.
we simply select the node and redraw the browser.
|
notifyExpander | public void notifyExpander(TreeBrowser browser, TreeNode nd)(Code) | | Handles Expand notifications
if the node is a directory, we list its content and insert the
directories and files in the browser.
|
setCursor | public void setCursor(int cursor)(Code) | | |
unlock | protected synchronized void unlock()(Code) | | release the lock and sets the Cursor to the default
|
|
|