public class Rotate extends Tool
Title: Rotate class
Description: Rotate tool.
Copyright (c) 2005-2007 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Tool.ToolListenerbBrush, clickTolerance, listenerList, pPenchart, InternalUse| Constructor and Description |
|---|
Rotate() |
Rotate(IBaseChart c) |
| Modifier and Type | Method and Description |
|---|---|
static double |
elevationChange(boolean fullRotation,
double value,
double delta) |
static Pie |
firstSeriesPie(IBaseChart c) |
int |
getButton()
Defines which mousebutton activates the TTeeCustomTool.
Default value: MouseButtons.Left |
java.lang.String |
getDescription()
Gets descriptive text.
|
boolean |
getInverted()
Inverts the direction of Rotation and Elevation.
In other words, left to right changes from a clockwise rotation to a counter-clockwise rotation and an upward mouse movement moves the chart towards a horizontal plane. |
ChartPen |
getPen()
Element Pen characteristics.
|
RotateStyle |
getStyle()
Determines whether mouse action applies to Rotation, Elevation or Both.
|
java.lang.String |
getSummary()
Gets detailed descriptive text.
|
Cursor |
mouseEvent(FrameworkMouseEvent e,
Cursor c) |
static double |
rotationChange(boolean fullRotation,
double value,
double delta) |
void |
setButton(int value)
Defines which mousebutton activates the TTeeCustomTool.
Default value: MouseButtons.Left |
void |
setInverted(boolean value)
Inverts the direction of Rotation and Elevation.
Default value: true |
void |
setStyle(RotateStyle value)
Determines whether mouse action applies to Rotation, Elevation or Both.
|
addMouseMotionListener, addToolListener, chartEvent, dispose, fireActiveChanged, fireChanged, fireClicked, fireDragged, fireDragging, fireMouse, fireResized, getActive, getBitmapEditor, readResolve, removeMouseMotionListener, removeToolListener, setActive, setChart, toStringgetChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringPropertypublic Rotate()
public Rotate(IBaseChart c)
public boolean getInverted()
public void setInverted(boolean value)
value - booleanpublic RotateStyle getStyle()
public void setStyle(RotateStyle value)
value - RotateStylepublic int getButton()
public void setButton(int value)
value - intpublic java.lang.String getDescription()
getDescription in class Toolpublic java.lang.String getSummary()
getSummary in class Toolpublic static Pie firstSeriesPie(IBaseChart c)
public Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
mouseEvent in class Toolpublic ChartPen getPen()
public static double rotationChange(boolean fullRotation,
double value,
double delta)
public static double elevationChange(boolean fullRotation,
double value,
double delta)