public class TilingModel extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TilingModel.TilingModelEvent |
Constructor and Description |
---|
TilingModel(TilingInfo ti,
int viewAreaWidth,
int viewAreaHeight,
double defaultZoom) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(TilingModelListener listener) |
void |
centerOn(int x,
int y) |
void |
centerOn(int x,
int y,
boolean fireEvent) |
String |
getBaseUrl() |
double |
getCurrentZoom() |
int |
getHeightInTiles() |
long |
getLastModificationDate() |
int |
getTileHeight() |
int |
getTileWidth() |
int |
getTotalHeight() |
int |
getTotalWidth() |
int |
getViewAreaHeight() |
int |
getViewAreaLeft() |
int |
getViewAreaTop() |
int |
getViewAreaWidth() |
int |
getWidthInTiles() |
void |
move(int x,
int y) |
void |
move(int x,
int y,
boolean fireEvent) |
void |
notifyListeners() |
void |
removeListener(TilingModelListener listener) |
void |
resetView() |
void |
setLocation(int left,
int top) |
void |
setLocation(int left,
int top,
boolean fireEvent) |
void |
zoomIn() |
void |
zoomOut() |
public TilingModel(TilingInfo ti, int viewAreaWidth, int viewAreaHeight, double defaultZoom)
public void notifyListeners()
public void move(int x, int y, boolean fireEvent)
public void move(int x, int y)
public void resetView()
public void setLocation(int left, int top, boolean fireEvent)
public void setLocation(int left, int top)
public void centerOn(int x, int y, boolean fireEvent)
public void centerOn(int x, int y)
public void zoomIn()
public void zoomOut()
public void addListener(TilingModelListener listener)
public void removeListener(TilingModelListener listener)
public int getTotalWidth()
public int getTotalHeight()
public int getViewAreaTop()
public int getViewAreaLeft()
public int getViewAreaWidth()
public int getViewAreaHeight()
public int getTileWidth()
public int getTileHeight()
public int getWidthInTiles()
public int getHeightInTiles()
public String getBaseUrl()
public double getCurrentZoom()
public long getLastModificationDate()
Copyright © 2011 Nuxeo SA. All Rights Reserved.