Save This Page
Home » Xerces-J-src.2.9.1 » ui » [javadoc | source]
ui
public class: DOMTreeFull [javadoc | source]
java.lang.Object
   java.awt.Component
      java.awt.Container
         javax.swing.JComponent
            javax.swing.JTree
               ui.DOMTreeFull

All Implemented Interfaces:
    Scrollable, Accessible, TransferHandler$HasGetTransferHandler, Serializable, MenuContainer, ImageObserver

DOMTree class to enter every DOM node into a Swing JTree tree. The forward and backward mappings between Nodes to TreeNodes are kept.
Nested Class Summary:
public static class  DOMTreeFull.Model  DOM tree model. 
Field Summary
public static  String[] whatArray     
Fields inherited from javax.swing.JTree:
CELL_RENDERER_PROPERTY,  TREE_MODEL_PROPERTY,  ROOT_VISIBLE_PROPERTY,  SHOWS_ROOT_HANDLES_PROPERTY,  ROW_HEIGHT_PROPERTY,  CELL_EDITOR_PROPERTY,  EDITABLE_PROPERTY,  LARGE_MODEL_PROPERTY,  SELECTION_MODEL_PROPERTY,  VISIBLE_ROW_COUNT_PROPERTY,  INVOKES_STOP_CELL_EDITING_PROPERTY,  SCROLLS_ON_EXPAND_PROPERTY,  TOGGLE_CLICK_COUNT_PROPERTY,  LEAD_SELECTION_PATH_PROPERTY,  ANCHOR_SELECTION_PATH_PROPERTY,  EXPANDS_SELECTED_PATHS_PROPERTY
Fields inherited from javax.swing.JComponent:
WHEN_FOCUSED,  WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,  WHEN_IN_FOCUSED_WINDOW,  UNDEFINED_CONDITION,  TOOL_TIP_TEXT_KEY
Fields inherited from java.awt.Component:
TOP_ALIGNMENT,  CENTER_ALIGNMENT,  BOTTOM_ALIGNMENT,  LEFT_ALIGNMENT,  RIGHT_ALIGNMENT
Constructor:
 public DOMTreeFull() 
 public DOMTreeFull(Node root) 
    Constructs a tree with the specified document.
