|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.architecture.traffic.infrastructure.Node
org.jscience.architecture.traffic.infrastructure.Junction
org.jscience.architecture.traffic.infrastructure.NonTLJunction
public class NonTLJunction
Junction without trafficlights, so normal traffic rules are applied
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jscience.architecture.traffic.infrastructure.Node |
|---|
Node.NodeStatistics |
| Field Summary | |
|---|---|
protected NoSign[] |
signs
A Vector containing all Signs on this node |
protected static int |
type
The type of this node |
| Fields inherited from class org.jscience.architecture.traffic.infrastructure.Junction |
|---|
allRoads, alphaRoads, loadData, signconfigs, width |
| Fields inherited from class org.jscience.architecture.traffic.infrastructure.Node |
|---|
C_DOWN, C_LEFT, C_RIGHT, C_UP, coord, D_AHEAD, D_BACK, D_LEFT, D_RIGHT, EDGE, inboundLanes, JUNCTION, NET_TUNNEL, nodeId, NON_TL, outboundLanes, parentName, spdata, STAT_NUM_DATA, statistics |
| Constructor Summary | |
|---|---|
NonTLJunction()
Creates an empty junction (for loading) |
|
NonTLJunction(java.awt.Point _coord)
Creates a new standard Junction |
|
| Method Summary | |
|---|---|
int |
getDesiredSignType()
DOCUMENT ME! |
java.lang.String |
getXMLName()
DOCUMENT ME! |
XMLElement |
saveSelf()
DOCUMENT ME! |
| Methods inherited from class org.jscience.architecture.traffic.infrastructure.Junction |
|---|
addRoad, addSignconfig, areOtherTailsFree, calcDelay, calculateWidth, getAllLanes, getAllLanesCW, getAllRoads, getAlphaRoads, getInboundLanes, getLanesLeadingFrom, getLanesLeadingFrom, getLanesLeadingTo, getName, getNumAllLanes, getNumAlphaRoads, getNumInboundLanes, getNumOutboundLanes, getNumRealSigns, getNumRoads, getNumSigns, getOutboundLanes, getRoadIdArray, getSign, getSignConfigIdArray, getSignConfigs, getSignIdArray, getSigns, getType, getWidth, isAlphaRoad, isConnected, isConnectedAt, isConnectionPosFree, load, loadSecondStage, paint, paint, paint, remAllRoads, remRoad, remRoad, remSignconfig, reset, saveChilds, setAllRoads, setAlphaRoad, setAlphaRoads, setSignConfigs, setSigns, setWidth |
| Methods inherited from class org.jscience.architecture.traffic.infrastructure.Node |
|---|
addShortestPath, areAllTailsFree, canCreateInstance, createInstance, getBounds, getCenterPoint, getChildren, getComplexBounds, getCoord, getDirection, getDistance, getId, getNumSkip, getSelectionPoint, getSelectionPoints, getShortestPathDestinations, getShortestPaths, getStatistics, getStatistics, hasChildren, initStats, isSelectable, processStats, remPaths, resetStats, setCoord, setId, setParentName, setShortestPath, updateLanes, zapShortestPaths |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int type
protected NoSign[] signs
| Constructor Detail |
|---|
public NonTLJunction()
public NonTLJunction(java.awt.Point _coord)
_coord - The coordinates of this node on the map in pixels.| Method Detail |
|---|
public int getDesiredSignType()
getDesiredSignType in class Junctionpublic java.lang.String getXMLName()
getXMLName in interface XMLSerializablegetXMLName in class Junction
public XMLElement saveSelf()
throws XMLCannotSaveException
saveSelf in interface XMLSerializablesaveSelf in class JunctionXMLCannotSaveException - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||