public class ProjectToolbar extends Object implements MouseListener
Modifier and Type | Field and Description |
---|---|
static int |
BRUSH
A tool to align objects from two different layers.
|
static int |
PEN
A tool to draw/edit.
|
static int |
PENCIL
A tool to draw freehand and then autoconvert to Bezier curves.
|
static int |
SELECT
A tool to select and move Displayable objects (black arrow).
|
static int |
WAND |
Modifier and Type | Method and Description |
---|---|
static void |
destroy() |
static int |
getBrushSize()
Hacks on the ij.gui.Toolbar to get the proper value, and defaults to 15 if the value is absurd.
|
static int |
getForegroundColorValue()
The luminance of the foreground color.
|
static int |
getToolId() |
static boolean |
isDataEditTool(int tool) |
static void |
keyPressed(KeyEvent ke) |
void |
mouseClicked(MouseEvent me) |
void |
mouseEntered(MouseEvent me) |
void |
mouseExited(MouseEvent me) |
void |
mousePressed(MouseEvent me) |
void |
mouseReleased(MouseEvent me) |
static int |
setBrushSize(int inc)
Change the brush size by the given length increment (in pixel units).
|
static void |
setImageJToolbar()
Restore ImageJ's toolbar.
|
static void |
setProjectToolbar()
Set macro buttons for TrakEM2 in ImageJ's toolbar
|
static void |
setTool(int t) |
static void |
toolChanged(String tool_name)
Called by macro tools.
|
public static final int SELECT
public static final int PENCIL
public static final int PEN
public static final int BRUSH
public static final int WAND
public static void setProjectToolbar()
public static void toolChanged(String tool_name)
public static void setImageJToolbar()
public static void destroy()
public static void setTool(int t)
public static int getToolId()
public void mousePressed(MouseEvent me)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent me)
mouseReleased
in interface MouseListener
public void mouseClicked(MouseEvent me)
mouseClicked
in interface MouseListener
public void mouseEntered(MouseEvent me)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent me)
mouseExited
in interface MouseListener
public static int getBrushSize()
public static int setBrushSize(int inc)
public static void keyPressed(KeyEvent ke)
public static boolean isDataEditTool(int tool)
public static final int getForegroundColorValue()
Copyright © 2015–2021 Fiji. All rights reserved.