Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/Macro.html
Дата изменения: Thu Dec 2 23:03:11 2010 Дата индексирования: Mon Oct 1 21:19:05 2012 Кодировка: Поисковые слова: south pole |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ij.Macro
public class Macro
The class contains static methods that perform macro operations.
Field Summary | |
---|---|
static java.lang.String |
MACRO_CANCELED
|
Constructor Summary | |
---|---|
Macro()
|
Method Summary | |
---|---|
static void |
abort()
Aborts the currently running macro or any plugin using IJ.run(). |
static java.lang.String |
getDir(java.lang.String path)
|
static java.lang.String |
getName(java.lang.String path)
|
static java.lang.String |
getOptions()
If a command started using run(name, options) is running, and the current thread is the same thread, returns the options string, otherwise, returns null. |
static java.lang.String |
getValue(java.lang.String options,
java.lang.String key,
java.lang.String defaultValue)
|
static boolean |
open(java.lang.String path)
|
static boolean |
saveAs(java.lang.String path)
|
static void |
setOptions(java.lang.String options)
Define a set of Macro options for the current Thread. |
static void |
setOptions(java.lang.Thread thread,
java.lang.String options)
Define a set of Macro options for a Thread. |
static java.lang.String |
trimKey(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MACRO_CANCELED
Constructor Detail |
---|
public Macro()
Method Detail |
---|
public static boolean open(java.lang.String path)
public static boolean saveAs(java.lang.String path)
public static java.lang.String getName(java.lang.String path)
public static java.lang.String getDir(java.lang.String path)
public static void abort()
public static java.lang.String getOptions()
GenericDialog
,
OpenDialog
public static void setOptions(java.lang.String options)
public static void setOptions(java.lang.Thread thread, java.lang.String options)
public static java.lang.String getValue(java.lang.String options, java.lang.String key, java.lang.String defaultValue)
public static java.lang.String trimKey(java.lang.String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |