public class PointerDisplayTool extends AbstractTool
Constructor and Description |
---|
PointerDisplayTool() |
PointerDisplayTool(double radius) |
Modifier and Type | Method and Description |
---|---|
Color |
getDefaultColor() |
Color |
getHighlightColor() |
boolean |
isHighlight() |
boolean |
isVisible() |
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
setDefaultColor(Color defaultColor) |
void |
setHighlight(boolean highlight) |
void |
setHighlightColor(Color highlightColor) |
void |
setLength(double l) |
void |
setVisible(boolean v) |
activate, addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescription
public PointerDisplayTool(double radius)
public PointerDisplayTool()
public void perform(ToolContext tc)
Tool
perform
in interface Tool
perform
in class AbstractTool
tc
- The current tool contextpublic void setVisible(boolean v)
public boolean isVisible()
public Color getHighlightColor()
public void setHighlightColor(Color highlightColor)
public boolean isHighlight()
public void setHighlight(boolean highlight)
public Color getDefaultColor()
public void setDefaultColor(Color defaultColor)
public void setLength(double l)