Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/plugin/ControlPanel.html
Дата изменения: Thu Dec 2 23:03:11 2010
Дата индексирования: Mon Oct 1 22:27:44 2012
Кодировка:

Поисковые слова: п п р р р р р р р п п п п п п п
ControlPanel (ImageJ API)

ij.plugin
Class ControlPanel

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

public class ControlPanel
extends java.lang.Object
implements PlugIn

ControlPanel.
Created: Tue Dec 5 00:52:15 2000; Modified 05/03/2004

Version:
1.0g
Author:
Cezar M. Tigaret

Constructor Summary
ControlPanel()
           
 
Method Summary
 javax.swing.tree.DefaultMutableTreeNode getRoot()
           
 java.lang.String getVersion()
           
 void run(java.lang.String arg)
          Creates a panel with the hierarchical tree structure of (some of the) ImageJ's commands according to the structure of the String argument (see below).
 int[] s2ints(java.lang.String s)
          Breaks the specified string into an array of ints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlPanel

public ControlPanel()
Method Detail

run

public void run(java.lang.String arg)
Creates a panel with the hierarchical tree structure of (some of the) ImageJ's commands according to the structure of the String argument (see below).

Specified by:
run in interface PlugIn
Parameters:
arg - String (optional): a semi-colon - separated list of one or more tokens:
"imagej menus"
creates a tree with all of ImageJ's menu structure, that means it replicates in tree form the ImageJ's menu bar; this includes any jar plugin and user plugins
"user plugins"
creates a tree with loose user plugins (not "jar plugins")
"imagej commands"
creates a tree with all ImageJ's commands
"about"
will not create a tree panel; instead, it will show a brief help message
If there is more than one token, a subtree will be created for each token, and added to a common root tree. If the "about" token is also present, a help essage will be displayed
If the argument is missing, a panel with all of ImageJ's menus will be created as if "imagej menus" was passed as argument.
Please note that when no arguments are passed, ImageJ's menus will be shown as a unique tree named "Control Panel"; if "imagej menus"
is part of a multi-token argument, them ImageJ menus will be created as a sub tree called "ImageJ Menus" (what else ? :-)...) and the main tree will be called "Control Panel"

getVersion

public java.lang.String getVersion()

getRoot

public javax.swing.tree.DefaultMutableTreeNode getRoot()

s2ints

public int[] s2ints(java.lang.String s)
Breaks the specified string into an array of ints. Returns null if there is an error.