本文整理汇总了Java中com.vaadin.server.AbstractClientConnector类的典型用法代码示例。如果您正苦于以下问题:Java AbstractClientConnector类的具体用法?Java AbstractClientConnector怎么用?Java AbstractClientConnector使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AbstractClientConnector类属于com.vaadin.server包,在下文中一共展示了AbstractClientConnector类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: extend
import com.vaadin.server.AbstractClientConnector; //导入依赖的package包/类
public static TextOverlay extend(final Component comp)
{
final TextOverlay overlay = new TextOverlay();
final AbstractClientConnector compConnector = (AbstractClientConnector)comp;
overlay.extend(compConnector);
return overlay;
}
示例2: extend
import com.vaadin.server.AbstractClientConnector; //导入依赖的package包/类
@Override
protected void extend(AbstractClientConnector target) {
super.extend(target);
registerRpc((CubaMultiSelectionModelServerRpc) (start, length) -> {
if (length != 0) {
select(getParentGrid().getContainerDataSource().getItemIds(start, length), false);
}
});
}
示例3: extend
import com.vaadin.server.AbstractClientConnector; //导入依赖的package包/类
@Override
public void extend(AbstractClientConnector target) {
super.extend(target);
}
示例4: extend
import com.vaadin.server.AbstractClientConnector; //导入依赖的package包/类
public static void extend(TextField field) {
new ResetButtonForTextField().extend((AbstractClientConnector) field);
}
示例5: extend
import com.vaadin.server.AbstractClientConnector; //导入依赖的package包/类
public static ResetButtonForTextField extend(TextField field) {
ResetButtonForTextField resetButton = new ResetButtonForTextField();
resetButton.extend((AbstractClientConnector) field);
return resetButton;
}
示例6: getEntryTable
import com.vaadin.server.AbstractClientConnector; //导入依赖的package包/类
public AbstractClientConnector getEntryTable() {
return entryTable;
}
示例7: extend
import com.vaadin.server.AbstractClientConnector; //导入依赖的package包/类
/**
* 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;
}