public class Rotate extends Tool
Title: Rotate class
Description: Rotate tool.
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Tool.ToolListener
bBrush, clickTolerance, listenerList, pPen
chart, 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, toString
getChart, invalidate, setBooleanProperty, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public 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 Tool
public java.lang.String getSummary()
getSummary
in class Tool
public static Pie firstSeriesPie(IBaseChart c)
public Cursor mouseEvent(FrameworkMouseEvent e, Cursor c)
mouseEvent
in class Tool
public ChartPen getPen()
public static double rotationChange(boolean fullRotation, double value, double delta)
public static double elevationChange(boolean fullRotation, double value, double delta)