public class WPBorderTileProvider
extends java.lang.Object
implements org.pepsoft.util.swing.TileProvider
TiledImageViewers. Provides tiles based on a WorldPainter Dimension
 and paints exclusively the border tiles for it, if any.| Modifier and Type | Class and Description | 
|---|---|
| static class  | WPBorderTileProvider.Effect | 
| Constructor and Description | 
|---|
| WPBorderTileProvider(Dimension dimension,
                    ColourScheme colourScheme) | 
| WPBorderTileProvider(Dimension dimension,
                    ColourScheme colourScheme,
                    WPBorderTileProvider.Effect effect) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addTileListener(org.pepsoft.util.swing.TileListener tileListener) | 
| java.awt.Rectangle | getExtent() | 
| int | getTilePriority(int x,
               int y) | 
| int | getTileSize() | 
| int | getZoom() | 
| boolean | isTilePresent(int x,
             int y) | 
| boolean | isZoomSupported() | 
| boolean | paintTile(java.awt.Image tileImage,
         int x,
         int y,
         int imageX,
         int imageY) | 
| void | removeTileListener(org.pepsoft.util.swing.TileListener tileListener) | 
| void | setZoom(int zoom) | 
public WPBorderTileProvider(Dimension dimension, ColourScheme colourScheme, WPBorderTileProvider.Effect effect)
public WPBorderTileProvider(Dimension dimension, ColourScheme colourScheme)
public int getTileSize()
getTileSize in interface org.pepsoft.util.swing.TileProviderpublic boolean isTilePresent(int x,
                             int y)
isTilePresent in interface org.pepsoft.util.swing.TileProviderpublic boolean paintTile(java.awt.Image tileImage,
                         int x,
                         int y,
                         int imageX,
                         int imageY)
paintTile in interface org.pepsoft.util.swing.TileProviderpublic int getTilePriority(int x,
                           int y)
getTilePriority in interface org.pepsoft.util.swing.TileProviderpublic java.awt.Rectangle getExtent()
getExtent in interface org.pepsoft.util.swing.TileProviderpublic void addTileListener(org.pepsoft.util.swing.TileListener tileListener)
addTileListener in interface org.pepsoft.util.swing.TileProviderpublic void removeTileListener(org.pepsoft.util.swing.TileListener tileListener)
removeTileListener in interface org.pepsoft.util.swing.TileProviderpublic boolean isZoomSupported()
isZoomSupported in interface org.pepsoft.util.swing.TileProviderpublic int getZoom()
getZoom in interface org.pepsoft.util.swing.TileProviderpublic void setZoom(int zoom)
setZoom in interface org.pepsoft.util.swing.TileProvider