public class ROITask extends org.pushingpixels.flamingo.api.ribbon.RibbonTask implements PluginLoader.PluginLoaderListener
Modifier and Type | Class and Description |
---|---|
static interface |
ROITask.ROITaskListener
Listener class
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MOVE
Deprecated.
Use
setSelected(String) with null parameter instead. |
static java.lang.String |
NAME |
static java.lang.String |
SELECT
Deprecated.
Use
setSelected(String) with null parameter instead. |
Constructor and Description |
---|
ROITask() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ROITask.ROITaskListener listener)
Add a listener
|
double |
getFillValue() |
double |
getRadius() |
java.lang.String |
getSelected()
Returns the current selected tool.
|
boolean |
isROITool()
Returns true if current selected tool is ROI type tool.
|
static boolean |
isROITool(java.lang.String command)
Deprecated.
Use
isROITool() instead. |
void |
onSequenceActivationChange()
call this method on sequence activation change
|
void |
onSequenceChange()
call this method on sequence ROI change
|
void |
pluginLoaderChanged(PluginLoader.PluginLoaderEvent e) |
void |
removeListener(ROITask.ROITaskListener listener)
Remove a listener
|
void |
setSelected(java.lang.String value)
Sets the current selected tool.
|
void |
toolChanged(java.lang.String toolName) |
public static final java.lang.String NAME
@Deprecated public static final java.lang.String SELECT
@Deprecated public static final java.lang.String MOVE
public ROITask()
@Deprecated public static boolean isROITool(java.lang.String command)
isROITool()
instead.public boolean isROITool()
public java.lang.String getSelected()
public void setSelected(java.lang.String value)
null
then no tool is selected.public void toolChanged(java.lang.String toolName)
public double getRadius()
public double getFillValue()
public void addListener(ROITask.ROITaskListener listener)
listener
- public void removeListener(ROITask.ROITaskListener listener)
listener
- public void onSequenceActivationChange()
public void onSequenceChange()
public void pluginLoaderChanged(PluginLoader.PluginLoaderEvent e)
pluginLoaderChanged
in interface PluginLoader.PluginLoaderListener