Modifier and Type | Field and Description |
---|---|
static int |
NO_TRACK |
static int |
TYPE_INPUT |
static int |
TYPE_OUTPUT |
Modifier | Constructor and Description |
---|---|
protected |
Pin(int type,
Node owner)
Constructor when there is only 1 pin of the given type (input, output).
|
protected |
Pin(int type,
Node owner,
int pinNumber,
int track)
Constructor for pin with track index (used for demux output pins and mux input pins).
|
public static final int TYPE_INPUT
public static final int TYPE_OUTPUT
public static final int NO_TRACK
protected Pin(int type, Node owner)
protected Pin(int type, Node owner, int pinNumber, int track)
public int getType()
public int getTrack()
public int getPinNumber()
public void setTrack(int track)
public Format getFormat()
public void setFormat(Format format)
public Buffer getBuffer()
public void setBuffer(Buffer buffer)
public Node getOwnerNode()