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
|
Constructor Summary |
NetPrimitive()
Construct a new net-level object, currently does nothing |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
_changeSup
protected PropertyChangeSupport _changeSup
_highlight
protected boolean _highlight
NetPrimitive
public NetPrimitive()
- Construct a new net-level object, currently does nothing
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)