Examples of LinkElement


Examples of elemental.html.LinkElement

      return CssUtils.isVisible(domInspectorIframe);
    }

    private void onDomInspectorIframeLoaded() {
      // <link href="test.css" rel="stylesheet" type="text/css">
      LinkElement linkElement = Elements.getDocument().createLinkElement();
      linkElement.setRel("stylesheet");
      linkElement.setType("text/css");
      linkElement.setHref("/static/dominspector_css_compiled.css");
      Elements.getHead(domInspectorIframe.getContentDocument()).appendChild(linkElement);

      ScriptElement scriptElement = Elements.getDocument().createScriptElement();
      scriptElement.setSrc("/static/dominspector_js_compiled.js");
      Elements.getBody(domInspectorIframe.getContentDocument()).appendChild(scriptElement);
View Full Code Here

Examples of org.olat.core.gui.formelements.LinkElement

        renderDropDown(f, se, sb);
      } else if (fe instanceof MultipleSelectionElement) {
        MultipleSelectionElement me = (MultipleSelectionElement) fe;
        renderCheckBoxes(f, me, translator, sb);
      } else if (fe instanceof LinkElement) {
        LinkElement le = (LinkElement) fe;
        renderLink(f, le, translator, sb);
      } else {
        throw new OLATRuntimeException("Unknown for element::" + fe.getName() + " " + fe.getClass().getCanonicalName(), null);
      }
View Full Code Here

Examples of org.olat.core.gui.formelements.LinkElement

    date.setDateChooserDateFormat("%d.%m.%Y");
    date.setUseDateChooser(true);
    date.setExample("Format: dd.mm.yyyy [e.g. 17.04.2007]");
    addFormElement("date", date);
   
    link = new LinkElement("guidemo.form.link", "http://www.google.com/", "Link to google.com");
    addFormElement("link", link);
   
    // radio
    String[] keys = new String[] { "1", "2", "3", "4" };
    String[] lables = new String[] { "red", "green", "blue", "yellow" };
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.