uci.gef
Class NetPrimitive

java.lang.Object
  |
  +--uci.gef.NetPrimitive
Direct Known Subclasses:
NetEdge, NetList, NetNode, NetPort

public class NetPrimitive
extends Object
implements Serializable

Abstract superclass for all Net-level objects. I currently anticipate exactly 4 subclasses: NetNode, NetPort, NetEdge, and NetList.

The classes that subclass from this class are all used by DefaulGraphModel. You can also define your own GraphModel with your own application-specific objects for nodes, ports, and edges.

This class may be removed from future versions of GEF.

See Also:
DefaultgraphModel, Serialized Form

Field Summary
protected  PropertyChangeSupport _changeSup
           
protected  boolean _highlight
           
 
Constructor Summary
NetPrimitive()
          Construct a new net-level object, currently does nothing
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
 void firePropertyChange(String pName, boolean oldV, boolean newV)
           
 void firePropertyChange(String pName, int oldV, int newV)
           
 void firePropertyChange(String pName, Object oldV, Object newV)
           
 boolean getHighlight()
          Draw the user's attention to any and all visualizations of this net-level object.
 void removePropertyChangeListener(PropertyChangeListener l)
           
 void setHighlight(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_changeSup

protected PropertyChangeSupport _changeSup

_highlight

protected boolean _highlight
Constructor Detail

NetPrimitive

public NetPrimitive()
Construct a new net-level object, currently does nothing
Method Detail

getHighlight

public boolean getHighlight()
Draw the user's attention to any and all visualizations of this net-level object.

setHighlight

public void setHighlight(boolean b)

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)

firePropertyChange

public void firePropertyChange(String pName,
                               Object oldV,
                               Object newV)

firePropertyChange

public void firePropertyChange(String pName,
                               boolean oldV,
                               boolean newV)

firePropertyChange

public void firePropertyChange(String pName,
                               int oldV,
                               int newV)