Method from ui.DOMTreeFull Summary:
getNode,   getRootNode,   getTreeNode,   normalize,   setRootNode,   sortAttributes,   toString
Methods from javax.swing.JTree:
addSelectionInterval,   addSelectionPath,   addSelectionPaths,   addSelectionRow,   addSelectionRows,   addTreeExpansionListener,   addTreeSelectionListener,   addTreeWillExpandListener,   cancelEditing,   clearSelection,   collapsePath,   collapseRow,   convertValueToText,   expandPath,   expandRow,   fireTreeCollapsed,   fireTreeExpanded,   fireTreeWillCollapse,   fireTreeWillExpand,   getAccessibleContext,   getAnchorSelectionPath,   getCellEditor,   getCellRenderer,   getClosestPathForLocation,   getClosestRowForLocation,   getDragEnabled,   getDropLocation,   getDropMode,   getEditingPath,   getExpandedDescendants,   getExpandsSelectedPaths,   getInvokesStopCellEditing,   getLastSelectedPathComponent,   getLeadSelectionPath,   getLeadSelectionRow,   getMaxSelectionRow,   getMinSelectionRow,   getModel,   getNextMatch,   getPathBounds,   getPathForLocation,   getPathForRow,   getPreferredScrollableViewportSize,   getRowBounds,   getRowCount,   getRowForLocation,   getRowForPath,   getRowHeight,   getScrollableBlockIncrement,   getScrollableTracksViewportHeight,   getScrollableTracksViewportWidth,   getScrollableUnitIncrement,   getScrollsOnExpand,   getSelectionCount,   getSelectionModel,   getSelectionPath,   getSelectionPaths,   getSelectionRows,   getShowsRootHandles,   getToggleClickCount,   getToolTipText,   getTreeExpansionListeners,   getTreeSelectionListeners,   getTreeWillExpandListeners,   getUI,   getUIClassID,   getVisibleRowCount,   hasBeenExpanded,   isCollapsed,   isCollapsed,   isEditable,   isEditing,   isExpanded,   isExpanded,   isFixedRowHeight,   isLargeModel,   isPathEditable,   isPathSelected,   isRootVisible,   isRowSelected,   isSelectionEmpty,   isVisible,   makeVisible,   removeSelectionInterval,   removeSelectionPath,   removeSelectionPaths,   removeSelectionRow,   removeSelectionRows,   removeTreeExpansionListener,   removeTreeSelectionListener,   removeTreeWillExpandListener,   scrollPathToVisible,   scrollRowToVisible,   setAnchorSelectionPath,   setCellEditor,   setCellRenderer,   setDragEnabled,   setDropMode,   setEditable,   setExpandsSelectedPaths,   setInvokesStopCellEditing,   setLargeModel,   setLeadSelectionPath,   setModel,   setRootVisible,   setRowHeight,   setScrollsOnExpand,   setSelectionInterval,   setSelectionModel,   setSelectionPath,   setSelectionPaths,   setSelectionRow,   setSelectionRows,   setShowsRootHandles,   setToggleClickCount,   setUI,   setVisibleRowCount,   startEditingAtPath,   stopEditing,   treeDidChange,   updateUI
Methods from javax.swing.JComponent:
addAncestorListener,   addNotify,   addVetoableChangeListener,   computeVisibleRect,   contains,   createToolTip,   disable,   enable,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessibleContext,   getActionForKeyStroke,   getActionMap,   getAlignmentX,   getAlignmentY,   getAncestorListeners,   getAutoscrolls,   getBaseline,   getBaselineResizeBehavior,   getBorder,   getBounds,   getClientProperty,   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,   getUIClassID,   getVerifyInputWhenFocusTarget,   getVetoableChangeListeners,   getVisibleRect,   getWidth,   getX,   getY,   grabFocus,   isDoubleBuffered,   isLightweightComponent,   isManagingFocus,   isOpaque,   isOptimizedDrawingEnabled,   isPaintingForPrint,   isPaintingTile,   isRequestFocusEnabled,   isValidateRoot,   paint,   paintImmediately,   paintImmediately,   print,   printAll,   putClientProperty,   registerKeyboardAction,   registerKeyboardAction,   removeAncestorListener,   removeNotify,   removeVetoableChangeListener,   repaint,   repaint,   requestDefaultFocus,   requestFocus,   requestFocus,   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,   setVerifyInputWhenFocusTarget,   setVisible,   unregisterKeyboardAction,   update,   updateUI
Methods from java.awt.Container:
add,   add,   add,   add,   add,   addContainerListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   countComponents,   deliverEvent,   doLayout,   findComponentAt,   findComponentAt,   getAlignmentX,   getAlignmentY,   getComponent,   getComponentAt,   getComponentAt,   getComponentCount,   getComponentZOrder,   getComponents,   getContainerListeners,   getFocusTraversalKeys,   getFocusTraversalPolicy,   getInsets,   getLayout,   getListeners,   getMaximumSize,   getMinimumSize,   getMousePosition,   getPreferredSize,   insets,   invalidate,   isAncestorOf,   isFocusCycleRoot,   isFocusCycleRoot,   isFocusTraversalPolicyProvider,   isFocusTraversalPolicySet,   layout,   list,   list,   locate,   minimumSize,   paint,   paintComponents,   preferredSize,   print,   printComponents,   remove,   remove,   removeAll,   removeContainerListener,   removeNotify,   setComponentZOrder,   setFocusCycleRoot,   setFocusTraversalKeys,   setFocusTraversalPolicy,   setFocusTraversalPolicyProvider,   setFont,   setLayout,   transferFocusBackward,   transferFocusDownCycle,   update,   validate
Methods from java.awt.Component:
action,   add,   addComponentListener,   addFocusListener,   addHierarchyBoundsListener,   addHierarchyListener,   addInputMethodListener,   addKeyListener,   addMouseListener,   addMouseMotionListener,   addMouseWheelListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   bounds,   checkImage,   checkImage,   contains,   contains,   createImage,   createImage,   createVolatileImage,   createVolatileImage,   deliverEvent,   disable,   dispatchEvent,   doLayout,   enable,   enable,   enableInputMethods,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessibleContext,   getAlignmentX,   getAlignmentY,   getBackground,   getBaseline,   getBaselineResizeBehavior,   getBounds,   getBounds,   getColorModel,   getComponentAt,   getComponentAt,   getComponentListeners,   getComponentOrientation,   getCursor,   getDropTarget,   getFocusCycleRootAncestor,   getFocusListeners,   getFocusTraversalKeys,   getFocusTraversalKeysEnabled,   getFont,   getFontMetrics,   getForeground,   getGraphics,   getGraphicsConfiguration,   getHeight,   getHierarchyBoundsListeners,   getHierarchyListeners,   getIgnoreRepaint,   getInputContext,   getInputMethodListeners,   getInputMethodRequests,   getKeyListeners,   getListeners,   getLocale,   getLocation,   getLocation,   getLocationOnScreen,   getMaximumSize,   getMinimumSize,   getMouseListeners,   getMouseMotionListeners,   getMousePosition,   getMouseWheelListeners,   getName,   getParent,   getPeer,   getPreferredSize,   getPropertyChangeListeners,   getPropertyChangeListeners,   getSize,   getSize,   getToolkit,   getTreeLock,   getWidth,   getX,   getY,   gotFocus,   handleEvent,   hasFocus,   hide,   imageUpdate,   inside,   invalidate,   isBackgroundSet,   isCursorSet,   isDisplayable,   isDoubleBuffered,   isEnabled,   isFocusCycleRoot,   isFocusOwner,   isFocusTraversable,   isFocusable,   isFontSet,   isForegroundSet,   isLightweight,   isMaximumSizeSet,   isMinimumSizeSet,   isOpaque,   isPreferredSizeSet,   isShowing,   isValid,   isVisible,   keyDown,   keyUp,   layout,   list,   list,   list,   list,   list,   locate,   location,   lostFocus,   minimumSize,   mouseDown,   mouseDrag,   mouseEnter,   mouseExit,   mouseMove,   mouseUp,   move,   nextFocus,   paint,   paintAll,   postEvent,   preferredSize,   prepareImage,   prepareImage,   print,   printAll,   remove,   removeComponentListener,   removeFocusListener,   removeHierarchyBoundsListener,   removeHierarchyListener,   removeInputMethodListener,   removeKeyListener,   removeMouseListener,   removeMouseMotionListener,   removeMouseWheelListener,   removeNotify,   removePropertyChangeListener,   removePropertyChangeListener,   repaint,   repaint,   repaint,   repaint,   requestFocus,   requestFocusInWindow,   reshape,   resize,   resize,   setBackground,   setBounds,   setBounds,   setComponentOrientation,   setCursor,   setDropTarget,   setEnabled,   setFocusTraversalKeys,   setFocusTraversalKeysEnabled,   setFocusable,   setFont,   setForeground,   setIgnoreRepaint,   setLocale,   setLocation,   setLocation,   setMaximumSize,   setMinimumSize,   setName,   setPreferredSize,   setSize,   setSize,   setVisible,   show,   show,   size,   toString,   transferFocus,   transferFocusBackward,   transferFocusUpCycle,   update,   validate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from ui.DOMTreeFull Detail:
 public Node getNode(Object treeNode) 
    get the org.w3c.Node for a MutableTreeNode.
 public Node getRootNode() 
    Returns the root.
 public TreeNode getTreeNode(Object node) 
    get the TreeNode for the org.w3c.Node
 protected static String normalize(String s) 
    Normalizes the given string.
 public  void setRootNode(Node root) 
    Sets the root.
 protected static Attr[] sortAttributes(NamedNodeMap attrs) 
    Returns a sorted list of attributes.
 public static String toString(Node node)