|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.gnome.morena.Manager
public abstract class Manager
A Class representing an interface to the image acquisition device manager.
Actual interface is selected according host operating system and appropriate native library is loaded during the startup.
WIAManager
for MS Windows system family ICAManager
for Mac OS X system family
List of actually connected devices can be obtained by calling
listDevices()
selectDevice(Component)
method is available for selection a device
from the list using the GUI dialog
Field Summary |
---|
Fields inherited from interface eu.gnome.morena.Version |
---|
BUILD_DATE, BUILD_TIME, TMP_DIR, VERSION, VERSION_BUILD, VERSION_MAJOR, VERSION_MINOR |
Method Summary | |
---|---|
void |
addDeviceListChangeListener(DeviceListChangeListener listener)
Adds a device list change listener |
boolean |
available()
Checks whether appropriate interface manager is available |
void |
close()
|
static void |
debug(java.lang.String msg)
|
static void |
error(java.lang.String msg)
|
static void |
error(java.lang.String msg,
java.lang.Throwable t)
|
static Manager |
getInstance()
|
static void |
info(java.lang.String msg)
|
abstract java.util.List<Device> |
listDevices()
Returns a list of available (actually connected) image acquisition devices. |
void |
removeDeviceListChangeListener(DeviceListChangeListener listener)
Removes a device list change listener |
Device |
selectDevice(java.awt.Component parent)
Returns selected device or null if no device is connected or the selection dialog has been canceled. |
static void |
trace(java.lang.String msg)
|
static void |
warning(java.lang.String msg)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Manager getInstance()
public static void info(java.lang.String msg)
public static void warning(java.lang.String msg)
public static void error(java.lang.String msg)
public static void error(java.lang.String msg, java.lang.Throwable t)
public static void debug(java.lang.String msg)
public static void trace(java.lang.String msg)
public Device selectDevice(java.awt.Component parent)
parent
- - Parent window component for displaying the dialog.
public abstract java.util.List<Device> listDevices()
public void close()
public void addDeviceListChangeListener(DeviceListChangeListener listener)
listener
- public void removeDeviceListChangeListener(DeviceListChangeListener listener)
listener
- public boolean available()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |