1 13 package com.tonbeller.wcf.ui; 14 15 import org.w3c.dom.Document ; 16 import org.w3c.dom.Element ; 17 18 22 public class RadioButtons extends SelectSingle { 23 public static final String NODENAME = "radioButtons"; 24 25 public static boolean isRadioButtons(Element elem) { 26 return elem.getNodeName().equals(NODENAME); 27 } 28 29 30 public static Element createRadioButtons(Document doc) { 31 Element rbs = XoplonCtrl.createCtrl(doc, NODENAME); 32 return rbs; 33 } 34 35 36 public static Element addRadioButtons(Element parent) { 37 Element rbs = createRadioButtons(parent.getOwnerDocument()); 38 parent.appendChild(rbs); 39 return rbs; 40 } 41 42 } 43 | Popular Tags |