Searched refs:Painter (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/java/swing/
H A DPainter.java30 * @deprecated Use {@link javax.swing.Painter} instead.
32 public interface Painter<T> extends javax.swing.Painter { interface in inherits:javax.swing.Painter
/openjdk7/jdk/src/share/classes/javax/swing/
H A DPainter.java30 * <p>A painting delegate. The Painter interface defines exactly one method,
36 * <p><code>Painter</code>s are simply encapsulations of Java2D code and make
37 * it fairly trivial to reuse existing <code>Painter</code>s or to combine
39 * such that if you can't find a <code>Painter</code> that does what you need,
40 * you can write one with minimal effort. Writing a <code>Painter</code> requires
43 * <p>A <code>Painter</code> may be created with a type parameter. This type will be
45 * <code>Painter</code> that only works with subclasses of {@link java.awt.Component}.
46 * In that case, when the <code>Painter</code> is declared, you may declare that
50 * Painter<Component> p = new Painter<Componen
63 public interface Painter<T> { interface
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DTableScrollPaneCorner.java27 import javax.swing.Painter;
47 * Paint the component using the Nimbus Table Header Background Painter
50 Painter painter = (Painter) UIManager.get(
H A DPainterImpl.template31 import javax.swing.Painter;
H A DNimbusIcon.java27 import javax.swing.Painter;
56 Painter painter = null;
58 painter = (Painter)context.getStyle().get(context, key);
61 painter = (Painter) UIManager.get(prefix + "[Enabled]." + key);
143 Painter painter = (Painter)UIManager.get(prefix + "[Enabled]." + key);
H A DNimbusStyle.java27 import javax.swing.Painter;
172 * delegate back to this NimbusStyle for the proper Painter (not
466 private Painter getPainter(Map<String, Object> defaults, String key) {
471 return (p instanceof Painter ? (Painter)p : null);
693 * Gets the appropriate background Painter, if there is one, for the state
701 public Painter getBackgroundPainter(SynthContext ctx) {
704 Painter p = null;
708 p = (Painter)v.cache.get(tmpKey);
720 if (p == null) p = (Painter)ge
[all...]
H A DDefaults.template27 import javax.swing.Painter;
819 private Painter painter;
830 painter = (Painter)UIManager.get(painterKey);
H A DAbstractRegionPainter.java32 import javax.swing.Painter;
36 * Convenient base class for defining Painter instances for rendering a
42 public abstract class AbstractRegionPainter implements Painter<JComponent> {
H A DSynthPainterImpl.java37 import javax.swing.Painter;
52 private void paint(Painter p, SynthContext ctx, Graphics g, int x, int y,
99 Painter backgroundPainter = style.getBackgroundPainter(ctx);
108 Painter foregroundPainter = style.getForegroundPainter(ctx);
116 Painter borderPainter = style.getBorderPainter(ctx);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaFocus.java40 import com.apple.laf.AquaUtils.Painter;
118 new Painter() {
128 new Painter() {
H A DAquaUtils.java243 interface Painter { interface in class:AquaUtils
256 final Painter prePainter;
257 final Painter postPainter;
266 public ShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur) {
325 public SlicedShadowBorder(final Painter prePainter, final Painter postPainter, final int offsetX, final int offsetY, final float distance, final float intensity, final int blur, final int templateWidth, final int templateHeight, final int leftCut, final int topCut, final int rightCut, final int bottomCut) {
H A DAquaInternalFrameUI.java42 import com.apple.laf.AquaUtils.Painter;
708 return new AquaUtils.SlicedShadowBorder(new Painter() {
714 }, new Painter() {
724 return new AquaUtils.SlicedShadowBorder(new Painter() {
730 }, new Painter() {
742 return new AquaUtils.SlicedShadowBorder(new Painter() {

Completed in 110 milliseconds