ij.plugin
Class Memory

java.lang.Object
  extended by ij.plugin.Memory
All Implemented Interfaces:
PlugIn

public class Memory
extends java.lang.Object
implements PlugIn

This plugin implements the Edit/Options/Memory command.


Constructor Summary
Memory()
           
 
Method Summary
 long getMemorySetting()
           
 long maxMemory()
          With Java 1.4.1 or later, returns the maximum amount of memory that this JVM will attempt to use, otherwise, returns zero.
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Memory

public Memory()
Method Detail

run

public void run(java.lang.String arg)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

getMemorySetting

public long getMemorySetting()

maxMemory

public long maxMemory()
With Java 1.4.1 or later, returns the maximum amount of memory that this JVM will attempt to use, otherwise, returns zero.