本文整理了Java中com.google.gwt.user.client.ui.Grid.setCellSpacing()
方法的一些代码示例,展示了Grid.setCellSpacing()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Grid.setCellSpacing()
方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.Grid
类名称:Grid
方法名:setCellSpacing
暂无
代码示例来源:origin: org.jbpm/jbpm-gwt-form-api
public ResizablePanel(Widget widget, int initialWidth, int initialHeight) {
super();
this.widget = widget;
grid.setBorderWidth(0);
grid.setCellPadding(0);
grid.setCellSpacing(0);
sinkEvents(Event.ONMOUSEOUT | Event.ONMOUSEDOWN | Event.ONMOUSEMOVE | Event.ONMOUSEUP | Event.ONMOUSEOVER);
makeGrid();
setWidget(grid);
setSize("" + initialWidth + "px", "" + initialHeight + "px");
}
代码示例来源:origin: org.drools/drools-wb-guided-scorecard-editor-client
private Widget getRuleAttributesPanel() {
ruleAttributesGrid = new Grid(2, 4);
ruleAttributesGrid.setCellSpacing(5);
ruleAttributesGrid.setCellPadding(5);
ruleAttributesGrid.setText(0, 0, GuidedScoreCardConstants.INSTANCE.ruleFlowGroup());
ruleAttributesGrid.setText(0, 1, GuidedScoreCardConstants.INSTANCE.agendaGroup());
final String ruleFlowGroup = model.getRuleFlowGroup();
final String agendaGroup = model.getAgendaGroup();
tbRuleFlowGroup = TextBoxFactory.getTextBox(DataType.TYPE_STRING);
if (!(ruleFlowGroup == null || ruleFlowGroup.isEmpty())) {
tbRuleFlowGroup.setText(ruleFlowGroup);
}
tbAgendaGroup = TextBoxFactory.getTextBox(DataType.TYPE_STRING);
if (!(agendaGroup == null || agendaGroup.isEmpty())) {
tbAgendaGroup.setText(agendaGroup);
}
ruleAttributesGrid.setWidget(1, 0, tbRuleFlowGroup);
ruleAttributesGrid.setWidget(1, 1, tbAgendaGroup);
return ruleAttributesGrid;
}
代码示例来源:origin: kiegroup/drools-wb
private Widget getRuleAttributesPanel() {
ruleAttributesGrid = new Grid(2, 4);
ruleAttributesGrid.setCellSpacing(5);
ruleAttributesGrid.setCellPadding(5);
ruleAttributesGrid.setText(0, 0, GuidedScoreCardConstants.INSTANCE.ruleFlowGroup());
ruleAttributesGrid.setText(0, 1, GuidedScoreCardConstants.INSTANCE.agendaGroup());
final String ruleFlowGroup = model.getRuleFlowGroup();
final String agendaGroup = model.getAgendaGroup();
tbRuleFlowGroup = TextBoxFactory.getTextBox(DataType.TYPE_STRING);
if (!(ruleFlowGroup == null || ruleFlowGroup.isEmpty())) {
tbRuleFlowGroup.setText(ruleFlowGroup);
}
tbAgendaGroup = TextBoxFactory.getTextBox(DataType.TYPE_STRING);
if (!(agendaGroup == null || agendaGroup.isEmpty())) {
tbAgendaGroup.setText(agendaGroup);
}
ruleAttributesGrid.setWidget(1, 0, tbRuleFlowGroup);
ruleAttributesGrid.setWidget(1, 1, tbAgendaGroup);
return ruleAttributesGrid;
}
代码示例来源:origin: org.drools/drools-wb-guided-scorecard-editor-client
scorecardPropertiesGrid.setCellSpacing(5);
scorecardPropertiesGrid.setCellPadding(5);
代码示例来源:origin: kiegroup/drools-wb
scorecardPropertiesGrid.setCellSpacing(5);
scorecardPropertiesGrid.setCellPadding(5);
代码示例来源:origin: com.extjs/gxt
grid.getElement().setAttribute("role", "presentation");
grid.setCellPadding(0);
grid.setCellSpacing(0);
int mark = 0;
代码示例来源:origin: de.esoco/gewt
aMainPanel.getCellFormatter().setWidth(DATA_ROW, 0, "100%");
aMainPanel.getCellFormatter().setHeight(DATA_ROW, 0, "100%");
aMainPanel.setCellSpacing(0);
aMainPanel.setCellPadding(0);
代码示例来源:origin: com.extjs/gxt
days.setStyleName("x-date-days");
days.setCellPadding(0);
days.setCellSpacing(0);
days.setBorderWidth(0);
grid.setCellSpacing(0);
grid.setCellPadding(0);
grid.addClickHandler(new ClickHandler() {
内容来源于网络,如有侵权,请联系作者删除!