|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.teamdev.jxcapture.CompressionQuality
public class CompressionQuality
A percentage of quality.
Field Summary | |
---|---|
static CompressionQuality |
BEST
Maximum 100% quality value. |
static CompressionQuality |
HIGH
High 80% quality value. |
static CompressionQuality |
LEAST
Least 20% quality value. |
static CompressionQuality |
LOW
Low 35% quality value. |
static CompressionQuality |
MEDIUM
Medium 50% quality value. |
Constructor Summary | |
---|---|
CompressionQuality(int percentage)
Creates a custom quality value by a specified percent units. |
Method Summary | |
---|---|
int |
getPercentage()
Returns a specified quality value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CompressionQuality LEAST
public static final CompressionQuality LOW
public static final CompressionQuality MEDIUM
public static final CompressionQuality HIGH
public static final CompressionQuality BEST
Constructor Detail |
---|
public CompressionQuality(int percentage)
percentage
- quality value
java.lang.IllegalArgumentException
- if a specified quality value is not in range [0-100]Method Detail |
---|
public int getPercentage()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |