public class OptionsMemoryAndThreads extends OptionsPlugin
eventService
moduleService, pluginService
Constructor and Description |
---|
OptionsMemoryAndThreads() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxMemory()
Returns the number of megabytes of memory that should be allocated for use
by ImageJ.
|
int |
getStackThreads()
Returns the number of stack threads that should be allocated for use by
ImageJ.
|
boolean |
isMultipleBuffers()
Returns true if ImageJ will maintain multiple undo buffers.
|
boolean |
isRunGcOnClick()
Returns true if ImageJ will run the garbage collector when user clicks on
the status area.
|
void |
load()
Loads the instance variable fields from persistent storage.
|
void |
save()
Saves the instance variable fields to persistent storage.
|
void |
setMaxMemory(int maxMemory)
Sets the number of megabytes of memory that should be allocated for use by
ImageJ.
|
void |
setMultipleBuffers(boolean multipleBuffers)
Sets whether ImageJ will maintain multiple undo buffers.
|
void |
setRunGcOnClick(boolean runGcOnClick)
Sets whether ImageJ will run the garbage collector when user clicks on the
status area.
|
void |
setStackThreads(int stackThreads)
Sets the number of stack threads that should be allocated for use by
ImageJ.
|
cancel, reset, run
cancel, context, getCancelReason, getContext, getInfo, getInput, getOutput, isCanceled, saveInputs, setContext, setInput, setOutput, uncancel
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, unresolveInput, unresolveOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addInput, addInput, addOutput, addOutput, removeInput, removeOutput
getDelegateObject, getInputs, getOutputs, initialize, isInputResolved, isOutputResolved, isResolved, preview, resolveInput, resolveOutput, setInputs, setOutputs, setResolved, unresolveInput, unresolveOutput
public void load()
load
in class OptionsPlugin
public void save()
save
in class OptionsPlugin
public int getMaxMemory()
public int getStackThreads()
public boolean isMultipleBuffers()
public boolean isRunGcOnClick()
public void setMaxMemory(int maxMemory)
public void setStackThreads(int stackThreads)
public void setMultipleBuffers(boolean multipleBuffers)
public void setRunGcOnClick(boolean runGcOnClick)
Copyright © 2014–2022 ImageJ. All rights reserved.