|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PluginMgr
public class PluginMgr
PluginMgr base class is used for managing user Plugin{n}'s for Flicker.
This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The Flicker Mozilla and Legal files are available on http://open2dprot.sourceforge.net/Flicker
Field Summary | |
---|---|
static Plugin1 |
ef1
|
static Plugin2 |
ef2
|
static Plugin3 |
ef3
|
static java.lang.String[] |
efInfo
opt. |
static boolean[] |
efIsActive
if external function is used |
static java.lang.String[] |
efMnuName
which external functions appears in menu |
static java.lang.String[] |
efName
name of external function command |
static int[] |
efNbr
external function number 1 to n |
static int |
extFctNbr
function number |
(package private) static Flicker |
flk
global instance |
java.lang.String |
info
optional help message for function |
static boolean |
isActive
set if this instance is active |
(package private) static int |
MAX_EXTERN_FCTS
max # of external functions alloc'ed |
java.lang.String |
mnuName
what appears in menu |
java.lang.String |
name
name of command |
static int |
nExtFcts
# of external functions |
static int |
nPluginsFound
# of active plugins found |
Constructor Summary | |
---|---|
PluginMgr()
PluginMgr() - constructor |
|
PluginMgr(Flicker flkS)
PluginMgr() - constructor called from main to initialize things |
Method Summary | |
---|---|
static boolean |
fctCalc(Flicker flk,
int efNbr,
ImageData iData,
int[] oPix)
fctCalc() - called to perform the image function |
private static void |
pushEFentry(java.lang.String name,
java.lang.String mnuName,
java.lang.String info,
boolean isActive,
int extFctNbr)
pushEFentry() - push extern fuctnion ef into list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static Flicker flk
static final int MAX_EXTERN_FCTS
public static java.lang.String[] efName
public static java.lang.String[] efInfo
public static java.lang.String[] efMnuName
public static boolean[] efIsActive
public static int[] efNbr
public static int nExtFcts
public static int nPluginsFound
public static Plugin1 ef1
public static Plugin2 ef2
public static Plugin3 ef3
public java.lang.String name
public java.lang.String mnuName
public java.lang.String info
public static boolean isActive
public static int extFctNbr
Constructor Detail |
---|
public PluginMgr()
public PluginMgr(Flicker flkS)
Method Detail |
---|
private static void pushEFentry(java.lang.String name, java.lang.String mnuName, java.lang.String info, boolean isActive, int extFctNbr)
name
- of the function to pushmnuName
- is the menu nameinfo
- associated with the functionisActive
- when start upextFctNbr
- is the external function numberpublic static boolean fctCalc(Flicker flk, int efNbr, ImageData iData, int[] oPix)
flk
- is instance of flickerefNbr
- is the external function numberiData
- image data to processoPix
- is output pixel array to put results
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |