RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.ui
Class ImageSizeHelper

java.lang.Object
  extended by org.richfaces.photoalbum.ui.ImageSizeHelper

@Named
@ApplicationScoped
public class ImageSizeHelper
extends Object

Convenience UI class for image resizing

Author:
Andrey Markhel

Constructor Summary
ImageSizeHelper()
           
 
Method Summary
 ImageDimension getCurrentDimension()
           
 int getValue()
           
 void setValue(int value)
          Convenience method invoked after user want to change image dimensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSizeHelper

public ImageSizeHelper()
Method Detail

getCurrentDimension

public ImageDimension getCurrentDimension()

getValue

public int getValue()

setValue

public void setValue(int value)
Convenience method invoked after user want to change image dimensions

Parameters:
value - - new image dimension value

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.