public class PainterUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PainterUtil.AbstractPainterDelegate |
static class |
PainterUtil.ImagePainterDelegate |
static class |
PainterUtil.PersistenceOwner |
static class |
PainterUtil.RenderingHintsDelegate |
| Modifier and Type | Method and Description |
|---|---|
static org.jdesktop.swingx.painter.Painter |
getBGP(JComponent comp) |
static org.jdesktop.swingx.painter.Painter |
getFGP(JComponent comp) |
static org.jdesktop.swingx.painter.Painter |
loadPainter(File file) |
static org.jdesktop.swingx.painter.Painter |
loadPainter(URL url) |
static void |
savePainterToFile(org.jdesktop.swingx.painter.Painter compoundPainter,
File file) |
static void |
savePainterToFile(org.jdesktop.swingx.painter.Painter compoundPainter,
File file,
URL baseURL) |
static void |
savePainterToImage(JComponent testPanel,
org.jdesktop.swingx.painter.CompoundPainter compoundPainter,
File file) |
static void |
setBGP(JComponent comp,
org.jdesktop.swingx.painter.Painter painter) |
static void |
setFGP(JComponent comp,
org.jdesktop.swingx.painter.Painter painter) |
public static org.jdesktop.swingx.painter.Painter loadPainter(File file) throws FileNotFoundException, MalformedURLException, IOException
public static org.jdesktop.swingx.painter.Painter loadPainter(URL url) throws IOException
IOExceptionpublic static void savePainterToFile(org.jdesktop.swingx.painter.Painter compoundPainter, File file) throws IOException
IOExceptionpublic static void savePainterToFile(org.jdesktop.swingx.painter.Painter compoundPainter, File file, URL baseURL) throws IOException
IOExceptionpublic static void savePainterToImage(JComponent testPanel, org.jdesktop.swingx.painter.CompoundPainter compoundPainter, File file) throws IOException
IOExceptionpublic static void setBGP(JComponent comp, org.jdesktop.swingx.painter.Painter painter)
public static void setFGP(JComponent comp, org.jdesktop.swingx.painter.Painter painter)
public static org.jdesktop.swingx.painter.Painter getFGP(JComponent comp)
public static org.jdesktop.swingx.painter.Painter getBGP(JComponent comp)
Copyright © 2018. All rights reserved.