com.jgraph.example.panelexample
Class BusinessObjectWrapper2
java.lang.Object
com.jgraph.example.panelexample.BusinessObjectWrapper2
public class BusinessObjectWrapper2
- 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()
|
org.jgraph.graph.CellView[] |
getPortviews()
|
javax.swing.tree.DefaultMutableTreeNode |
getValue()
|
void |
setLabel(java.lang.String stringValue)
|
void |
setPortviews(org.jgraph.graph.CellView[] portviews)
|
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 |
BusinessObjectWrapper2
public BusinessObjectWrapper2()
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:
toString
in class java.lang.Object
getPortviews
public org.jgraph.graph.CellView[] getPortviews()
setPortviews
public void setPortviews(org.jgraph.graph.CellView[] portviews)