Package org.deltava.beans.wx
Class WeatherTileLayer
java.lang.Object
org.deltava.beans.wx.WeatherTileLayer
- All Implemented Interfaces:
Serializable
,Comparable<WeatherTileLayer>
- Direct Known Subclasses:
WeatherFutureTileLayer
A bean to store weather tile overlay layer data.
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Luke
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an effective date to this layer.int
getDates()
Returns the layer effective dates.int
Returns the layer's maximum zoom level.getName()
Returns the layer name.int
Returns the layer's native zoom level.int
hashCode()
void
setZoom
(int nativeZoom, int maxZoom) Sets the native and maximum zoom levels for this layer.toString()
-
Constructor Details
-
WeatherTileLayer
-
-
Method Details
-
getName
-
getDates
Returns the layer effective dates.- Returns:
- a Collection of Instants
-
getNativeZoom
public int getNativeZoom()Returns the layer's native zoom level.- Returns:
- the native zoom level
-
getMaxZoom
public int getMaxZoom()Returns the layer's maximum zoom level.- Returns:
- the maximum zoom level
-
addDate
-
setZoom
public void setZoom(int nativeZoom, int maxZoom) Sets the native and maximum zoom levels for this layer.- Parameters:
nativeZoom
- the native zoom levelmaxZoom
- the maximum zoom level
-
toString
-
hashCode
-
compareTo
- Specified by:
compareTo
in interfaceComparable<WeatherTileLayer>
-