net.sf.fmj.filtergraph
Class Pin
java.lang.Object
net.sf.fmj.filtergraph.Pin
- Direct Known Subclasses:
- InputPin, OutputPin
public abstract class Pin
- extends java.lang.Object
A Pin is an input or output of a filter graph node.
- Author:
- Ken Larson
Constructor Summary |
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). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_INPUT
public static final int TYPE_INPUT
- See Also:
- Constant Field Values
TYPE_OUTPUT
public static final int TYPE_OUTPUT
- See Also:
- Constant Field Values
NO_TRACK
public static final int NO_TRACK
- See Also:
- Constant Field Values
Pin
protected Pin(int type,
Node owner)
- Constructor when there is only 1 pin of the given type (input, output).
Pin
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).
getType
public int getType()
getTrack
public int getTrack()
getPinNumber
public int getPinNumber()
setTrack
public void setTrack(int track)
getFormat
public Format getFormat()
setFormat
public void setFormat(Format format)
getBuffer
public Buffer getBuffer()
setBuffer
public void setBuffer(Buffer buffer)
getOwnerNode
public Node getOwnerNode()