usb.view
Class RioNode

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

public final class RioNode
extends USBNode

Represent Rio500 MP3 players. The displayed children will represent the folder and song structure on the device and on any external memory card it may have.


Field Summary
 
Fields inherited from class usb.view.USBNode
dev, parent
 
Constructor Summary
RioNode(Device dev, javax.swing.tree.TreeNode parent)
           
 
Method Summary
 boolean getAllowsChildren()
          Reports that children are not allowed.
 javax.swing.tree.TreeNode getChildAt(int i)
          Returns null.
 int getChildCount()
          Returns zero.
 int getIndex(javax.swing.tree.TreeNode n)
          Not implemented.
protected  void showClassInfo(java.lang.StringBuffer buf)
          This is currently a placeholder.
 
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
 

Constructor Detail

RioNode

public RioNode(Device dev,
               javax.swing.tree.TreeNode parent)
        throws java.io.IOException
Method Detail

getAllowsChildren

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

Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode
Overrides:
getAllowsChildren in class USBNode

getChildCount

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

Specified by:
getChildCount in interface javax.swing.tree.TreeNode
Overrides:
getChildCount in class USBNode

getChildAt

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

Specified by:
getChildAt in interface javax.swing.tree.TreeNode
Overrides:
getChildAt in class USBNode

getIndex

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

Specified by:
getIndex in interface javax.swing.tree.TreeNode
Overrides:
getIndex in class USBNode

showClassInfo

protected void showClassInfo(java.lang.StringBuffer buf)
This is currently a placeholder.

Overrides:
showClassInfo in class USBNode