usb.view
Class HubNode

java.lang.Object
  |
  +--usb.view.USBNode
        |
        +--usb.view.HubNode
All Implemented Interfaces:
javax.swing.tree.TreeNode

public final class HubNode
extends USBNode

Instance of this class represent USB Hub nodes. It's used internally to the viewer.


Fields inherited from class usb.view.USBNode
dev, parent
 
Method Summary
 boolean getAllowsChildren()
          Reports that children are not allowed.
 javax.swing.tree.TreeNode getChildAt(int n)
          Returns null.
 int getChildCount()
          Returns zero.
 int getIndex(javax.swing.tree.TreeNode n)
          Not implemented.
protected  void showClassInfo(java.lang.StringBuffer buf)
          Displays hub class information, including current port status.
 
Methods inherited from class usb.view.USBNode
children, draw, getParent, isLeaf, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAllowsChildren

public boolean getAllowsChildren()
Description copied from class: USBNode
Reports that children are not allowed.
Overrides:
getAllowsChildren in class USBNode

getChildCount

public int getChildCount()
Description copied from class: USBNode
Returns zero.
Overrides:
getChildCount in class USBNode

getChildAt

public javax.swing.tree.TreeNode getChildAt(int n)
Description copied from class: USBNode
Returns null.
Overrides:
getChildAt in class USBNode

getIndex

public int getIndex(javax.swing.tree.TreeNode n)
Description copied from class: USBNode
Not implemented.
Overrides:
getIndex in class USBNode

showClassInfo

protected void showClassInfo(java.lang.StringBuffer buf)
Displays hub class information, including current port status.
Overrides:
showClassInfo in class USBNode


Associated source code is licenced under the LGPL.
See http://jusb.sourceforge.net
This documentation was derived from that source code on 24-Jul-2002.