com.jgraph.example.mycellmodeleditor
Class BusinessObjectWrapper
java.lang.Object
   com.jgraph.example.mycellmodeleditor.BusinessObjectWrapper
com.jgraph.example.mycellmodeleditor.BusinessObjectWrapper
- public class BusinessObjectWrapper 
- extends java.lang.Object
A very basic wrapper storing a reference to a custom user object with a
 label.
- Author:
- rvalyi
 
| Method Summary | 
|  java.lang.String | getLabel()
 | 
|  javax.swing.tree.DefaultMutableTreeNode | getValue()
 | 
|  void | setLabel(java.lang.String stringValue)
 | 
|  void | setValue(javax.swing.tree.DefaultMutableTreeNode value)
 | 
|  java.lang.String | toString()Used by JGraph to render the cell label
 | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
BusinessObjectWrapper
public BusinessObjectWrapper()
getLabel
public java.lang.String getLabel()
- 
 
setLabel
public void setLabel(java.lang.String stringValue)
- 
 
getValue
public javax.swing.tree.DefaultMutableTreeNode getValue()
- 
 
setValue
public void setValue(javax.swing.tree.DefaultMutableTreeNode value)
- 
 
toString
public java.lang.String toString()
- Used by JGraph to render the cell label
 
- 
- Overrides:
- toStringin class- java.lang.Object
 
-