peripherals
Class SevenSegmentDisplayArray

java.lang.Object
  extended by peripherals.Peripheral
      extended by peripherals.SevenSegmentDisplayArray

public class SevenSegmentDisplayArray
extends Peripheral

This class is created in order to keep the information of three “7-Segment Display”s. The class is inherited from the Peripheral class.

Since:
19.01.2007
Author:
maho

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

sticky

public boolean sticky
Constructor Detail

SevenSegmentDisplayArray

public SevenSegmentDisplayArray(PIC pic)
Constructor which initializes 3 SSD objects with default settings.

Since:
19.01.2007

SevenSegmentDisplayArray

public SevenSegmentDisplayArray(PIC pic,
                                boolean isEnabled)
Main constructor of SevenSegmentDisplayArray class.

Parameters:
isEnabled - status of SSDA
Since:
19.01.2007
Method Detail

update

public void update()
Description copied from class: Peripheral
This abstract method communicates with the virtual card and makes necessary changes on it.

Specified by:
update in class Peripheral

getSsdPanel

public SevenSegmentPanel getSsdPanel()
This method returns the visual represantation of the SSD array.