Class AppletUtils

java.lang.Object
net.sourceforge.jnlp.util.AppletUtils

public class AppletUtils extends Object
  • Field Details

    • LOG

      private static final Logger LOG
  • Constructor Details

    • AppletUtils

      public AppletUtils()
  • Method Details

    • getFixedWidth

      public static int getFixedWidth(int width, Map<String,String> parameters)
      Returns:
      the width of the Applet in pixels
    • getFixedHeight

      public static int getFixedHeight(int height, Map<String,String> parameters)
      Returns:
      the height of the Applet in pixels
    • fixHeight

      private static Integer fixHeight(Map<String,String> parameters)
    • fixWidth

      private static Integer fixWidth(Map<String,String> parameters)
    • getConfigurationPropertyAsInt

      private static Integer getConfigurationPropertyAsInt(String name)
    • fixSize

      private static Integer fixSize(String depKey, Map<String,String> parameters, String... keys)