| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.editors.PainterUtil
public class PainterUtil
| Nested Class Summary | |
|---|---|
static class | 
PainterUtil.AbstractPainterDelegate
 | 
static class | 
PainterUtil.ImagePainterDelegate
 | 
static class | 
PainterUtil.PersistenceOwner
 | 
static class | 
PainterUtil.RenderingHintsDelegate
 | 
| Method Summary | |
|---|---|
static Painter | 
getBGP(JComponent comp)
 | 
static Painter | 
getFGP(JComponent comp)
 | 
static Painter | 
loadPainter(File file)
 | 
static Painter | 
loadPainter(URL url)
 | 
static void | 
savePainterToFile(Painter compoundPainter,
                  File file)
 | 
static void | 
savePainterToFile(Painter compoundPainter,
                  File file,
                  URL baseURL)
 | 
static void | 
savePainterToImage(JComponent testPanel,
                   CompoundPainter compoundPainter,
                   File file)
 | 
static void | 
setBGP(JComponent comp,
       Painter painter)
 | 
static void | 
setFGP(JComponent comp,
       Painter painter)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static Painter loadPainter(File file)
                           throws FileNotFoundException,
                                  MalformedURLException,
                                  IOException
FileNotFoundException
MalformedURLException
IOException
public static Painter loadPainter(URL url)
                           throws IOException
IOException
public static void savePainterToFile(Painter compoundPainter,
                                     File file)
                              throws IOException
IOException
public static void savePainterToFile(Painter compoundPainter,
                                     File file,
                                     URL baseURL)
                              throws IOException
IOException
public static void savePainterToImage(JComponent testPanel,
                                      CompoundPainter compoundPainter,
                                      File file)
                               throws IOException
IOException
public static void setBGP(JComponent comp,
                          Painter painter)
public static void setFGP(JComponent comp,
                          Painter painter)
public static Painter getFGP(JComponent comp)
public static Painter getBGP(JComponent comp)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||