Class DigitalAnalyser
java.lang.Object
|
+--DigitalComponent_std
|
+--DigitalAnalyser
- public class DigitalAnalyser
- extends DigitalComponent_std
- implements DigitalComponent
You can read the source of this class here.
Method Summary |
boolean |
connectPin(int LocalPin,
DigitalComponent c,
int RemotePin,
boolean InitialState)
Connects pin LocalPin of the component to pin RemotePin of an other component. |
java.lang.String |
getState()
Returns the state of the component. |
void |
setPinStateDontNotify(int p,
boolean state)
Sets pin p of the component to the requested state without notifying the caller,
this is used by the notifying routine of the Pin, so you should add here the code handling
the response of the DigitalComponent to a change on its pins. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DigitalAnalyser
public DigitalAnalyser(int n)
DigitalAnalyser
public DigitalAnalyser(int n,
DigitalComponentUI dui)
connectPin
public boolean connectPin(int LocalPin,
DigitalComponent c,
int RemotePin,
boolean InitialState)
- Description copied from interface: DigitalComponent
- Connects pin LocalPin of the component to pin RemotePin of an other component.
- Specified by:
- connectPin in interface DigitalComponent
- Overrides:
- connectPin in class DigitalComponent_std
- Tags copied from interface: DigitalComponent
- Returns:
- false if the requested pin is already connected on one of the components.
setPinStateDontNotify
public void setPinStateDontNotify(int p,
boolean state)
- Description copied from interface: DigitalComponent
- Sets pin p of the component to the requested state without notifying the caller,
this is used by the notifying routine of the Pin, so you should add here the code handling
the response of the DigitalComponent to a change on its pins.
- Specified by:
- setPinStateDontNotify in interface DigitalComponent
- Overrides:
- setPinStateDontNotify in class DigitalComponent_std
getState
public java.lang.String getState()
- Description copied from interface: DigitalComponent
- Returns the state of the component.
- Specified by:
- getState in interface DigitalComponent
- Overrides:
- getState in class DigitalComponent_std