Package devices
Class AudioSpeaker
- java.lang.Object
-
- start.Product
-
- devices.AudioSpeaker
-
-
Constructor Summary
Constructors Constructor Description AudioSpeaker(Widget widget, SpeakerType speakerType)Constructor for a Speaker Object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetInfo()Additional product information when called by product.SpeakerTypegetSpeakerType()Retrieve the Speaker Type.java.lang.StringtoString()-
Methods inherited from class start.Product
getEmployee, getId, getItemType, getManufacturer, getName, getType, setEmployee, setItemType, setManufacturer, setName
-
-
-
-
Constructor Detail
-
AudioSpeaker
public AudioSpeaker(Widget widget, SpeakerType speakerType)
Constructor for a Speaker Object.- Parameters:
widget- Widget Information.speakerType- item type of device.
-
-
Method Detail
-
getSpeakerType
public SpeakerType getSpeakerType()
Retrieve the Speaker Type.- Returns:
- Speaker Type.
-
getInfo
public java.lang.String getInfo()
Additional product information when called by product.- Returns:
- Speaker Details.
-
-