usb.view
Class KodakNode

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

public final class KodakNode
extends USBNode

Represent Kodak DC-240 and DC-280 cameras. The displayed children of this node will be images from the camera.


Field Summary
 
Fields inherited from class usb.view.USBNode
dev, parent
 
Constructor Summary
KodakNode(Device dev, javax.swing.tree.TreeNode parent)
          This is the standard constructor that viewer nodes need to support.
 
Method Summary
 boolean getAllowsChildren()
          Reports that children are not allowed.
 javax.swing.tree.TreeNode getChildAt(int n)
          Returns null.
 int getChildCount()
          Returns zero.
protected  void showClassInfo(java.lang.StringBuffer buf)
          This currently just shows a few fields of the camera status table.
 
Methods inherited from class usb.view.USBNode
children, draw, getIndex, getParent, isLeaf, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KodakNode

public KodakNode(Device dev,
                 javax.swing.tree.TreeNode parent)
          throws java.io.IOException
This is the standard constructor that viewer nodes need to support.

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 n)
Description copied from class: USBNode
Returns null.

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

showClassInfo

protected void showClassInfo(java.lang.StringBuffer buf)
This currently just shows a few fields of the camera status table.

Overrides:
showClassInfo in class USBNode