| 1 |
/* |
| 2 |
* @(#)Painter.java |
| 3 |
* |
| 4 |
* Copyright 2002 - 2004 JIDE Software Inc. All rights reserved. |
| 5 |
*/ |
| 6 |
package com.jidesoft.plaf.basic; |
| 7 |
|
| 8 |
import javax.swing.*; |
| 9 |
import javax.swing.plaf.UIResource; |
| 10 |
import java.awt.*; |
| 11 |
|
| 12 |
/** |
| 13 |
* An interface which can be used to paint any area. The main usage of this interface is to |
| 14 |
* allow user to customize certain UI elements by adding it to UIManager. |
| 15 |
*/ |
| 16 |
public interface Painter extends UIResource { |
| 17 |
void paint(JComponent c, Graphics g, Rectangle rect, int orientation, int state); |
| 18 |
} |