1. /*
  2. * @(#)SynthConstants.java 1.5 03/01/23
  3. *
  4. * Copyright 2003 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.*;
  9. /**
  10. * Constants used by Synth.
  11. *
  12. * @version 1.5, 01/23/03
  13. */
  14. interface SynthConstants {
  15. /**
  16. * Primary state indicating the component is enabled.
  17. */
  18. public static final int ENABLED = 1 << 0;
  19. /**
  20. * Primary state indicating the mouse is over the region.
  21. */
  22. public static final int MOUSE_OVER = 1 << 1;
  23. /**
  24. * Primary state indicating the region is in a pressed state. Pressed
  25. * does not necessarily mean the user has pressed the mouse button.
  26. */
  27. public static final int PRESSED = 1 << 2;
  28. /**
  29. * Primary state indicating the region is in a disabled state.
  30. */
  31. public static final int DISABLED = 1 << 3;
  32. /**
  33. * Indicates the region has focus.
  34. */
  35. public static final int FOCUSED = 1 << 8;
  36. /**
  37. * Indicates the region is selected.
  38. */
  39. public static final int SELECTED = 1 << 9;
  40. /**
  41. * Indicates the region is the default.
  42. */
  43. public static final int DEFAULT = 1 << 10;
  44. }