Class CloudLayer
java.lang.Object
org.deltava.beans.wx.CloudLayer
- All Implemented Interfaces:
- Comparable<CloudLayer>
A bean to store cloud layer data.
- Since:
- 2.6
- Version:
- 8.0
- Author:
- Luke
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumAn enumeration to store cloud thickness.static enumAn enumeration to store cloud types.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(CloudLayer cl2) intReturns the height of the cloud layer.Returns the cloud layer thickness.getType()Returns the cloud type.voidSets the cloud layer thickness.voidSets the cloud type.toString()
- 
Constructor Details- 
CloudLayerpublic CloudLayer(int height) Initializes the bean.- Parameters:
- height- the height of the cloud layer, in feet MSL
 
 
- 
- 
Method Details- 
getHeightpublic int getHeight()Returns the height of the cloud layer.- Returns:
- the height in feet MSL
 
- 
getType
- 
getThickness
- 
setType
- 
setThicknessSets the cloud layer thickness.- Parameters:
- amt- the thickness
 
- 
compareTo- Specified by:
- compareToin interface- Comparable<CloudLayer>
 
- 
toString
 
-