|
||||||||||
| 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(buoy.event.KeyPressedEvent e,
ViewerCanvas view)
When the user presses Enter, add the curve to the scene. |
void |
mouseDragged(buoy.event.WidgetMouseEvent e,
ViewerCanvas view)
|
void |
mousePressed(buoy.event.WidgetMouseEvent e,
ViewerCanvas view)
|
void |
mouseReleased(buoy.event.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 EditingToolpublic void deactivate()
deactivate in class EditingToolpublic int whichClicks()
EditingTool
whichClicks in class EditingToolpublic java.lang.String getToolTipText()
EditingTool
getToolTipText in class EditingToolpublic boolean hilightSelection()
EditingTool
hilightSelection in class EditingToolpublic void drawOverlay(ViewerCanvas view)
EditingTool
drawOverlay in class EditingTool
public void mousePressed(buoy.event.WidgetMouseEvent e,
ViewerCanvas view)
mousePressed in class EditingTool
public void mouseDragged(buoy.event.WidgetMouseEvent e,
ViewerCanvas view)
mouseDragged in class EditingTool
public void mouseReleased(buoy.event.WidgetMouseEvent e,
ViewerCanvas view)
mouseReleased in class EditingTool
public void keyPressed(buoy.event.KeyPressedEvent e,
ViewerCanvas view)
keyPressed in class EditingToolpublic void iconDoubleClicked()
iconDoubleClicked in class EditingTool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||