public class IlvCompiledSymbolFunction extends Object
Modifier and Type | Method and Description |
---|---|
static Color |
convertToColor(Object source)
Converts an object to a
color . |
static Font |
convertToFont(Object source)
Converts an object to a
font . |
static Insets |
convertToInsets(Object source)
Converts an object to an
insets object. |
static IlvRect |
convertToRect(Object source)
Converts an object to a
rectangle . |
static Shape |
convertToShape(Object source)
Converts an object to a
shape . |
static String |
decimalFormat(String format,
double value)
Formats a
double value using
java.text.DecimalFormat . |
static String |
decimalFormat(String format,
long value)
Formats a
long value using
java.text.DecimalFormat . |
static String |
decimalFormat(String format,
Object value)
Formats a value using
java.text.DecimalFormat . |
static URL |
toURL(String str)
Converts a
String to a URL . |
public static Color convertToColor(Object source) throws IllegalArgumentException
color
.IllegalArgumentException
public static Font convertToFont(Object source) throws IllegalArgumentException
font
.IllegalArgumentException
public static Shape convertToShape(Object source) throws IllegalArgumentException
shape
.IllegalArgumentException
public static Insets convertToInsets(Object source) throws IllegalArgumentException
insets
object.IllegalArgumentException
public static IlvRect convertToRect(Object source) throws IllegalArgumentException
rectangle
.IllegalArgumentException
public static String decimalFormat(String format, long value)
long
value using
java.text.DecimalFormat
.format
- The format.value
- The value to be formatted.public static String decimalFormat(String format, double value)
double
value using
java.text.DecimalFormat
.format
- The format.value
- The value to be formatted.public static String decimalFormat(String format, Object value)
java.text.DecimalFormat
.format
- The format.value
- The value to be formatted.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.