org.openorb.trader.plugin.gui
Class TradingDataNode

java.lang.Object
  |
  +--javax.swing.tree.DefaultMutableTreeNode
        |
        +--org.openorb.board.shared.treetable.DataNode
              |
              +--org.openorb.trader.plugin.gui.TradingDataNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class TradingDataNode
extends org.openorb.board.shared.treetable.DataNode

OpenORB Management Board / Trading Service data node

Author:
Olivier Modica
See Also:
Serialized Form

Field Summary
static int FOLDER
          A folder
static int LINK
          A link
static int OFFER
          An offer
static int OFFER_FOLDER
          An offer folder (contains offers of the same type)
static int PREFERENCE
          A well-known preference property ( name, value )
static int PREFERENCE_FOLDER
          A preference folder
static int PROPERTY
          A property ( name, value )
static int PROXY_FOLDER
          A proxy folder (contains proxy offers of the same type)
static int PROXY_OFFER
          A proxy offer
static int QUERY
          A query
static int RESULT
          A query result
static int ROOT_NODE
          A top node
static int SERVICE_TYPE
          A service
static int TRADING_SERVICE
          A trading service
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
EMPTY_ENUMERATION
 
Constructor Summary
TradingDataNode(int nodeType, java.lang.Object nodeValue)
          Constructor
 
Method Summary
 boolean isLeaf()
          isLeaf
 
Methods inherited from class org.openorb.board.shared.treetable.DataNode
getAllowsChildren, getLinkedTableRowIndex, getLinkedTreeNode, getNodeProperty, getNodeType, getNodeValue, setLinkedTableRowIndex, setLinkedTreeNode, setNodeProperty, setNodeType, setNodeValue
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, 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, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT_NODE

public static final int ROOT_NODE
A top node

TRADING_SERVICE

public static final int TRADING_SERVICE
A trading service

OFFER

public static final int OFFER
An offer

PROXY_OFFER

public static final int PROXY_OFFER
A proxy offer

SERVICE_TYPE

public static final int SERVICE_TYPE
A service

FOLDER

public static final int FOLDER
A folder

QUERY

public static final int QUERY
A query

LINK

public static final int LINK
A link

RESULT

public static final int RESULT
A query result

OFFER_FOLDER

public static final int OFFER_FOLDER
An offer folder (contains offers of the same type)

PROXY_FOLDER

public static final int PROXY_FOLDER
A proxy folder (contains proxy offers of the same type)

PREFERENCE_FOLDER

public static final int PREFERENCE_FOLDER
A preference folder

PROPERTY

public static final int PROPERTY
A property ( name, value )

PREFERENCE

public static final int PREFERENCE
A well-known preference property ( name, value )
Constructor Detail

TradingDataNode

public TradingDataNode(int nodeType,
                       java.lang.Object nodeValue)
Constructor
Method Detail

isLeaf

public boolean isLeaf()
isLeaf
Overrides:
isLeaf in class org.openorb.board.shared.treetable.DataNode