1. /*
  2. * @(#)SplitPaneUI.java 1.13 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package javax.swing.plaf;
  11. import javax.swing.JSplitPane;
  12. import java.awt.Graphics;
  13. /**
  14. * Pluggable look and feel interface for JSplitPane.
  15. *
  16. * @version 1.13 02/02/00
  17. * @author Scott Violet
  18. */
  19. public abstract class SplitPaneUI extends ComponentUI
  20. {
  21. /**
  22. * Messaged to relayout the JSplitPane based on the preferred size
  23. * of the children components.
  24. */
  25. public abstract void resetToPreferredSizes(JSplitPane jc);
  26. /**
  27. * Sets the location of the divider to location.
  28. */
  29. public abstract void setDividerLocation(JSplitPane jc, int location);
  30. /**
  31. * Returns the location of the divider.
  32. */
  33. public abstract int getDividerLocation(JSplitPane jc);
  34. /**
  35. * Returns the minimum possible location of the divider.
  36. */
  37. public abstract int getMinimumDividerLocation(JSplitPane jc);
  38. /**
  39. * Returns the maximum possible location of the divider.
  40. */
  41. public abstract int getMaximumDividerLocation(JSplitPane jc);
  42. /**
  43. * Messaged after the JSplitPane the receiver is providing the look
  44. * and feel for paints its children.
  45. */
  46. public abstract void finishedPaintingChildren(JSplitPane jc, Graphics g);
  47. }