|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.ReportEnv
public class ReportEnv
The report environment properties class. This class can be used to set property values or access property values. Some aspects of report generation are controlled through properties. Please read the Style Report Programming Guide for available properties.
| Constructor Summary | |
|---|---|
ReportEnv()
|
|
| Method Summary | |
|---|---|
static void |
clear()
Clear and reload the properties. |
static Boolean |
getBoolean(String name)
Get a property as a boolean value. |
static double[] |
getDoubles(String name)
Get a property as a list of numbers (separated by comma). |
static Thread |
getEventDispatcher()
Get the AWT event dispatcher. |
static Font |
getFont(String name)
Get a property as a font. |
static Insets |
getInsets(String name)
Get a property as an insets. |
static Integer |
getInt(String name)
Get a property as an integer. |
static String |
getPath(String name,
String def)
Get a property value from specific properties set as a file path. |
static Properties |
getProperties()
Get the properties object. |
static Properties |
getProperty(inetsoft.util.ReportKey key)
Get properties. |
static String |
getProperty(String name)
Get a property value. |
static String |
getProperty(String name,
String def)
Get a property value with a default if the property is not defined. |
static void |
init(Properties prop)
Use the properties from another application to access configuration information. |
static void |
init(String path)
Initialize the environment. |
static boolean |
isDesignTime()
Check if this is running in designer. |
static boolean |
isHandlingEvent()
Check if event dispatcher is handling event. |
static boolean |
isInitializing()
Check if is in initializing. |
static void |
setConfigurationHome(String home)
Set the path of the configuration directory. |
static void |
setDesignTime(boolean flag)
Set whether this is running in designer. |
static void |
setEventDispatcher(Thread thread)
Set the AWT event dispatcher. |
static void |
setInitializing(boolean init)
Set whether is in initializing. |
static void |
setProperty(String name,
String val)
Set the value of a property. |
static String |
substitute(String line,
Properties dict)
Substitute $(name) in the line with the value in dict. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportEnv()
| Method Detail |
|---|
public static boolean isHandlingEvent()
public static Thread getEventDispatcher()
public static void setEventDispatcher(Thread thread)
public static String getProperty(String name)
public static String getProperty(String name,
String def)
public static void setProperty(String name,
String val)
public static Properties getProperties()
public static String getPath(String name,
String def)
name - property name.def - default value if the property is null.public static void setConfigurationHome(String home)
public static Font getFont(String name)
public static String substitute(String line,
Properties dict)
public static void init(String path)
throws IOException
path - the initial property file path.
IOExceptionpublic static void init(Properties prop)
public static void setDesignTime(boolean flag)
public static boolean isDesignTime()
public static void clear()
public static Properties getProperty(inetsoft.util.ReportKey key)
public static boolean isInitializing()
public static void setInitializing(boolean init)
public static Insets getInsets(String name)
public static Integer getInt(String name)
public static Boolean getBoolean(String name)
public static double[] getDoubles(String name)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||