Class TileRow


  • public class TileRow
    extends UserRow<TileColumn,​TileTable>
    Tile Row containing the values from a single result set row
    Author:
    osbornb
    • Constructor Detail

      • TileRow

        public TileRow​(TileRow tileRow)
        Copy Constructor
        Parameters:
        tileRow - tile row to copy
        Since:
        1.3.0
    • Method Detail

      • getZoomLevelColumnIndex

        public int getZoomLevelColumnIndex()
        Get the zoom level column index
        Returns:
        zoom level column index
      • getZoomLevelColumn

        public TileColumn getZoomLevelColumn()
        Get the zoom level column
        Returns:
        zoom level column
      • getZoomLevel

        public long getZoomLevel()
        Get the zoom level
        Returns:
        zoom level
      • setZoomLevel

        public void setZoomLevel​(long zoomLevel)
        Set the zoom level
        Parameters:
        zoomLevel - zoom level
      • getTileColumnColumnIndex

        public int getTileColumnColumnIndex()
        Get the tile column column index
        Returns:
        tile column index
      • getTileColumnColumn

        public TileColumn getTileColumnColumn()
        Get the tile column column
        Returns:
        tile column
      • getTileColumn

        public long getTileColumn()
        Get the tile column
        Returns:
        tile column
      • setTileColumn

        public void setTileColumn​(long tileColumn)
        Set the tile column
        Parameters:
        tileColumn - tile column
      • getTileRowColumnIndex

        public int getTileRowColumnIndex()
        Get the tile row column index
        Returns:
        tile row column index
      • getTileRowColumn

        public TileColumn getTileRowColumn()
        Get the tile row column
        Returns:
        tile row column
      • getTileRow

        public long getTileRow()
        Get the tile row
        Returns:
        tile row
      • setTileRow

        public void setTileRow​(long tileRow)
        Set the tile row
        Parameters:
        tileRow - tile row
      • getTileDataColumnIndex

        public int getTileDataColumnIndex()
        Get the tile data column index
        Returns:
        tile data column index
      • getTileDataColumn

        public TileColumn getTileDataColumn()
        Get the tile data column
        Returns:
        tile data column
      • getTileData

        public byte[] getTileData()
        Get the tile data
        Returns:
        bytes
      • setTileData

        public void setTileData​(byte[] tileData)
        Set the tile data
        Parameters:
        tileData - tile data
      • setTileData

        public void setTileData​(BufferedImage image,
                                String imageFormat)
                         throws IOException
        Set the tile data from an image
        Parameters:
        image - image
        imageFormat - image format
        Throws:
        IOException - upon failure
      • copy

        public TileRow copy()
        Copy the row
        Returns:
        row copy
        Since:
        3.0.1