com.gentics.contentnode.rest.model.request
Class ImageResizeRequest

java.lang.Object
  extended by com.gentics.contentnode.rest.model.request.ImageResizeRequest

public class ImageResizeRequest
extends Object

Author:
johannes2

Constructor Summary
ImageResizeRequest()
           
 
Method Summary
 int getCropHeight()
           
 int getCropStartX()
           
 int getCropStartY()
           
 int getCropWidth()
           
 int getHeight()
           
 Image getImage()
           
 String getMode()
          Returns the mode (eg.
 String getResizeMode()
          Returns the resizemode (eg.
 String getTargetFormat()
           
 int getWidth()
           
 void setCropHeight(int cropHeight)
           
 void setCropStartX(int cropStartX)
           
 void setCropStartY(int cropStartY)
           
 void setCropWidth(int cropWidth)
           
 void setHeight(int height)
           
 void setImage(Image image)
           
 void setMode(String mode)
          Sets the mode (eg.
 void setResizeMode(String resizeMode)
          Sets the resizemode (eg.
 void setTargetFormat(String targetFormat)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageResizeRequest

public ImageResizeRequest()
Method Detail

getTargetFormat

public String getTargetFormat()

setTargetFormat

public void setTargetFormat(String targetFormat)

getImage

public Image getImage()

setImage

public void setImage(Image image)

getCropHeight

public int getCropHeight()

setCropHeight

public void setCropHeight(int cropHeight)

getCropWidth

public int getCropWidth()

setCropWidth

public void setCropWidth(int cropWidth)

getCropStartX

public int getCropStartX()

setCropStartX

public void setCropStartX(int cropStartX)

getCropStartY

public int getCropStartY()

setCropStartY

public void setCropStartY(int cropStartY)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getMode

public String getMode()
Returns the mode (eg. cropandresize)

Returns:

setMode

public void setMode(String mode)
Sets the mode (eg. cropandresize)

Parameters:
mode -

getResizeMode

public String getResizeMode()
Returns the resizemode (eg. force)

Returns:

setResizeMode

public void setResizeMode(String resizeMode)
Sets the resizemode (eg. force)

Parameters:
resizeMode -


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.