uci.gef.demo
Class EdgeData
java.lang.Object
|
+--uci.gef.NetPrimitive
|
+--uci.gef.NetEdge
|
+--uci.gef.demo.EdgeData
- public class EdgeData
- extends NetEdge
- implements Serializable
A sample NetEdge subclass for use in the Example application. There
are no real details here yet. If I was to expand this example more
the Edge could have more attributes, e.g. bandwidth... and it
could have its own subclasses of FigEdge to make it look a
certain way.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
pCABLE_TYPE
public static final String pCABLE_TYPE
pBITS_PER_SECOND
public static final String pBITS_PER_SECOND
CABLE_SCSI
public static final String CABLE_SCSI
CABLE_ETHERNET
public static final String CABLE_ETHERNET
CABLE_FIREWIRE
public static final String CABLE_FIREWIRE
CABLE_FDDI
public static final String CABLE_FDDI
_bitsPerSecond
protected int _bitsPerSecond
- Speed of this data line
_cableType
protected String _cableType
- Type of cable, choosen from the constants above: SCSI, FireWire,
etc.
_PossibleCableTypes
public static Vector _PossibleCableTypes
EdgeData
public EdgeData()
getCableType
public String getCableType()
setCableType
public void setCableType(String ct)
getBitsPerSecond
public int getBitsPerSecond()
setBitsPerSecond
public void setBitsPerSecond(int bps)
makePresentation
public FigEdge makePresentation(Layer lay)
- Overrides:
- makePresentation in class NetEdge