Lines Matching defs:triangle

37  * hue and a triangle that varies saturation and brightness.
45 private ColorTriangle triangle;
164 triangle = new ColorTriangle();
165 triangle.setName("GTKColorChooserPanel.triangle");
217 add(triangle, new GridBagConstraints(0, 0, 1, 5, 0, 0,
451 triangle.setColor(hue, saturation, brightness);
509 * Flag indicating the angle, or hue, has changed and the triangle
518 * Indicates the triangle is being dragged.
530 * Indicates the triangle has focus.
536 * Class responsible for rendering a color wheel and color triangle.
545 * Cached image of the triangle.
550 * Angle triangle is rotated by.
628 * Gives focus to the triangle.
678 // Assign focus to either the wheel or triangle and attempt
679 // to drag either the wheel or triangle.
726 // Draw the wheel and triangle
758 // Draw the focus indicator on the triangle
782 * Returns an image representing the triangle and wheel.
881 * to the origin of the wheel/triangle.
883 * @param x X coordinate on the triangle to adjust to
884 * @param y Y coordinate on the triangle to adjust to
886 * it is contained in the triangle, if false the location is
887 * constrained to fit in the triangle.
1044 * Rotates the triangle to accomodate the passed in hue.
1071 * Returns the circumscribed radius of the triangle.
1078 * Returns the x origin of the wheel and triangle.
1085 * Returns y origin of the wheel and triangle.
1099 * Sets the focus to one of: 0 no one, 1 the wheel or 2 the triangle.
1210 float hue = triangle.getGTKColorChooserPanel().getHue();
1241 ColorTriangle triangle = (ColorTriangle)e.getSource();
1243 if (triangle.isWheelFocused()) {
1244 float hue = triangle.getGTKColorChooserPanel().getHue();
1249 triangle.incrementHue(true);
1253 triangle.incrementHue(false);
1256 triangle.focusTriangle();
1259 compositeRequestFocus(triangle, false);
1285 compositeRequestFocus(triangle, true);
1288 triangle.focusWheel();
1291 triangle.adjustSB(triangle.getColorX() + xDelta,
1292 triangle.getColorY() + yDelta, true);