|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.utils.SecurityUtils
public class SecurityUtils
A class that keeps all the security stuff so that an application can safely run in applet or webstart environment. Please refer to JIDE_Developer_Guide_for_Webstart_Applet.pdf in doc folder for more information.
Field Summary | |
---|---|
static String |
BOLD
|
static String |
BOLD_ITALIC
|
static String |
ITALIC
|
Constructor Summary | |
---|---|
SecurityUtils()
|
Method Summary | |
---|---|
static Font |
createFont(String name,
int style,
int size)
Creates font. |
static FontUIResource |
createFontUIResource(String name,
int style,
int size)
|
static String |
getProperty(String key,
String defaultValue)
Gets the system property. |
static boolean |
isAWTEventListenerDisabled()
Checks if AWTEventListener is disabled. |
static boolean |
isTranslucentWindowFeatureDisabled()
Checks if the translucent window feature is disabled. |
static void |
setAWTEventListenerDisabled(boolean AWTEventListenerDisabled)
Enables or disables the usage of AWTEventListener. |
static void |
setTranslucentWindowFeatureDisabled(boolean translucentWindowFeatureDisabled)
Disables or enables the usage of the translucent window feature available since JDK6u10. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BOLD
public static final String ITALIC
public static final String BOLD_ITALIC
Constructor Detail |
---|
public SecurityUtils()
Method Detail |
---|
public static FontUIResource createFontUIResource(String name, int style, int size)
public static Font createFont(String name, int style, int size)
name
- the font name.style
- the font style.size
- the font size.
public static String getProperty(String key, String defaultValue)
key
- the property keydefaultValue
- the default value for the property.
public static boolean isAWTEventListenerDisabled()
public static void setAWTEventListenerDisabled(boolean AWTEventListenerDisabled)
AWTEventListenerDisabled
- true or false.public static boolean isTranslucentWindowFeatureDisabled()
public static void setTranslucentWindowFeatureDisabled(boolean translucentWindowFeatureDisabled)
translucentWindowFeatureDisabled
- true or false.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |