Package jmri.util.usb
Class UsbBrowserPanel.UsbTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- jmri.util.usb.UsbBrowserPanel.UsbTreeNode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.swing.tree.MutableTreeNode
,javax.swing.tree.TreeNode
- Enclosing class:
- UsbBrowserPanel
protected static class UsbBrowserPanel.UsbTreeNode extends javax.swing.tree.DefaultMutableTreeNode
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UsbTreeNode()
UsbTreeNode(javax.usb.UsbDevice usbDevice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.usb.UsbDevice
getUsbDevice()
boolean
isLeaf()
void
setUsbDevice(javax.usb.UsbDevice usbDevice)
java.lang.String
toString()
-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
-
-
-
-
Constructor Detail
-
UsbTreeNode
public UsbTreeNode()
-
UsbTreeNode
public UsbTreeNode(javax.usb.UsbDevice usbDevice)
-
-
Method Detail
-
getUsbDevice
public javax.usb.UsbDevice getUsbDevice()
-
setUsbDevice
public void setUsbDevice(javax.usb.UsbDevice usbDevice)
-
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interfacejavax.swing.tree.TreeNode
- Overrides:
isLeaf
in classjavax.swing.tree.DefaultMutableTreeNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjavax.swing.tree.DefaultMutableTreeNode
-
-