|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Tool> br.usp.ime.klava.segmentit.gui.Tool
public enum Tool
Tools used to trigger the available functionalities.
Enum Constant Summary | |
---|---|
BORDERS_BRUSH
Used to draw an external and and internal marker for a border. |
|
BRUSH_COLOR
Used to hold and pick (from a JColorChooser ) the color of
the BRUSH_ERASER. |
|
BRUSH_ERASER
Used to draw and erase markers. |
|
COLOR_SELECTOR
Used to select a color for the BRUSH_ERASER from an existing marker. |
|
HIERARCHY
Used to select a region for hierarchical segmentation. |
|
SEGMENT
Used to trigger an execution of the watershed from markers algorithm if the option "Segment automatically" is not active. |
|
WELDING_BRUSH
Used to select regions to be welded. |
|
ZOOM
Used to zoom the image being segmented. |
Method Summary | |
---|---|
javax.swing.AbstractAction |
getAction()
Returns the action triggered by the tool. |
javax.swing.ImageIcon |
getIcon()
Returns the icon of the tool. |
java.lang.String |
getMiniHelp()
Returns a help information about the usage of the tool. |
java.lang.String |
getName()
Returns the name of the tool. |
boolean |
isSelectable()
Returns if the tool is selectable. |
static Tool |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Tool[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Tool BRUSH_ERASER
public static final Tool BRUSH_COLOR
JColorChooser
) the color of
the BRUSH_ERASER.
public static final Tool BORDERS_BRUSH
SegmentationContainer
).
public static final Tool WELDING_BRUSH
public static final Tool COLOR_SELECTOR
public static final Tool SEGMENT
public static final Tool HIERARCHY
public static final Tool ZOOM
Method Detail |
---|
public static Tool[] values()
for (Tool c : Tool.values()) System.out.println(c);
public static Tool valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public javax.swing.ImageIcon getIcon()
public java.lang.String getMiniHelp()
public javax.swing.AbstractAction getAction()
public boolean isSelectable()
true
if the tool is selectable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |