|
1.0: Final Release | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WhiteBalanceControl
is an image/video effect
for altering the white balance.
sunlight
(normal daylight)
cloudy
(overcast daylight)
shade
tungsten
(Tungsten filament lighting. Tungsten filament is commonly used in light bulbs.)
fluorescent
(Fluorescent tube lighting.)
flash
(White balance mode optimal for the integrated flash of the device.)
Field Summary | |
static int |
AUTO
Automatic setting. |
static int |
NEXT
Moves the setting to the next supported level. |
static int |
PREVIOUS
Moves the setting to the previous supported level. |
static int |
UNKNOWN
Unknown value. |
Fields inherited from interface javax.microedition.amms.control.EffectControl |
SCOPE_LIVE_AND_RECORD, SCOPE_LIVE_ONLY, SCOPE_RECORD_ONLY |
Method Summary | |
int |
getColorTemp()
Gets the color temperature. |
int |
getMaxColorTemp()
Gets the maximum supported color temperature. |
int |
getMinColorTemp()
Gets the minimum supported color temperature. |
int |
getNumberOfSteps()
Tells how many steps the white balance has. |
int |
setColorTemp(int temp)
Sets the color temperature. |
Methods inherited from interface javax.microedition.amms.control.EffectControl |
getPreset, getPresetNames, getScope, isEnabled, isEnforced, setEnabled, setEnforced, setPreset, setScope |
Field Detail |
public static final int AUTO
public static final int NEXT
public static final int PREVIOUS
public static final int UNKNOWN
Method Detail |
public int setColorTemp(int temp)
temp
- the new color temperature in Kelvins or NEXT
for
the next larger (hotter) supported value or
PREVIOUS
for previous smaller (colder) supported value or AUTO to use automatic whitebalance adjustment
java.lang.IllegalArgumentException
- if the given value is not
[getMinColorTemp()
, getMaxColorTemp()
], PREVIOUS
, NEXT
, or AUTO
getColorTemp()
public int getColorTemp()
UNKNOWN
or AUTO
setColorTemp(int)
public int getMinColorTemp()
public int getMaxColorTemp()
public int getNumberOfSteps()
AUTO
is not counted
as a step.
|
1.0: Final Release | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |