Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.pictures.tiles.gwt.client.model
Class TilingInfo

java.lang.Object
  extended by org.nuxeo.ecm.platform.pictures.tiles.gwt.client.model.TilingInfo

public class TilingInfo
extends java.lang.Object

Author:
Thomas Roger

Constructor Summary
TilingInfo(java.lang.String repoId, java.lang.String docId, java.lang.String contextPath)
           
TilingInfo(java.lang.String repoId, java.lang.String docId, java.lang.String contextPath, int tileWidth, int tileHeight, int maxTiles)
           
TilingInfo(TilingInfo source)
           
 
Method Summary
 java.lang.String getBaseUrl()
           
 java.lang.String getDocId()
           
 long getLastModificationDate()
           
 int getMaxTiles()
           
 int getNbXTiles()
           
 int getNbYTiles()
           
 int getOriginalImageHeight()
           
 int getOriginalImageWidth()
           
 java.lang.String getRepoId()
           
 int getTileHeight()
           
 int getTileWidth()
           
 double getZoom()
           
 boolean isInitialized()
           
 void parseResponse(java.lang.String response)
           
 void setMaxTiles(int maxTiles)
          Set the maxTiles.
 void setTileHeight(int tileHeight)
           
 void setTileWidth(int tileWidth)
           
 void updateTilingInfo()
           
 void updateTilingInfo(TilingInfoCallback callback)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TilingInfo

public TilingInfo(java.lang.String repoId,
                  java.lang.String docId,
                  java.lang.String contextPath)

TilingInfo

public TilingInfo(java.lang.String repoId,
                  java.lang.String docId,
                  java.lang.String contextPath,
                  int tileWidth,
                  int tileHeight,
                  int maxTiles)

TilingInfo

public TilingInfo(TilingInfo source)
Method Detail

getRepoId

public java.lang.String getRepoId()
Returns:
the repoId.

getDocId

public java.lang.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(java.lang.String response)

getBaseUrl

public java.lang.String getBaseUrl()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.