|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectperipherals.Peripheral
peripherals.SevenSegmentDisplayArray
public class SevenSegmentDisplayArray
This class is created in order to keep the information of three “7-Segment Display”s. The class is inherited from the Peripheral class.
Field Summary | |
---|---|
boolean |
sticky
|
Fields inherited from class peripherals.Peripheral |
---|
id, isEnabled, KEY_PAD, LED_ARRAY, pic, POTENTIOMETER, SEVEN_SEGMENT_DISPLAY_ARRAY |
Constructor Summary | |
---|---|
SevenSegmentDisplayArray(PIC pic)
Constructor which initializes 3 SSD objects with default settings. |
|
SevenSegmentDisplayArray(PIC pic,
boolean isEnabled)
Main constructor of SevenSegmentDisplayArray class. |
Method Summary | |
---|---|
SevenSegmentPanel |
getSsdPanel()
This method returns the visual represantation of the SSD array. |
void |
update()
This abstract method communicates with the virtual card and makes necessary changes on it. |
Methods inherited from class peripherals.Peripheral |
---|
getId, getPic, isEnabled, setEnabled, setId, setPic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean sticky
Constructor Detail |
---|
public SevenSegmentDisplayArray(PIC pic)
public SevenSegmentDisplayArray(PIC pic, boolean isEnabled)
isEnabled
- status of SSDAMethod Detail |
---|
public void update()
Peripheral
update
in class Peripheral
public SevenSegmentPanel getSsdPanel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |