| |
|
| javax.swing.JTree org.w3c.jigadmin.editors.ResourceTreeBrowser
All known Subclasses: org.w3c.jigadmin.editors.FrameBrowser,
Method Summary | |
protected void | addResource(String identifier, String classname, RemoteResourceWrapper rrwf, TreePath fpath) Add a resource to the resource wrapped. | protected void | addResourceToSelectedContainer(String classname, String identifier) Add a resource to the selected container. | protected void | addResourceToSelectedContainer() Add a (new) resource to the container associated to the
selected node. | protected void | deleteResource(RemoteResourceWrapper rrw) | protected void | deleteSelectedResources() Delete the resources associated to the selected nodes. | protected void | disposeAddResourcePopup() | protected void | doubleClick(TreePath path) A double click occured on the node with the given path. | public void | dragEnter(DropTargetDragEvent dropTargetDragEvent) | public void | dragExit(DropTargetEvent dropTargetEvent) The Drag operation has departed the DropTarget without dropping. | public void | dragOver(DropTargetDragEvent dropTargetDragEvent) | public synchronized void | drop(DropTargetDropEvent dropTargetDropEvent) | public void | dropActionChanged(DropTargetDragEvent dropTargetDragEvent) | protected boolean | dropResource(ResourceCell cell) Drop a resource. | protected AddResourcePanel | getAddResourcePanel(String title, RemoteResourceWrapper rrw) | protected String | getIdentifier(ResourceCell cell, RemoteResourceWrapper rrw) Get (compute) the resource identifier of the dropped resource. | protected JPopupMenu | getPopupMenu(RemoteResourceWrapper rrw) Get the popup menu relative to the selected resource. | public static ResourceTreeBrowser | getResourceTreeBrowser(RemoteResourceWrapper rrw, String rootName) Get a ResourceTreeBrowser.
Parameters: rrw - The root resource Parameters: rootName - The root identifier. | protected RemoteResourceWrapper | getSelectedResourceWrapper() Get the RemoteResourceWrapper associated to the selected node. | protected RemoteResourceWrapper | getSelectedResourceWrapper(TreePath path) Get the RemoteResourceWrapper associated to the selected node. | public boolean | isDragging() | protected void | popupAddResourceDialog(String title, RemoteResourceWrapper rrw) | protected void | popupResource(RemoteResourceWrapper rrw) Popup a dialog where the user can edit the resource properties. | protected void | reindexResource(RemoteResourceWrapper rrw, boolean rec) Reindex the container wrapped by the given wrapper. | protected void | reindexSelectedResources(boolean rec) Reindex the containers associated to the selected nodes. | protected TreePath[] | removeDescendants(TreePath[] paths) Filter the TreePath array. | public void | resourceActionPerformed(ResourceActionEvent e) A resource action occured. | protected void | setCursor(int cursor) Set the cursor. | protected void | setResourceToAdd(String classname, String identifier) | protected void | showReferenceDocumentation() Display (in another frame) the reference documentation relative
to the resource associated to the selected node. | protected void | simpleClick(TreePath path) A simle click occured on the node with the given path. |
DELETE_RESOURCE_AC | final public static String DELETE_RESOURCE_AC(Code) | | |
addResource | protected void addResource(String identifier, String classname, RemoteResourceWrapper rrwf, TreePath fpath) throws RemoteAccessException(Code) | | Add a resource to the resource wrapped.
Parameters: identifier - The new resource identifier Parameters: classname - The new resource class name Parameters: rrwf - the Wrapper of the father resource Parameters: fpath - The path of the father node |
addResourceToSelectedContainer | protected void addResourceToSelectedContainer(String classname, String identifier) throws RemoteAccessException(Code) | | Add a resource to the selected container.
Parameters: classname - the resource class name Parameters: identifier - the resource identifier |
addResourceToSelectedContainer | protected void addResourceToSelectedContainer()(Code) | | Add a (new) resource to the container associated to the
selected node.
|
deleteSelectedResources | protected void deleteSelectedResources()(Code) | | Delete the resources associated to the selected nodes.
Display an error message if there is no node selected or if
the resource is not editable.
|
disposeAddResourcePopup | protected void disposeAddResourcePopup()(Code) | | Dispose the "add resource" popup
|
doubleClick | protected void doubleClick(TreePath path)(Code) | | A double click occured on the node with the given path.
Parameters: path - The path where the double click occured. |
dragEnter | public void dragEnter(DropTargetDragEvent dropTargetDragEvent)(Code) | | a Drag operation has encountered the DropTarget
|
dragExit | public void dragExit(DropTargetEvent dropTargetEvent)(Code) | | The Drag operation has departed the DropTarget without dropping.
|
drop | public synchronized void drop(DropTargetDropEvent dropTargetDropEvent)(Code) | | The Drag operation has terminated with a Drop on this DropTarget
|
dropActionChanged | public void dropActionChanged(DropTargetDragEvent dropTargetDragEvent)(Code) | | The user as modified the current drop gesture
|
getPopupMenu | protected JPopupMenu getPopupMenu(RemoteResourceWrapper rrw)(Code) | | Get the popup menu relative to the selected resource.
Parameters: rrw - the wrapper of the resource a JPopupMenu instance |
getResourceTreeBrowser | public static ResourceTreeBrowser getResourceTreeBrowser(RemoteResourceWrapper rrw, String rootName)(Code) | | Get a ResourceTreeBrowser.
Parameters: rrw - The root resource Parameters: rootName - The root identifier. a ResourceTreeBrowser instance |
getSelectedResourceWrapper | protected RemoteResourceWrapper getSelectedResourceWrapper()(Code) | | Get the RemoteResourceWrapper associated to the selected node.
a RemoteResourceWrapper |
getSelectedResourceWrapper | protected RemoteResourceWrapper getSelectedResourceWrapper(TreePath path)(Code) | | Get the RemoteResourceWrapper associated to the selected node.
Parameters: path - the selected path a RemoteResourceWrapper |
isDragging | public boolean isDragging()(Code) | | Is the mouse dragging something on the resource tree?
a boolean |
popupAddResourceDialog | protected void popupAddResourceDialog(String title, RemoteResourceWrapper rrw)(Code) | | Popup a "add resource" Dialog
Parameters: title - the popup title Parameters: rrw - The wrapper of the father RemoteResource |
popupResource | protected void popupResource(RemoteResourceWrapper rrw)(Code) | | Popup a dialog where the user can edit the resource properties.
Parameters: rrw - the wrapper if the resource to edit. |
reindexResource | protected void reindexResource(RemoteResourceWrapper rrw, boolean rec) throws RemoteAccessException(Code) | | Reindex the container wrapped by the given wrapper.
Display an error message (dialog) if the resource
is not a ResourceContainer.
Parameters: rrw - the RemoteResourceWrapper Parameters: rec - recursivly? exception: RemoteAccessException - if a Remote Error occurs |
reindexSelectedResources | protected void reindexSelectedResources(boolean rec)(Code) | | Reindex the containers associated to the selected nodes.
Display an error message (dialog) if there is no node selected or
if one of the selected resource is not a ResourceContainer.
Parameters: rec - recursivly? |
removeDescendants | protected TreePath[] removeDescendants(TreePath[] paths)(Code) | | Filter the TreePath array. Remove all nodes that have one of their
parent in this array.
Parameters: paths - the TreePath array the filtered array |
resourceActionPerformed | public void resourceActionPerformed(ResourceActionEvent e)(Code) | | A resource action occured.
Parameters: e - the ResourceActionEvent |
setCursor | protected void setCursor(int cursor)(Code) | | Set the cursor.
Parameters: a - cursor type |
setResourceToAdd | protected void setResourceToAdd(String classname, String identifier)(Code) | | Specify some properties of the resource to add
Parameters: classnema - the new resource class name Parameters: identifier - the new resource identifier |
showReferenceDocumentation | protected void showReferenceDocumentation()(Code) | | Display (in another frame) the reference documentation relative
to the resource associated to the selected node.
Display en error message (dialog) if no node is selected.
|
simpleClick | protected void simpleClick(TreePath path)(Code) | | A simle click occured on the node with the given path.
Parameters: path - The path where the click occured. |
Methods inherited from javax.swing.JTree | public void addSelectionInterval(int index0, int index1)(Code)(Java Doc) public void addSelectionPath(TreePath path)(Code)(Java Doc) public void addSelectionPaths(TreePath[] paths)(Code)(Java Doc) public void addSelectionRow(int row)(Code)(Java Doc) public void addSelectionRows(int[] rows)(Code)(Java Doc) public void addTreeExpansionListener(TreeExpansionListener tel)(Code)(Java Doc) public void addTreeSelectionListener(TreeSelectionListener tsl)(Code)(Java Doc) public void addTreeWillExpandListener(TreeWillExpandListener tel)(Code)(Java Doc) public void cancelEditing()(Code)(Java Doc) public void clearSelection()(Code)(Java Doc) protected void clearToggledPaths()(Code)(Java Doc) public void collapsePath(TreePath path)(Code)(Java Doc) public void collapseRow(int row)(Code)(Java Doc) public String convertValueToText(Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)(Code)(Java Doc) protected static TreeModel createTreeModel(Object value)(Code)(Java Doc) protected TreeModelListener createTreeModelListener()(Code)(Java Doc) public void expandPath(TreePath path)(Code)(Java Doc) public void expandRow(int row)(Code)(Java Doc) public void fireTreeCollapsed(TreePath path)(Code)(Java Doc) public void fireTreeExpanded(TreePath path)(Code)(Java Doc) public void fireTreeWillCollapse(TreePath path) throws ExpandVetoException(Code)(Java Doc) public void fireTreeWillExpand(TreePath path) throws ExpandVetoException(Code)(Java Doc) protected void fireValueChanged(TreeSelectionEvent e)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public TreePath getAnchorSelectionPath()(Code)(Java Doc) public TreeCellEditor getCellEditor()(Code)(Java Doc) public TreeCellRenderer getCellRenderer()(Code)(Java Doc) public TreePath getClosestPathForLocation(int x, int y)(Code)(Java Doc) public int getClosestRowForLocation(int x, int y)(Code)(Java Doc) protected static TreeModel getDefaultTreeModel()(Code)(Java Doc) protected Enumeration<TreePath> getDescendantToggledPaths(TreePath parent)(Code)(Java Doc) public boolean getDragEnabled()(Code)(Java Doc) final public DropLocation getDropLocation()(Code)(Java Doc) final public DropMode getDropMode()(Code)(Java Doc) public TreePath getEditingPath()(Code)(Java Doc) public Enumeration<TreePath> getExpandedDescendants(TreePath parent)(Code)(Java Doc) public boolean getExpandsSelectedPaths()(Code)(Java Doc) public boolean getInvokesStopCellEditing()(Code)(Java Doc) public Object getLastSelectedPathComponent()(Code)(Java Doc) public TreePath getLeadSelectionPath()(Code)(Java Doc) public int getLeadSelectionRow()(Code)(Java Doc) public int getMaxSelectionRow()(Code)(Java Doc) public int getMinSelectionRow()(Code)(Java Doc) public TreeModel getModel()(Code)(Java Doc) public TreePath getNextMatch(String prefix, int startingRow, Position.Bias bias)(Code)(Java Doc) protected TreePath[] getPathBetweenRows(int index0, int index1)(Code)(Java Doc) public Rectangle getPathBounds(TreePath path)(Code)(Java Doc) public TreePath getPathForLocation(int x, int y)(Code)(Java Doc) public TreePath getPathForRow(int row)(Code)(Java Doc) public Dimension getPreferredScrollableViewportSize()(Code)(Java Doc) public Rectangle getRowBounds(int row)(Code)(Java Doc) public int getRowCount()(Code)(Java Doc) public int getRowForLocation(int x, int y)(Code)(Java Doc) public int getRowForPath(TreePath path)(Code)(Java Doc) public int getRowHeight()(Code)(Java Doc) public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)(Code)(Java Doc) public boolean getScrollableTracksViewportHeight()(Code)(Java Doc) public boolean getScrollableTracksViewportWidth()(Code)(Java Doc) public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)(Code)(Java Doc) public boolean getScrollsOnExpand()(Code)(Java Doc) public int getSelectionCount()(Code)(Java Doc) public TreeSelectionModel getSelectionModel()(Code)(Java Doc) public TreePath getSelectionPath()(Code)(Java Doc) public TreePath[] getSelectionPaths()(Code)(Java Doc) public int[] getSelectionRows()(Code)(Java Doc) public boolean getShowsRootHandles()(Code)(Java Doc) public int getToggleClickCount()(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public TreeExpansionListener[] getTreeExpansionListeners()(Code)(Java Doc) public TreeSelectionListener[] getTreeSelectionListeners()(Code)(Java Doc) public TreeWillExpandListener[] getTreeWillExpandListeners()(Code)(Java Doc) public TreeUI getUI()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public int getVisibleRowCount()(Code)(Java Doc) public boolean hasBeenExpanded(TreePath path)(Code)(Java Doc) public boolean isCollapsed(TreePath path)(Code)(Java Doc) public boolean isCollapsed(int row)(Code)(Java Doc) public boolean isEditable()(Code)(Java Doc) public boolean isEditing()(Code)(Java Doc) public boolean isExpanded(TreePath path)(Code)(Java Doc) public boolean isExpanded(int row)(Code)(Java Doc) public boolean isFixedRowHeight()(Code)(Java Doc) public boolean isLargeModel()(Code)(Java Doc) public boolean isPathEditable(TreePath path)(Code)(Java Doc) public boolean isPathSelected(TreePath path)(Code)(Java Doc) public boolean isRootVisible()(Code)(Java Doc) public boolean isRowSelected(int row)(Code)(Java Doc) public boolean isSelectionEmpty()(Code)(Java Doc) public boolean isVisible(TreePath path)(Code)(Java Doc) public void makeVisible(TreePath path)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) protected boolean removeDescendantSelectedPaths(TreePath path, boolean includePath)(Code)(Java Doc) protected void removeDescendantToggledPaths(Enumeration<TreePath> toRemove)(Code)(Java Doc) public void removeSelectionInterval(int index0, int index1)(Code)(Java Doc) public void removeSelectionPath(TreePath path)(Code)(Java Doc) public void removeSelectionPaths(TreePath[] paths)(Code)(Java Doc) public void removeSelectionRow(int row)(Code)(Java Doc) public void removeSelectionRows(int[] rows)(Code)(Java Doc) public void removeTreeExpansionListener(TreeExpansionListener tel)(Code)(Java Doc) public void removeTreeSelectionListener(TreeSelectionListener tsl)(Code)(Java Doc) public void removeTreeWillExpandListener(TreeWillExpandListener tel)(Code)(Java Doc) public void scrollPathToVisible(TreePath path)(Code)(Java Doc) public void scrollRowToVisible(int row)(Code)(Java Doc) public void setAnchorSelectionPath(TreePath newPath)(Code)(Java Doc) public void setCellEditor(TreeCellEditor cellEditor)(Code)(Java Doc) public void setCellRenderer(TreeCellRenderer x)(Code)(Java Doc) public void setDragEnabled(boolean b)(Code)(Java Doc) final public void setDropMode(DropMode dropMode)(Code)(Java Doc) public void setEditable(boolean flag)(Code)(Java Doc) protected void setExpandedState(TreePath path, boolean state)(Code)(Java Doc) public void setExpandsSelectedPaths(boolean newValue)(Code)(Java Doc) public void setInvokesStopCellEditing(boolean newValue)(Code)(Java Doc) public void setLargeModel(boolean newValue)(Code)(Java Doc) public void setLeadSelectionPath(TreePath newPath)(Code)(Java Doc) public void setModel(TreeModel newModel)(Code)(Java Doc) public void setRootVisible(boolean rootVisible)(Code)(Java Doc) public void setRowHeight(int rowHeight)(Code)(Java Doc) public void setScrollsOnExpand(boolean newValue)(Code)(Java Doc) public void setSelectionInterval(int index0, int index1)(Code)(Java Doc) public void setSelectionModel(TreeSelectionModel selectionModel)(Code)(Java Doc) public void setSelectionPath(TreePath path)(Code)(Java Doc) public void setSelectionPaths(TreePath[] paths)(Code)(Java Doc) public void setSelectionRow(int row)(Code)(Java Doc) public void setSelectionRows(int[] rows)(Code)(Java Doc) public void setShowsRootHandles(boolean newValue)(Code)(Java Doc) public void setToggleClickCount(int clickCount)(Code)(Java Doc) public void setUI(TreeUI ui)(Code)(Java Doc) public void setVisibleRowCount(int newCount)(Code)(Java Doc) public void startEditingAtPath(TreePath path)(Code)(Java Doc) public boolean stopEditing()(Code)(Java Doc) public void treeDidChange()(Code)(Java Doc) public void updateUI()(Code)(Java Doc)
|
|
|
|