Modifier and Type | Class and Description |
---|---|
static class |
SwitchNode.SwitchKind |
Node.NodeType
Constructor and Description |
---|
SwitchNode(String id,
String name,
String componentType,
boolean fictitious,
Graph graph,
SwitchNode.SwitchKind kind,
boolean open) |
Modifier and Type | Method and Description |
---|---|
static SwitchNode |
createFictitious(Graph graph,
String id,
boolean open) |
SwitchNode.SwitchKind |
getKind() |
Node |
getOtherAdjNode(Node adj) |
protected void |
writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) |
addAdjacentEdge, checkNodeSimilarity, finalizeCoord, getAdjacentEdges, getAdjacentNodes, getCell, getComponentType, getGraph, getId, getInitY, getLabel, getListNodeAdjInCell, getName, getRotationAngle, getType, getX, getY, isFictitious, isOpen, isRotated, setCell, setComponentType, setInitY, setLabel, setOpen, setRotationAngle, setType, setX, setX, setX, setY, setY, setY, similarToAFeederNode, toString, writeJson
public SwitchNode(String id, String name, String componentType, boolean fictitious, Graph graph, SwitchNode.SwitchKind kind, boolean open)
public static SwitchNode createFictitious(Graph graph, String id, boolean open)
public SwitchNode.SwitchKind getKind()
protected void writeJsonContent(com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
writeJsonContent
in class Node
IOException
Copyright © 2019. All rights reserved.