org.primefaces.model
Class CroppedImage

java.lang.Object
  extended by org.primefaces.model.CroppedImage
All Implemented Interfaces:
Serializable

public class CroppedImage
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CroppedImage()
           
CroppedImage(String originalFilename, byte[] bytes, int left, int top, int width, int height)
           
 
Method Summary
 byte[] getBytes()
           
 int getHeight()
           
 int getLeft()
           
 String getOriginalFilename()
           
 int getTop()
           
 int getWidth()
           
 void setBytes(byte[] bytes)
           
 void setHeight(int height)
           
 void setLeft(int left)
           
 void setOriginalFilename(String originalFilename)
           
 void setTop(int top)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CroppedImage

public CroppedImage()

CroppedImage

public CroppedImage(String originalFilename,
                    byte[] bytes,
                    int left,
                    int top,
                    int width,
                    int height)
Method Detail

getLeft

public int getLeft()

setLeft

public void setLeft(int left)

getTop

public int getTop()

setTop

public void setTop(int top)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getOriginalFilename

public String getOriginalFilename()

setOriginalFilename

public void setOriginalFilename(String originalFilename)

getBytes

public byte[] getBytes()

setBytes

public void setBytes(byte[] bytes)


Copyright © 2013. All rights reserved.