| java.lang.Object com.jidesoft.utils.SecurityUtils
SecurityUtils | public class SecurityUtils (Code) | | 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.
|
Inner Class :static class FontStruct | |
createFont | public static Font createFont(String name, int style, int size)(Code) | | Creates font. If there is no permission to access font file, it will try to create the font
directly from font file that is bundled as part of jar.
Parameters: name - Parameters: style - Parameters: size - the font. |
getProperty | public static String getProperty(String key, String defaultValue)(Code) | | Gets the system property.
Parameters: key - Parameters: defaultValue - the system property. |
isAWTEventListenerDisabled | public static boolean isAWTEventListenerDisabled()(Code) | | Checks if AWTEventListener is disabled. This flag can be set by user. If false, JIDE code will read the value and
not use AWTEventListener. The reason we need this flag is because AWTEventListener needs a special security permission.
If applet, it will throw security if the user policy doesn't have the correct permission.
true if AWTEventListener is disabled. |
setAWTEventListenerDisabled | public static void setAWTEventListenerDisabled(boolean AWTEventListenerDisabled)(Code) | | Enables or disables the usage of AWTEventListener. If you wantto change it, you should change the value at
the beginning of your main method.
Parameters: AWTEventListenerDisabled - |
|
|