Lines Matching defs:atts
99 URL doc, Hashtable atts) {
100 return new AppletViewer(x, y, doc, atts, System.out, this);
158 public AppletViewer(int x, int y, URL doc, Hashtable atts,
162 setTitle(amh.getMessage("tool.title", atts.get("code")));
193 add("Center", panel = new AppletViewerPanel(doc, atts));
525 public static void printTag(PrintStream out, Hashtable atts) {
528 String v = (String)atts.get("codebase");
533 v = (String)atts.get("code");
538 v = (String)atts.get("width");
544 v = (String)atts.get("height");
550 v = (String)atts.get("name");
557 int len = atts.size();
560 for (Enumeration e = atts.keys() ; e.hasMoreElements() ;) {
577 " value=\"" + atts.get(param) + "\">");
589 panel.atts.put("width",
591 panel.atts.put("height",
694 panel.documentURL, (Hashtable)panel.atts.clone());
703 printTag(new PrintStream(out), panel.atts);
720 String atts[][] = panel.applet.getParameterInfo();
721 if (atts != null) {
722 for (int i = 0 ; i < atts.length ; i++) {
723 str += atts[i][0] + " -- " + atts[i][1] + " -- " + atts[i][2] + "\n";
1005 Hashtable atts = new Hashtable();
1035 atts.put(att.toLowerCase(java.util.Locale.ENGLISH), val);
1047 return atts;
1110 Hashtable atts = null;
1129 if (atts.get("code") == null && atts.get("object") == null) {
1131 atts = null;
1135 if (atts != null) {
1140 factory.createAppletViewer(x, y, url, atts);
1151 atts = null;
1168 } else if (atts != null) {
1169 atts.put(att.toLowerCase(), val);
1177 atts = scanTag(in);
1178 if (atts.get("code") == null && atts.get("object") == null) {
1180 atts = null;
1181 } else if (atts.get("width") == null) {
1183 atts = null;
1184 } else if (atts.get("height") == null) {
1186 atts = null;
1191 atts = scanTag(in);
1194 if(atts.get("codebase") != null) {
1195 atts.remove("codebase");
1198 if (atts.get("width") == null) {
1200 atts = null;
1201 } else if (atts.get("height") == null) {
1203 atts = null;
1208 atts = scanTag(in);
1210 if (atts.get("code") == null && atts.get("object") == null) {
1212 atts = null;
1213 } else if (atts.get("width") == null) {
1215 atts = null;
1216 } else if (atts.get("height") == null) {
1218 atts = null;