Constructor and Description |
---|
ImageCompressionEventArgs(java.lang.String viewName,
Image image,
int compressionQuality)
Creates and initializes an
ImageCompressionEventArgs instance. |
Modifier and Type | Method and Description |
---|---|
int |
getCompressionQuality()
Returns the compression quality of the image.
|
Image |
getImage()
Returns the image to be encoded.
|
java.lang.String |
getViewName()
Returns the name of the view whose image will be encoded.
|
void |
setCompressioQuality(int value)
Sets the compression quality.
|
void |
setHandled(boolean handled)
Sets the boolean value that determines if the event has been handled
by some event handler.
|
boolean |
wasHandled()
Returns a Boolean value that indicates whether
the image compression event has been handled by some
event handler.
|
public ImageCompressionEventArgs(java.lang.String viewName, Image image, int compressionQuality)
ImageCompressionEventArgs
instance.viewName
- The name of the view whose image will be encoded.image
- The image to be encoded.compressionQuality
- The compression quality.public java.lang.String getViewName()
public Image getImage()
public int getCompressionQuality()
public void setCompressioQuality(int value)
public boolean wasHandled()
public void setHandled(boolean handled)
© 2010 - 2018 Calgary Scientific Inc. All Rights Reserved.
This documentation shall not wholly or in part, in any form or by any means, electronic, mechanical, including photocopying, be reproduced or transmitted without the authorized, written consent of Calgary Scientific.