|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.havi.ui.HImageHints
public class HImageHints
The HImageHints object allows an
application to pass hints to the system how best to tailor an image
to match a (possibly) restricted HGraphicsConfiguration.
| Parameter | Description | Default value | Set method | Get method |
|---|---|---|---|---|
| Description | Default value | Set method | Get method |
|---|---|---|---|
| The image type. | NATURAL_IMAGE |
--- | --- |
| Field Summary | |
|---|---|
static int |
BUSINESS_GRAPHICS
The image is business graphics, with strong, well-defined, blocks of solid color, etc. |
static int |
CARTOON
The image is a cartoon, with strong, well-defined, blocks of solid color, etc. |
static int |
LINE_ART
The image is a two-tone lineart, with colors varying between foreground and background, etc. |
static int |
NATURAL_IMAGE
The image is a "natural" scene, with subtle gradations of color, etc. |
| Constructor Summary | |
|---|---|
HImageHints()
Creates an HImageHints object. |
|
| Method Summary | |
|---|---|
int |
getType()
Get the expected type of the image being loaded. |
void |
setType(int type)
Set the expected type of the image being loaded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int NATURAL_IMAGE
public static final int CARTOON
public static final int BUSINESS_GRAPHICS
public static final int LINE_ART
| Constructor Detail |
|---|
public HImageHints()
| Method Detail |
|---|
public void setType(int type)
type - the expected type of imagepublic int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||