|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.nau.cs.scu.Antenna
public class Antenna
This class represents one of the antenna on the device. All this class does is keep track of whether or not the antenna is selected and allow for the selection or deselection of the antenna. Quite frankly, you could achieve the same effect with a simple boolean but this solution is more organized and would allow for easy expansion of the antenna simulation if this is ever desired at a later date.
Constructor Summary | |
---|---|
Antenna()
initialize the antenna as unselected |
Method Summary | |
---|---|
void |
deselect()
Deselect this antenna |
void |
select()
Select this antenna |
boolean |
status()
Return the selected Status of the antenna. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Antenna()
Method Detail |
---|
public void select()
public void deselect()
public boolean status()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |