com.vaadin.server.FontIcon Java Examples

The following examples show how to use com.vaadin.server.FontIcon. 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: GridCellFilter.java    From vaadin-grid-util with MIT License 4 votes vote down vote up
public BooleanRepresentation(Boolean value, FontIcon icon, String caption) {
    this.value = value;
    this.icon = icon;
    this.caption = caption;
}
 
Example #2
Source File: GridCellFilter.java    From vaadin-grid-util with MIT License 4 votes vote down vote up
public FontIcon getIcon() {
    return icon;
}
 
Example #3
Source File: Inhabitants.java    From vaadin-grid-util with MIT License 4 votes vote down vote up
Gender(FontIcon icon) {
    this.icon = icon;
}
 
Example #4
Source File: Inhabitants.java    From vaadin-grid-util with MIT License 4 votes vote down vote up
public FontIcon getIcon() {
    return icon;
}
 
Example #5
Source File: DisclosurePanel.java    From viritin with Apache License 2.0 4 votes vote down vote up
public FontIcon getClosedIcon() {
    return closedIcon;
}
 
Example #6
Source File: DisclosurePanel.java    From viritin with Apache License 2.0 4 votes vote down vote up
public DisclosurePanel setClosedIcon(FontIcon closedIcon) {
    this.closedIcon = closedIcon;
    return setOpen(isOpen());
}
 
Example #7
Source File: DisclosurePanel.java    From viritin with Apache License 2.0 4 votes vote down vote up
public FontIcon getOpenIcon() {
    return openIcon;
}
 
Example #8
Source File: DisclosurePanel.java    From viritin with Apache License 2.0 4 votes vote down vote up
public DisclosurePanel setOpenIcon(FontIcon openIcon) {
    this.openIcon = openIcon;
    return setOpen(isOpen());
}
 
Example #9
Source File: MetaFieldBuilder.java    From mycollab with GNU Affero General Public License v3.0 4 votes vote down vote up
public MetaFieldBuilder withCaptionAndIcon(FontIcon icon, String caption) {
    captionHtml = icon.getHtml() + " " + StringUtils.trim(caption, 20, true);
    return this;
}