com.bc.ceres.swing.TableLayout.setCellAnchor()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(92)

本文整理了Java中com.bc.ceres.swing.TableLayout.setCellAnchor()方法的一些代码示例,展示了TableLayout.setCellAnchor()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。TableLayout.setCellAnchor()方法的具体详情如下:
包路径:com.bc.ceres.swing.TableLayout
类名称:TableLayout
方法名:setCellAnchor

TableLayout.setCellAnchor介绍

暂无

代码示例

代码示例来源:origin: senbox-org/snap-desktop

layout.setCellColspan(2, 0, 2);
layout.setCellFill(2, 0, TableLayout.Fill.VERTICAL);
layout.setCellAnchor(2, 0, TableLayout.Anchor.CENTER);

代码示例来源:origin: senbox-org/snap-desktop

tableLayout.setTableWeightY(0.0);
tableLayout.setTableAnchor(TableLayout.Anchor.NORTHWEST);
tableLayout.setCellAnchor(0, 1, TableLayout.Anchor.NORTHEAST); // edit expression button
tableLayout.setRowFill(0, TableLayout.Fill.VERTICAL);
tableLayout.setCellFill(1, 0, TableLayout.Fill.BOTH); // expression text area

代码示例来源:origin: bcdev/beam

layout.setCellColspan(2, 0, 2);
layout.setCellFill(2, 0, TableLayout.Fill.VERTICAL);
layout.setCellAnchor(2, 0, TableLayout.Anchor.CENTER);

代码示例来源:origin: bcdev/beam

tableLayout.setTableWeightY(0.0);
tableLayout.setTableAnchor(TableLayout.Anchor.NORTHWEST);
tableLayout.setCellAnchor(0, 1, TableLayout.Anchor.NORTHEAST); // edit expression button
tableLayout.setRowFill(0, TableLayout.Fill.VERTICAL);
tableLayout.setCellFill(1, 0, TableLayout.Fill.BOTH); // expression text area

代码示例来源:origin: senbox-org/snap-desktop

tableLayout.setColumnWeightX(1, 1.0);
tableLayout.setCellColspan(2, 0, 2);
tableLayout.setCellAnchor(2, 0, TableLayout.Anchor.EAST);
tableLayout.setCellFill(2, 0, TableLayout.Fill.NONE);

代码示例来源:origin: bcdev/beam

tableLayout.setColumnWeightX(1, 1.0);
tableLayout.setCellColspan(2, 0, 2);
tableLayout.setCellAnchor(2, 0, TableLayout.Anchor.EAST);
tableLayout.setCellFill(2, 0, TableLayout.Fill.NONE);

代码示例来源:origin: bcdev/beam

@Override
protected void initPageUI() {
  visualizer = createOffsetVisualizer();
  visualizer.setPreferredSize(new Dimension(60, 60));
  visualizer.setOpaque(true);
  visualizer.setBorder(BorderFactory.createLoweredBevelBorder());
  final TableLayout tableLayout = new TableLayout(3);
  tableLayout.setTableAnchor(TableLayout.Anchor.WEST);
  tableLayout.setTablePadding(4, 4);
  tableLayout.setTableFill(TableLayout.Fill.HORIZONTAL);
  final JPanel pageUI = new JPanel(tableLayout);
  pageUI.add(paramOffsetX.getEditor().getLabelComponent());
  tableLayout.setCellWeightX(0, 1, 1.0);
  pageUI.add(paramOffsetX.getEditor().getEditorComponent());
  tableLayout.setCellRowspan(0, 2, 2);
  tableLayout.setCellWeightX(0, 2, 1.0);
  tableLayout.setCellAnchor(0, 2, TableLayout.Anchor.CENTER);
  tableLayout.setCellFill(0, 2, TableLayout.Fill.NONE);
  pageUI.add(visualizer);
  pageUI.add(paramOffsetY.getEditor().getLabelComponent());
  tableLayout.setCellWeightX(1, 1, 1.0);
  pageUI.add(paramOffsetY.getEditor().getEditorComponent());
  tableLayout.setRowPadding(2, new Insets(10, 0, 4, 4));
  pageUI.add(paramShowDecimals.getEditor().getEditorComponent(), cell(2, 0, 1, 3));
  tableLayout.setRowPadding(3, new Insets(10, 0, 4, 4));
  pageUI.add(paramGeolocationAsDecimal.getEditor().getEditorComponent(), cell(3, 0, 1, 3));
  setPageUI(createPageUIContentPane(pageUI));
}

代码示例来源:origin: senbox-org/snap-desktop

add(p3);
layout.setCellFill(2, 0, TableLayout.Fill.NONE);
layout.setCellAnchor(2, 0, TableLayout.Anchor.NORTHEAST);
add(referencedRastersAreCompatibleLabel);
add(storeInProductCheck);

相关文章