|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartofillusion.ui.EditingTool
artofillusion.CreateCurveTool
public class CreateCurveTool
CreateCurveTool is an EditingTool used for creating Curve objects.
Field Summary | |
---|---|
static int |
HANDLE_SIZE
|
Fields inherited from class artofillusion.ui.EditingTool |
---|
ALL_CLICKS, HANDLE_CLICKS, OBJECT_CLICKS |
Constructor Summary | |
---|---|
CreateCurveTool(EditingWindow fr)
|
Method Summary | |
---|---|
void |
activate()
|
void |
deactivate()
|
void |
drawOverlay(ViewerCanvas view)
Draw any graphics that this tool overlays on top of the view. |
java.lang.String |
getToolTipText()
Get the tool tip text to display for this tool (or null if it does not have a tool tip). |
boolean |
hilightSelection()
Get whether the current selection should be hilighted when this tool is active. |
void |
iconDoubleClicked()
|
void |
keyPressed(KeyPressedEvent e,
ViewerCanvas view)
When the user presses Enter, add the curve to the scene. |
void |
mouseDragged(WidgetMouseEvent e,
ViewerCanvas view)
|
void |
mousePressed(WidgetMouseEvent e,
ViewerCanvas view)
|
void |
mouseReleased(WidgetMouseEvent e,
ViewerCanvas view)
|
int |
whichClicks()
Get what types of mouse clicks this tool wants to receive. |
Methods inherited from class artofillusion.ui.EditingTool |
---|
allowSelectionChanges, getButton, getWindow, isEditable, mouseMoved, mousePressedOnHandle, mousePressedOnObject |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HANDLE_SIZE
Constructor Detail |
---|
public CreateCurveTool(EditingWindow fr)
Method Detail |
---|
public void activate()
activate
in class EditingTool
public void deactivate()
deactivate
in class EditingTool
public int whichClicks()
EditingTool
whichClicks
in class EditingTool
public java.lang.String getToolTipText()
EditingTool
getToolTipText
in class EditingTool
public boolean hilightSelection()
EditingTool
hilightSelection
in class EditingTool
public void drawOverlay(ViewerCanvas view)
EditingTool
drawOverlay
in class EditingTool
public void mousePressed(WidgetMouseEvent e, ViewerCanvas view)
mousePressed
in class EditingTool
public void mouseDragged(WidgetMouseEvent e, ViewerCanvas view)
mouseDragged
in class EditingTool
public void mouseReleased(WidgetMouseEvent e, ViewerCanvas view)
mouseReleased
in class EditingTool
public void keyPressed(KeyPressedEvent e, ViewerCanvas view)
keyPressed
in class EditingTool
public void iconDoubleClicked()
iconDoubleClicked
in class EditingTool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |