public class PieMenuR extends PieMenu
| Modifier and Type | Field and Description |
|---|---|
static int |
animStartSize |
| Constructor and Description |
|---|
PieMenuR(String[] stringLabels,
Point2D.Double menuCenterCoordinates,
VirtualSpace vs,
double radius,
float irr,
double startAngle,
double angleWidth,
Color[] fillColors,
Color[] borderColors,
Color[] fillSColors,
Color[] borderSColors,
Color[] labelColors,
float alphaT,
int animDuration,
double sensitRadius,
Font font,
Point2D.Double[] labelOffsets)
Pie Menu constructor - should not be used directly
|
destroy, destroy, getBoundary, getItem, getItem, getItemIndex, getItems, getLabels, getSensitivity, setSensitivitypublic static final int animStartSize
public PieMenuR(String[] stringLabels, Point2D.Double menuCenterCoordinates, VirtualSpace vs, double radius, float irr, double startAngle, double angleWidth, Color[] fillColors, Color[] borderColors, Color[] fillSColors, Color[] borderSColors, Color[] labelColors, float alphaT, int animDuration, double sensitRadius, Font font, Point2D.Double[] labelOffsets)
stringLabels - text label of each menu itemmenuCenterCoordinates - (mouse cursor's coordinates in virtual space as a Point2D.Double)vs - virtual space in which to create the pie menuradius - radius of pie menuirr - Inner ring boundary radius as a percentage of outer ring boundary radiusstartAngle - first menu item will have an offset of startAngle interpreted relative to the X horizontal axis (counter clockwise)fillColors - menu items' fill colors (this array should have the same length as the stringLabels array)borderColors - menu items' border colors (this array should have the same length as the stringLabels array)fillSColors - menu items' fill colors, when selected (this array should have the same length as the stringLabels array)borderSColors - menu items' border colors, when selected (this array should have the same length as the stringLabels array)alphaT - menu items' translucency value: between 0 (transparent) and 1.0 (opaque)animDuration - duration in ms of animation creating the menu (expansion) - 0 for instantaneous displaysensitRadius - sensitivity radius (as a percentage of the menu's actual radius)font - font used for menu labelslabelOffsets - x,y offset of each menu label w.r.t their default posisition, in virtual space unitsCopyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.