net.clackrouter.jgraph.pad
Class GPUserObject

java.lang.Object
  extended by net.clackrouter.jgraph.pad.GPUserObject
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class GPUserObject
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Field Summary
protected  javax.swing.table.DefaultTableModel dataModel
           
static java.lang.String keyURI
           
static java.lang.String keyValue
           
protected  java.util.Map properties
           
protected  javax.swing.JDialog propertyDlg
           
protected  javax.swing.JTable table
           
 
Constructor Summary
GPUserObject()
           
GPUserObject(java.util.Map properties)
           
GPUserObject(java.lang.String label)
           
GPUserObject(java.lang.String label, java.util.Map properties)
           
 
Method Summary
protected  void apply(RouterGraph graph, java.lang.Object cell, javax.swing.table.TableModel model)
           
 java.lang.Object clone()
           
 java.util.Map getProperties()
           
 java.lang.Object getProperty(java.lang.Object key)
           
 java.lang.Object putProperty(java.lang.Object key, java.lang.Object value)
           
 void setProperties(java.util.Map map)
           
 void setValue(java.lang.Object label)
           
protected  void showPropertyDialog(RouterGraph graph, java.lang.Object cell)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

keyValue

public static java.lang.String keyValue

keyURI

public static java.lang.String keyURI

properties

protected java.util.Map properties

propertyDlg

protected transient javax.swing.JDialog propertyDlg

table

protected transient javax.swing.JTable table

dataModel

protected transient javax.swing.table.DefaultTableModel dataModel
Constructor Detail

GPUserObject

public GPUserObject()

GPUserObject

public GPUserObject(java.lang.String label,
                    java.util.Map properties)

GPUserObject

public GPUserObject(java.lang.String label)

GPUserObject

public GPUserObject(java.util.Map properties)
Method Detail

setValue

public void setValue(java.lang.Object label)

getProperty

public java.lang.Object getProperty(java.lang.Object key)

putProperty

public java.lang.Object putProperty(java.lang.Object key,
                                    java.lang.Object value)

getProperties

public java.util.Map getProperties()

setProperties

public void setProperties(java.util.Map map)
Parameters:
map -

showPropertyDialog

protected void showPropertyDialog(RouterGraph graph,
                                  java.lang.Object cell)

apply

protected void apply(RouterGraph graph,
                     java.lang.Object cell,
                     javax.swing.table.TableModel model)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object