javax.swing.JSplitPane.setName()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(5.3k)|赞(0)|评价(0)|浏览(102)

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

JSplitPane.setName介绍

暂无

代码示例

代码示例来源:origin: com.eas.platypus/platypus-js-forms

@ScriptFunction
@Override
public void setName(String name) {
  super.setName(name);
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createSplit() {
  $objectMap.put("split", split = new JSplitPane());
  
  split.setName("split");
  split.setOneTouchExpandable(true);
  split.setOrientation(0);
  split.setResizeWeight(0.8);
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createSplitPane() {
  $objectMap.put("splitPane", splitPane = new JSplitPane());
  
  splitPane.setName("splitPane");
  splitPane.setOneTouchExpandable(true);
  splitPane.setOrientation(0);
}

代码示例来源:origin: fr.ifremer/isis-fish

protected void createSplitPane2() {
  $objectMap.put("splitPane2", splitPane2 = new JSplitPane());
  
  splitPane2.setName("splitPane2");
  splitPane2.setOneTouchExpandable(true);
  splitPane2.setOrientation(1);
}

代码示例来源:origin: MegaMek/mekhq

public JTextPane getReport() {
  // SplitPane them
  JSplitPane splitOverviewPersonnel = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, getCombatPersonnelReport(), getSupportPersonnelReport());
  splitOverviewPersonnel.setName("splitOverviewPersonnel");
  splitOverviewPersonnel.setOneTouchExpandable(true);
  splitOverviewPersonnel.setResizeWeight(0.5);
  
  // Actual report pane
  JTextPane txtReport = new JTextPane();
  txtReport.setMinimumSize(new Dimension(800, 500));
  txtReport.insertComponent(splitOverviewPersonnel);
  return txtReport;
}

代码示例来源:origin: org.zaproxy/zap

private JSplitPane getSplitPane() {
  if (splitPane == null) {
    splitPane = new JSplitPane();
    splitPane.setName("AlertPanels");
    splitPane.setDividerSize(3);
    splitPane.setDividerLocation(400);
    splitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT);
    // Add toolbar
    JPanel panel = new JPanel();
    panel.setLayout(new GridBagLayout());
    panel.add(this.getPanelToolbar(), LayoutHelper.getGBC(0, 0, 1, 0.0D));
    panel.add(getPaneScroll(), LayoutHelper.getGBC(0, 1, 1, 1.0D, 1.0D));
    
    splitPane.setLeftComponent(panel);
    
    splitPane.setRightComponent(getAlertViewPanel());
    splitPane.setPreferredSize(new Dimension(100,200));
  }
  return splitPane;
}

代码示例来源:origin: Audiveris/audiveris

splitPane.setName("treeHtmlSplitPane");
splitPane.setContinuousLayout(true);
splitPane.setBorder(null);

代码示例来源:origin: net.sf.squirrel-sql.plugins/firebirdmanager

private JPanel createMain()
{
  initVisualObjects();
  JPanel jpanel1 = new JPanel();
  FormLayout formlayout1 =
    new FormLayout("FILL:3DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:3DLU:NONE",
      "CENTER:5DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:5DLU:NONE,CENTER:DEFAULT:NONE,CENTER:5DLU:NONE");
  CellConstraints cc = new CellConstraints();
  jpanel1.setLayout(formlayout1);
  jsplitpaneMain.setDividerLocation(180);
  jsplitpaneMain.setLastDividerLocation(-1);
  jsplitpaneMain.setName("jsplitpaneMain");
  jpanel1.add(jsplitpaneMain, cc.xy(2, 2));
  jpanel1.add(createPanelEdit(), cc.xy(2, 4));
  return jpanel1;
}

代码示例来源:origin: com.quinsoft.zeidon/object-browser

splitPane.setName( "AttributeSplitPane" );

代码示例来源:origin: MegaMek/mekhq

splitFinances.setContinuousLayout(true);
splitFinances.setResizeWeight(1.0);
splitFinances.setName("splitFinances");

代码示例来源:origin: fr.ifremer/isis-fish

$JSplitPane0.setName("$JSplitPane0");
$JSplitPane0.setDividerLocation(200);
$JSplitPane0.setOneTouchExpandable(true);
$JSplitPane1.setName("$JSplitPane1");
$JSplitPane1.setDividerLocation(400);
$JSplitPane1.setOneTouchExpandable(true);

代码示例来源:origin: fr.ifremer/isis-fish

$JSplitPane0.setName("$JSplitPane0");
$JSplitPane0.setDividerLocation(200);
$JSplitPane0.setOneTouchExpandable(true);

代码示例来源:origin: fr.ifremer/isis-fish

$JSplitPane0.setName("$JSplitPane0");
$JSplitPane0.setDividerLocation(200);
$JSplitPane0.setOneTouchExpandable(true);

代码示例来源:origin: fr.ifremer/isis-fish

$JSplitPane0.setName("$JSplitPane0");
$JSplitPane0.setDividerLocation(200);
$JSplitPane0.setOneTouchExpandable(true);

代码示例来源:origin: fr.ifremer/isis-fish

$JSplitPane0.setName("$JSplitPane0");
$JSplitPane0.setDividerLocation(270);
$JSplitPane0.setOneTouchExpandable(true);

代码示例来源:origin: fr.ifremer/isis-fish

$JSplitPane0.setName("$JSplitPane0");
$JSplitPane0.setDividerLocation(200);
$JSplitPane0.setOneTouchExpandable(true);

代码示例来源:origin: fr.ifremer/isis-fish

$JSplitPane0.setName("$JSplitPane0");
$JSplitPane0.setOneTouchExpandable(true);
$JSplitPane0.setOrientation(0);

代码示例来源:origin: Audiveris/audiveris

centerPane.setBorder(null);
centerPane.setOneTouchExpandable(true);
centerPane.setName("centerPane");
rightPane.setBorder(null);
rightPane.setOneTouchExpandable(true);
rightPane.setName("rightPane");
centerPlusRightPane.setBorder(null);
centerPlusRightPane.setOneTouchExpandable(true);
centerPlusRightPane.setName("centerPlusRightPane");
mainPane.setOneTouchExpandable(true);
mainPane.setResizeWeight(0d); // Give all free space to center+right part
mainPane.setName("mainPane");

代码示例来源:origin: com.quinsoft.zeidon/object-browser

splitPane.setName( "ViewChooserSplitPane" );
splitPane.setResizeWeight( 0.4 );

代码示例来源:origin: net.sourceforge.mydoggy/mydoggy-plaf

protected void initComponents() {
  splitPane.setName(anchor.toString());
  splitPane.setFocusCycleRoot(true);

相关文章

JSplitPane类方法