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.


Field Summary
(package private)  java.io.File f
           
(package private)  int index1
           
(package private)  int index2
           
(package private)  java.lang.String s
           
 
Constructor Summary
Memory()
           
 
Method Summary
(package private)  void changeMemoryAllocation()
           
 long getMemorySetting()
           
(package private)  long getMemorySetting(java.lang.String file)
           
 long maxMemory()
          Returns the maximum amount of memory this JVM will attempt to use.
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
(package private)  void showError()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s

java.lang.String s

index1

int index1

index2

int index2

f

java.io.File f
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

changeMemoryAllocation

void changeMemoryAllocation()

getMemorySetting

public long getMemorySetting()

showError

void showError()

getMemorySetting

long getMemorySetting(java.lang.String file)

maxMemory

public long maxMemory()
Returns the maximum amount of memory this JVM will attempt to use.