public class PieMenuP extends PieMenu
Constructor and Description |
---|
PieMenuP(String[] stringLabels,
Point2D.Double menuCenterCoordinates,
VirtualSpace vs,
double radius,
double startAngle,
Color[] fillColors,
Color[] borderColors,
Color[] fillSColors,
Color[] borderSColors,
Color[] labelColors,
float alphaT,
double sensitRadius,
Font font)
Pie Menu constructor - should not be used directly
|
PieMenuP(String[] stringLabels,
Point2D.Double menuCenterCoordinates,
VirtualSpace vs,
double radius,
double startAngle,
Color[] fillColors,
Color[] borderColors,
Color[] fillSColors,
Color[] borderSColors,
Color[] labelColors,
float alphaT,
double sensitRadius,
Font font,
Point2D.Double[] labelOffsets)
Pie Menu constructor - should not be used directly
|
PieMenuP(String[] stringLabels,
Point2D.Double menuCenterCoordinates,
VirtualSpace vs,
double radius,
double startAngle,
Color fillColor,
Color borderColor,
Color fillSColor,
Color borderSColor,
Color labelColor,
float alphaT,
double sensitRadius,
Font font)
Pie Menu constructor - should not be used directly
|
PieMenuP(String[] stringLabels,
Point2D.Double menuCenterCoordinates,
VirtualSpace vs,
double radius,
double startAngle,
Color fillColor,
Color borderColor,
Color fillSColor,
Color borderSColor,
Color labelColor,
float alphaT,
double sensitRadius,
Font font,
Point2D.Double[] labelOffsets)
Pie Menu constructor - should not be used directly
|
destroy, destroy, getBoundary, getItem, getItem, getItemIndex, getItems, getLabels, getSensitivity, setSensitivity
public PieMenuP(String[] stringLabels, Point2D.Double menuCenterCoordinates, VirtualSpace vs, double radius, double startAngle, Color fillColor, Color borderColor, Color fillSColor, Color borderSColor, Color labelColor, float alphaT, double sensitRadius, Font font)
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 menustartAngle
- first menu item will have an offset of startAngle interpreted relative to the X horizontal axis (counter clockwise)fillColor
- menu items' fill colorborderColor
- menu items' border colorfillSColor
- menu items' fill color, when selectedborderSColor
- menu items' border color, when selectedlabelColor
- menu labels' coloralphaT
- menu items' translucency value: between 0 (transparent) and 1.0 (opaque)sensitRadius
- sensitivity radius (as a percentage of the menu's actual radius)font
- font used for menu labelspublic PieMenuP(String[] stringLabels, Point2D.Double menuCenterCoordinates, VirtualSpace vs, double radius, double startAngle, Color[] fillColors, Color[] borderColors, Color[] fillSColors, Color[] borderSColors, Color[] labelColors, float alphaT, double sensitRadius, Font font)
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 menustartAngle
- 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)labelColors
- menu labels' 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)sensitRadius
- sensitivity radius (as a percentage of the menu's actual radius)font
- font used for menu labelspublic PieMenuP(String[] stringLabels, Point2D.Double menuCenterCoordinates, VirtualSpace vs, double radius, double startAngle, Color fillColor, Color borderColor, Color fillSColor, Color borderSColor, Color labelColor, float alphaT, 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 menustartAngle
- first menu item will have an offset of startAngle interpreted relative to the X horizontal axis (counter clockwise)fillColor
- menu items' fill colorborderColor
- menu items' border colorlabelColor
- menu labels' colorfillSColor
- menu items' fill color, when selectedborderSColor
- menu items' border color, when selectedalphaT
- menu items' translucency value: between 0 (transparent) and 1.0 (opaque)sensitRadius
- 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 unitspublic PieMenuP(String[] stringLabels, Point2D.Double menuCenterCoordinates, VirtualSpace vs, double radius, double startAngle, Color[] fillColors, Color[] borderColors, Color[] fillSColors, Color[] borderSColors, Color[] labelColors, float alphaT, 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 menustartAngle
- 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)labelColors
- menu labels' 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)sensitRadius
- 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.