ElegantJ Data Tables Java API Specification v1.1

com.elegantj.editors
Class ImageStretch

java.lang.Object
  extended bycom.elegantj.editors.ImageStretch

public class ImageStretch
extends java.lang.Object

This class stores the constants which are used in stretching of the image.


Field Summary
static int AUTOFIT
          Stretch the image both vertically and horizontally such that the complete image is displayed.
static int BOTH
          Stretch the image both vertically and horizontally.
static int DEFAULT
          Default stretching.
static int HORZ
          Stretch the image horizontally.
static int NONE
          No stretching.
static int VERT
          Stretch the image vertically.
 
Constructor Summary
ImageStretch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
No stretching. Displays the image as it is. If the image is big then it may not be seen completely.

See Also:
Constant Field Values

HORZ

public static final int HORZ
Stretch the image horizontally. The vertical stretching is such that the aspect ratio of the image remains the same.

See Also:
Constant Field Values

VERT

public static final int VERT
Stretch the image vertically. The horizontal stretching is such that the aspect ratio of the image remains the same.

See Also:
Constant Field Values

BOTH

public static final int BOTH
Stretch the image both vertically and horizontally. The aspect ratio of the image can be affected.

See Also:
Constant Field Values

AUTOFIT

public static final int AUTOFIT
Stretch the image both vertically and horizontally such that the complete image is displayed. The aspect ratio of the image can be affected.

See Also:
Constant Field Values

DEFAULT

public static final int DEFAULT
Default stretching. It is set to AUTOFIT.

See Also:
NONE, Constant Field Values
Constructor Detail

ImageStretch

public ImageStretch()

ElegantJ Data Tables Java API Specification v1.1

Submit a bug or feature

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.