org.nuxeo.ecm.platform.pictures.tiles.gwt.client.model
Class TilingInfo
java.lang.Object
org.nuxeo.ecm.platform.pictures.tiles.gwt.client.model.TilingInfo
public class TilingInfo
- extends Object
- Author:
- Thomas Roger
TilingInfo
public TilingInfo(String repoId,
String docId,
String contextPath)
TilingInfo
public TilingInfo(String repoId,
String docId,
String contextPath,
int tileWidth,
int tileHeight,
int maxTiles)
TilingInfo
public TilingInfo(TilingInfo source)
getRepoId
public String getRepoId()
- Returns:
- the repoId.
getDocId
public String getDocId()
- Returns:
- the docId.
isInitialized
public boolean isInitialized()
- Returns:
- the initialized.
getOriginalImageWidth
public int getOriginalImageWidth()
- Returns:
- the originalImageWidth.
getOriginalImageHeight
public int getOriginalImageHeight()
- Returns:
- the originalImageHeight.
getZoom
public double getZoom()
- Returns:
- the zoom.
getTileWidth
public int getTileWidth()
- Returns:
- the tileWidth.
getTileHeight
public int getTileHeight()
- Returns:
- the tileHeight.
setTileWidth
public void setTileWidth(int tileWidth)
setTileHeight
public void setTileHeight(int tileHeight)
getNbXTiles
public int getNbXTiles()
- Returns:
- the nbXTiles.
getNbYTiles
public int getNbYTiles()
- Returns:
- the nbYTiles.
getMaxTiles
public int getMaxTiles()
- Returns:
- the maxTiles.
setMaxTiles
public void setMaxTiles(int maxTiles)
- Set the maxTiles.
getLastModificationDate
public long getLastModificationDate()
updateTilingInfo
public void updateTilingInfo()
updateTilingInfo
public void updateTilingInfo(TilingInfoCallback callback)
parseResponse
public void parseResponse(String response)
getBaseUrl
public String getBaseUrl()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.