Java DTV API 1.3
18-Nov-2009

Uses of Interface
com.sun.dtv.lwuit.Painter

Packages that use Painter
com.sun.dtv.lwuit Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. 
com.sun.dtv.lwuit.painter Painter allows us to draw arbitrary elements of graphics from plain/scaled/tiled images to gradients and pretty much any form of graphic drawing we can imagine. 
com.sun.dtv.lwuit.plaf Look of the application can be fully customized via this package, it represents a rendering layer that can be plugged in separately in runtime and themed to provide any custom look. 
 

Uses of Painter in com.sun.dtv.lwuit
 

Methods in com.sun.dtv.lwuit that return Painter
 Painter Form.getGlassPane()
          Allows a developer that doesn't derive from the form to draw on top of the form regardless of underlying changes or animations.
 

Methods in com.sun.dtv.lwuit with parameters of type Painter
 void Form.setGlassPane(Painter glassPane)
          Allows a developer that doesn't derive from the form to draw on top of the form regardless of underlying changes or animations.
 

Uses of Painter in com.sun.dtv.lwuit.painter
 

Classes in com.sun.dtv.lwuit.painter that implement Painter
 class BackgroundPainter
          A painter that draws the background of a component based on its style.
 class PainterChain
          A painter chain allows us to chain together several painters to provide a "layer" effect where each painter only draws one element.
 

Methods in com.sun.dtv.lwuit.painter with parameters of type Painter
 PainterChain PainterChain.addPainter(Painter p)
          Creates a new chain based on the existing chain with the new element added at the end.
static void PainterChain.installGlassPane(Form f, Painter p)
          Installs a glass pane on the given form making sure to make it a painter chain only if required by existing painter.
 PainterChain PainterChain.prependPainter(Painter p)
          Creates a new chain based on the existing chain with the new element added at the beginning.
 

Constructors in com.sun.dtv.lwuit.painter with parameters of type Painter
PainterChain(Painter[] chain)
          Create a new painter chain which will paint all of the elements in the chain in sequence from 0 to the last element.
 

Uses of Painter in com.sun.dtv.lwuit.plaf
 

Methods in com.sun.dtv.lwuit.plaf that return Painter
 Painter Style.getBgPainter()
          Return the background painter for this style, normally this would be the internal image/color painter but can be user defined.
 

Methods in com.sun.dtv.lwuit.plaf with parameters of type Painter
 void Style.setBgPainter(Painter bgPainter)
          Defines the background painter for this style, normally this would be the internal image/color painter but can be user defined.
 


Java DTV API 1.3
18-Nov-2009

Copyright © 2008-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Use of this document is subject to license terms.