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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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
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
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.