|
JIDE Common Layer 2.7.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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 java.lang.String |
BOLD
|
static java.lang.String |
BOLD_ITALIC
|
static java.lang.String |
ITALIC
|
Constructor Summary | |
---|---|
SecurityUtils()
|
Method Summary | |
---|---|
static java.awt.Font |
createFont(java.lang.String name,
int style,
int size)
Creates font. |
static javax.swing.plaf.FontUIResource |
createFontUIResource(java.lang.String name,
int style,
int size)
|
static java.lang.String |
getProperty(java.lang.String key,
java.lang.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 java.lang.String BOLD
public static final java.lang.String ITALIC
public static final java.lang.String BOLD_ITALIC
Constructor Detail |
---|
public SecurityUtils()
Method Detail |
---|
public static javax.swing.plaf.FontUIResource createFontUIResource(java.lang.String name, int style, int size)
public static java.awt.Font createFont(java.lang.String name, int style, int size)
name
- the font name.style
- the font style.size
- the font size.
public static java.lang.String getProperty(java.lang.String key, java.lang.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 Common Layer 2.7.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |