public ListItem<T> appendChild(Node node) { asElement().appendChild(node); return this; }
public ListItem<T> appendChild(Node node) { asElement().appendChild(node); return this; }
public DropdownAction(String value, HTMLElement content) { this.value = value; this.content = content; init(); aElement.appendChild(content); init(this); }
@Override public void markAsDirty(final boolean dirty) { if (dirty && sectionMenuItemLink.childElementCount == 0) { sectionMenuItemLink.appendChild(newDirtyIndicator()); } else if (!dirty && sectionMenuItemLink.childElementCount > 0) { sectionMenuItemLink.removeChild(sectionMenuItemLink.lastElementChild); } }
public DropdownAction(String value, HTMLElement content) { this.value = value; this.content = content; init(); aElement.appendChild(content); init(this); }
public Tab(BaseIcon<?> icon, String text) { if (nonNull(icon)) { clickableElement.appendChild(icon.asElement()); } if (nonNull(text)) { clickableElement.appendChild(span().add(TextNode.of(text)).asElement()); } init(this); withWaves(); }
public Tab(BaseIcon<?> icon, String text) { if (nonNull(icon)) { clickableElement.appendChild(icon.asElement()); } if (nonNull(text)) { clickableElement.appendChild(span().add(TextNode.of(text)).asElement()); } init(this); withWaves(); }
public DropdownAction(String value, String displayValue) { this.value = value; init(); aElement.appendChild(TextNode.of(displayValue)); init(this); }
public TopBarAction(BaseIcon<?> icon) { element.appendChild(clickableElement); clickableElement.appendChild(icon.asElement()); init(this); }
public TopBarAction(BaseIcon<?> icon) { element.appendChild(clickableElement); clickableElement.appendChild(icon.asElement()); init(this); }
public DropdownAction(String value, String displayValue) { this.value = value; init(); aElement.appendChild(TextNode.of(displayValue)); init(this); }
public HeaderAction(BaseIcon<?> icon) { this.icon = icon; this.icon.withWaves() .styler(style -> style.add(Styles.pull_right, ACTION_ICON)); anchorElement.appendChild(this.icon.asElement()); element.appendChild(anchorElement); init(this); }
public HeaderAction(BaseIcon<?> icon) { this.icon = icon; this.icon.withWaves() .styler(style -> style.add(Styles.pull_right, ACTION_ICON)); anchorElement.appendChild(this.icon.asElement()); element.appendChild(anchorElement); init(this); }
private void appendElements() { root.appendChild(overlay.asElement()); root.appendChild(navigationBar.asElement()); root.appendChild(section.asElement()); root.appendChild(content.asElement()); root.appendChild(footer.asElement()); navigationBar.title.appendChild(appTitle); }
private void appendElements() { root.appendChild(overlay.asElement()); root.appendChild(navigationBar.asElement()); root.appendChild(section.asElement()); root.appendChild(content.asElement()); root.appendChild(footer.asElement()); navigationBar.title.appendChild(appTitle); }