com.google.gwt.uibinder.client.UiChild Java Examples

The following examples show how to use com.google.gwt.uibinder.client.UiChild. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CarouselItem.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 5 votes vote down vote up
@UiChild(limit = 1, tagname = "caption")
public void addCaption(IsWidget caption) {
	OneWidgetPanel captionContainer = new OneWidgetPanel();
	StyleUtils.addStyle(captionContainer, CarouselItem.STYLE_CAROUSEL_CAPTION);
	captionContainer.setWidget(caption);
	this.add(captionContainer);
}
 
Example #2
Source File: MaterialValueBox.java    From gwt-material with Apache License 2.0 4 votes vote down vote up
@Deprecated
@UiChild(limit = 1)
public void addValueBox(ValueBoxBase<T> widget) {
    setup(widget);
}
 
Example #3
Source File: ValueBoxEditor.java    From dashbuilder with Apache License 2.0 4 votes vote down vote up
@UiChild(limit = 1, tagname = "valuebox")
void setValueBox(final ValueBoxBase<T> widget);
 
Example #4
Source File: InputList.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "input")
public void addInput(InputFactory inputFactory) {
	this.inputFactory = inputFactory;
}
 
Example #5
Source File: InputList.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "output")
public void addOutput(OutputFactory outputFactory) {
	this.outputFactory = outputFactory;
}
 
Example #6
Source File: InputGroup.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "input")
public void addInput(IsWidget child) {
	this.append(child);
	this.addEditor(child);
}
 
Example #7
Source File: InputGroup.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "addon")
public void addAddon(Widget addon) {
	this.append(addon);
	this.addEditor(addon);
	StyleUtils.addStyle(addon, InputGroup.STYLE_INPUT_GROUP_ADDON);
}
 
Example #8
Source File: InputGroup.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "button")
public void addButton(Widget button) {
	this.append(button);
	this.addEditor(button);
	StyleUtils.addStyle(button, InputGroup.STYLE_INPUT_GROUP_BUTTON);
}
 
Example #9
Source File: TabPanelContent.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(limit = 1, tagname = "tabLink")
public void addTabLink(NavLink tabLink) {
	this.tabLink = tabLink;
}
 
Example #10
Source File: Navbar.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "Brand")
public void addBrand(Widget w) {
	StyleUtils.addStyle(Widget.asWidgetOrNull(w), Navbar.STYLE_BRAND);
	this.headerContainer.add(w);
}
 
Example #11
Source File: Navbar.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "left")
public void addLeft(IsWidget w) {
	StyleUtils.addStyle(Widget.asWidgetOrNull(w), Navbar.STYLE_NAVBAR_LEFT);
	this.add(w);
}
 
Example #12
Source File: Navbar.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "right")
public void addRight(IsWidget w) {
	StyleUtils.addStyle(Widget.asWidgetOrNull(w), Navbar.STYLE_NAVBAR_RIGHT);
	this.add(w);
}
 
Example #13
Source File: OutputBoolean.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "iconTrue", limit = 1)
public void setTrueIcon(Icon icon) {
	this.trueIcon = icon;
	this.resetInner();
}
 
Example #14
Source File: OutputBoolean.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "iconFalse", limit = 1)
public void setFalseIcon(Icon icon) {
	this.falseIcon = icon;
	this.resetInner();
}
 
Example #15
Source File: Panel.java    From putnami-web-toolkit with GNU Lesser General Public License v3.0 4 votes vote down vote up
@UiChild(tagname = "command")
public void addCommand(IsWidget w) {
	this.commands.add(w);
}