类com.vaadin.server.AbstractClientConnector源码实例Demo

下面列出了怎么用com.vaadin.server.AbstractClientConnector的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: cuba   文件: HtmlAttributesExtension.java
public static HtmlAttributesExtension get(Component component) {
    for (Extension e : component.getExtensions()) {
        if (e instanceof HtmlAttributesExtension) {
            return (HtmlAttributesExtension) e;
        }
    }
    return new HtmlAttributesExtension((AbstractClientConnector) component);
}
 
源代码2 项目: cuba   文件: HtmlAttributesExtension.java
public HtmlAttributesExtension(AbstractClientConnector target) {
    super(target);
}
 
源代码3 项目: chipster   文件: StorageView.java
public AbstractClientConnector getEntryTable() {
	return entryTable;
}
 
源代码4 项目: GridExtensionPack   文件: WrappingGrid.java
/**
 * Constructor to create header wrapping extension for given Grid
 * 
 * @param grid The Grid where you want to apply header wrapping to
 * @param newDefaultRowHeight Header row height of the theme in px, e.g. Valo = 38, Reindeer = 21
 * @return
 */
public static WrappingGrid extend(Grid grid, int newDefaultRowHeight) {
	WrappingGrid g = new WrappingGrid();
	defaultRowHeight = newDefaultRowHeight;
	g.extend((AbstractClientConnector)grid);
	return g;
}
 
源代码5 项目: GridExtensionPack   文件: WrappingGrid.java
/**
 * Constructor to create header wrapping extension for given Grid, uses header row height of the Valo theme
 * 
 * @param grid The Grid where you want to apply header wrapping to
 * @return
 */
public static WrappingGrid extend(Grid grid) {
	WrappingGrid g = new WrappingGrid();
	g.extend((AbstractClientConnector)grid);
	return g;
}