KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inzyme > jmds > DSInputCrossBarPin


1 package com.inzyme.jmds;
2
3 /**
4  * Provides an interface to an input pin on a crossbar.
5  *
6  * @author Mike Schrag
7  */

8 public class DSInputCrossBarPin extends DSAbstractCrossBarPin {
9     /**
10      * Constructs a new DSInputCrossBarPin.
11      *
12      * @param _crossBar the parent crossbar
13      * @param _pinIndex the index of this pin
14      * @param _pinIndexRelated the index of the related pin
15      * @param _physicalType the physical type of this pin
16      */

17     public DSInputCrossBarPin(DSCrossBar _crossBar, int _pinIndex, int _pinIndexRelated, int _physicalType) {
18         super(_crossBar, _pinIndex, _pinIndexRelated, _physicalType);
19     }
20
21     public String JavaDoc toString() {
22         return "[DSInputCrossBarPin: physicalType = " + getPhysicalTypeName() + " (" + getPhysicalType() + "); pinIndex = " + getPinIndex() + "; pinIndexRelated = " + getPinIndexRelated() + "]";
23     }
24 }
25
Popular Tags