public class PartUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Font |
getFont(String family,
String styles,
int size)
Locates the optimal font in a font string.
|
static int |
getInt(IParameterInfo param,
String name,
int def) |
static IParameterInfo |
getParameters(String in) |
static String |
getURI(String in) |
static BufferedImage |
loadImage(DomApplication da,
String in,
IResourceDependencyList rdl)
Load an image, either thru a resource (when the part starts with RES) or as a webapp file.
|
static Properties |
loadProperties(DomApplication da,
String src,
IResourceDependencyList rdl)
Loads a properties file from a resource string.
|
static Color |
makeColor(String col) |
public static int getInt(IParameterInfo param, String name, int def)
@Nonnull public static Properties loadProperties(DomApplication da, String src, IResourceDependencyList rdl) throws Exception
da - src - Exceptionpublic static IParameterInfo getParameters(String in)
public static BufferedImage loadImage(DomApplication da, String in, @Nonnull IResourceDependencyList rdl) throws Exception
r - image - depset - ExceptionCopyright © 2017 etc.to. All rights reserved.