1. /*
  2. * @(#)BluecurveColorType.java 1.4 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.java.swing.plaf.gtk;
  8. import javax.swing.plaf.synth.ColorType;
  9. /**
  10. * @version 1.4, 12/19/03
  11. * @author Scott Violet
  12. */
  13. class BluecurveColorType extends GTKColorType {
  14. // Used for menuitems:
  15. // Outer is also used for the radio button selected dot
  16. static final ColorType OUTER = new BluecurveColorType("Outer");
  17. static final ColorType INNER_LEFT = new BluecurveColorType("Inner Left");
  18. static final ColorType INNER_RIGHT = new BluecurveColorType("Inner Right");
  19. static final ColorType TOP_GRADIENT = new BluecurveColorType("Bottom");
  20. static final ColorType BOTTOM_GRADIENT = new BluecurveColorType("Top");
  21. // Used by popupmenu
  22. // OUTER2 is also used for the scratches on split panes.
  23. static final ColorType OUTER2 = new BluecurveColorType("Outer2");
  24. static final ColorType INNER_RIGHT2 = new BluecurveColorType(
  25. "Inner Right2");
  26. // Used by buttons
  27. static final ColorType OUTER3 = new BluecurveColorType("Outer3");
  28. // Used by MenuBar
  29. static final ColorType OUTER4 = new BluecurveColorType("Outer4");
  30. // Used by arrows
  31. static final ColorType OUTER5 = new BluecurveColorType("Outer5");
  32. static final int MIN_ID;
  33. static final int MAX_ID;
  34. static {
  35. MIN_ID = OUTER.getID();
  36. MAX_ID = OUTER5.getID();
  37. }
  38. BluecurveColorType(String string) {
  39. super(string);
  40. }
  41. }