|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bruxton.sidx.Shutter
public class Shutter
Responsible for managing the shutter of the camera.
Each instance of Camera can own one instance of the class. The user of SIDX
should not create the object. It should be obtained by using getShutter function
of Camera object.
| Method Summary | |
|---|---|
int |
getMode()
Obtain the current shutter mode setting. |
boolean |
isModeAvailable(int mode)
Inquire if a shutter mode is supported by the camera. |
void |
setMode(int mode)
Set the shutter mode. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setMode(int mode)
throws Exception
isModeAvailable to find if a mode is supported.
| mode | Description |
|---|---|
| 0 | Normal mode. The shutter opens before each exposure. |
| 1 | The shutter opens before each sequence. |
| 2 | The shutter opens before each trigger if using a triggered mode. |
| 3 | The shutter opens and stays open. |
| 4 | The shutter closes and stays closed. |
mode - the shutter mode to use.
Exception
public boolean isModeAvailable(int mode)
throws Exception
mode - the shutter mode that you wish to use. It should be one of the shutter
modes defined for setMode.
Exception
public int getMode()
throws Exception
setMode for
the possible shutter modes to return.
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||