org.pdfsam.ui.support.Views.titledPane()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(4.3k)|赞(0)|评价(0)|浏览(111)

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

Views.titledPane介绍

暂无

代码示例

代码示例来源:origin: torakiki/pdfsam

private VBox settingPanel() {
  VBox pane = new VBox();
  pane.setAlignment(Pos.TOP_CENTER);
  VBox.setVgrow(selectionPane, Priority.ALWAYS);
  TitledPane prefixTitled = Views.titledPane(DefaultI18nContext.getInstance().i18n("File names settings"),
      prefix);
  prefix.addMenuItemFor(Prefix.FILENUMBER);
  pane.getChildren().addAll(selectionPane,
      titledPane(DefaultI18nContext.getInstance().i18n("Extract settings"), extractOptions),
      titledPane(DefaultI18nContext.getInstance().i18n("Output settings"), destinationPane), prefixTitled);
  return pane;
}

代码示例来源:origin: torakiki/pdfsam

private VBox settingPanel() {
  VBox pane = new VBox();
  pane.setAlignment(Pos.TOP_CENTER);
  TitledPane prefixTitled = Views.titledPane(DefaultI18nContext.getInstance().i18n("File names settings"),
      prefix);
  prefix.addMenuItemFor(Prefix.CURRENTPAGE);
  prefix.addMenuItemFor(Prefix.FILENUMBER);
  pane.getChildren().addAll(selectionPane,
      Views.titledPane(DefaultI18nContext.getInstance().i18n("Split settings"), splitOptions),
      Views.titledPane(DefaultI18nContext.getInstance().i18n("Output settings"), destinationPane),
      prefixTitled);
  return pane;
}

代码示例来源:origin: torakiki/pdfsam

private VBox settingPanel() {
  VBox pane = new VBox();
  pane.setAlignment(Pos.TOP_CENTER);
  TitledPane prefixTitled = Views.titledPane(DefaultI18nContext.getInstance().i18n("File names settings"),
      prefix);
  prefix.addMenuItemFor(Prefix.CURRENTPAGE);
  prefix.addMenuItemFor(Prefix.FILENUMBER);
  pane.getChildren().addAll(selectionPane,
      Views.titledPane(DefaultI18nContext.getInstance().i18n("Split settings"), splitOptions),
      Views.titledPane(DefaultI18nContext.getInstance().i18n("Output settings"), destinationPane),
      prefixTitled);
  return pane;
}

代码示例来源:origin: torakiki/pdfsam

private VBox settingPanel() {
  VBox pane = new VBox();
  pane.setAlignment(Pos.TOP_CENTER);
  VBox.setVgrow(selectionPane, Priority.ALWAYS);
  TitledPane prefixTitled = Views.titledPane(DefaultI18nContext.getInstance().i18n("File names settings"),
      prefix);
  prefix.addMenuItemFor(Prefix.FILENUMBER);
  TitledPane options = Views.titledPane(DefaultI18nContext.getInstance().i18n("Rotate settings"), rotateOptions);
  pane.getChildren().addAll(selectionPane, options,
      Views.titledPane(DefaultI18nContext.getInstance().i18n("Output settings"), destinationPane),
      prefixTitled);
  return pane;
}

代码示例来源:origin: torakiki/pdfsam

private VBox settingPanel() {
  VBox pane = new VBox();
  pane.setAlignment(Pos.TOP_CENTER);
  VBox.setVgrow(selectionPane, Priority.ALWAYS);
  pane.getChildren().addAll(selectionPane,
      titledPane(DefaultI18nContext.getInstance().i18n("Merge settings"), mergeOptions),
      titledPane(DefaultI18nContext.getInstance().i18n("Destination file"), destinationPane));
  return pane;
}

代码示例来源:origin: torakiki/pdfsam

private VBox settingPanel() {
  VBox pane = new VBox();
  pane.setAlignment(Pos.TOP_CENTER);
  TitledPane prefixTitled = Views.titledPane(DefaultI18nContext.getInstance().i18n("File names settings"),
      prefix);
  prefix.addMenuItemFor(Prefix.CURRENTPAGE);
  prefix.addMenuItemFor(Prefix.FILENUMBER);
  prefix.addMenuItemFor(Prefix.BOOKMARK);
  prefix.addMenuItemFor(Prefix.BOOKMARK_STRICT);
  pane.getChildren().addAll(selectionPane,
      Views.titledPane(DefaultI18nContext.getInstance().i18n("Split settings"), splitOptions),
      Views.titledPane(DefaultI18nContext.getInstance().i18n("Output settings"), destinationPane),
      prefixTitled);
  return pane;
}

代码示例来源:origin: torakiki/pdfsam

private VBox settingPanel() {
  VBox pane = new VBox();
  pane.setAlignment(Pos.TOP_CENTER);
  VBox.setVgrow(selectionPane, Priority.ALWAYS);
  pane.getChildren().addAll(selectionPane,
      Views.titledPane(DefaultI18nContext.getInstance().i18n("Destination file"), destinationPane));
  return pane;
}

代码示例来源:origin: torakiki/pdfsam

discardBookmarks.ifPresent(advancedPanel.getChildren()::add);
advancedPanel.getChildren().add(versionPane);
TitledPane titledAdvanced = Views.titledPane(DefaultI18nContext.getInstance().i18n("Show advanced settings"),
    advancedPanel);
titledAdvanced.getStyleClass().add("advanced-destination-pane");

相关文章