|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.tmaj.client.frida.gui.shared.LimitedToolBar
public final class LimitedToolBar
This class is used to show only part of the imageJ tool bar; Part of the tool-bar that is made available in this class in the zoom tool, the freehand-selection tool, and the hand tool. We don't want to make the entire toolbar available because that would confuse the user with too many options. Important note: This class won't work unless you have used this line before using the class: ImageJ i = new ImageJ(); This last line "hooks" this class up with the current ImagePlus that is in focus.
Nested Class Summary | |
---|---|
static class |
LimitedToolBar.ImageTool
Represents all the tools from ImageJ that this class will support. |
Constructor Summary | |
---|---|
LimitedToolBar(LimitedToolBar.ImageTool... imageTools)
|
Method Summary | |
---|---|
void |
addKeyListener(java.awt.event.KeyListener keyListener)
|
javax.swing.JComponent |
getComponent()
Gets the Swing Component that this class represents. |
LimitedToolBar.ImageTool |
getSelectedTool()
Gets the currently selected ImageTool. |
void |
setEnabled(boolean enabled)
Sets buttons as enabled or disabled |
void |
setTool(LimitedToolBar.ImageTool imageTool)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LimitedToolBar(LimitedToolBar.ImageTool... imageTools)
Method Detail |
---|
public void setTool(LimitedToolBar.ImageTool imageTool)
public LimitedToolBar.ImageTool getSelectedTool()
public void setEnabled(boolean enabled)
public void addKeyListener(java.awt.event.KeyListener keyListener)
public javax.swing.JComponent getComponent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |