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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
An enumeration to store cloud thickness.static enum
An enumeration to store cloud types. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(CloudLayer cl2) int
Returns the height of the cloud layer.Returns the cloud layer thickness.getType()
Returns the cloud type.void
Sets the cloud layer thickness.void
Sets the cloud type.toString()
-
Constructor Details
-
CloudLayer
public CloudLayer(int height) Initializes the bean.- Parameters:
height
- the height of the cloud layer, in feet MSL
-
-
Method Details
-
getHeight
public int getHeight()Returns the height of the cloud layer.- Returns:
- the height in feet MSL
-
getType
-
getThickness
-
setType
-
setThickness
Sets the cloud layer thickness.- Parameters:
amt
- the thickness
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CloudLayer>
-
toString
-