1 package sharin.doc.builder.xhtml1; 2 3 public class FrameElem extends GenericCoreElem<FrameElem> { 4 5 public FrameElem(Object... nodes) { 6 super("frame", nodes); 7 } 8 9 public FrameElem frameborder(Object value) { 10 return attr("frameborder", value); 11 } 12 13 public FrameElem frameborder0() { 14 return frameborder("0"); 15 } 16 17 public FrameElem frameborder1() { 18 return frameborder("1"); 19 } 20 21 public FrameElem longdesc(Object value) { 22 return attr("longdesc", value); 23 } 24 25 public FrameElem marginheight(Object value) { 26 return attr("marginheight", value); 27 } 28 29 public FrameElem marginwidth(Object value) { 30 return attr("marginwidth", value); 31 } 32 33 public FrameElem name(Object value) { 34 return attr("name", value); 35 } 36 37 public FrameElem noresize(boolean noresize) { 38 return noresize ? noresize("noresize") : this; 39 } 40 41 public FrameElem noresize(Object value) { 42 return attr("noresize", value); 43 } 44 45 public FrameElem scrolling(Object value) { 46 return attr("scrolling", value); 47 } 48 49 public FrameElem scrollingAuto() { 50 return scrolling("auto"); 51 } 52 53 public FrameElem scrollingNo() { 54 return scrolling("no"); 55 } 56 57 public FrameElem scrollingYes() { 58 return scrolling("yes"); 59 } 60 61 public FrameElem src(Object value) { 62 return attr("src", value); 63 } 64 }