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

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

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

JToolBar.setName介绍

暂无

代码示例

代码示例来源:origin: magefree/mage

tbColor.setToolTipText("Hold the ALT-key while clicking to deselect all other colors or hold the CTRL-key to select only all other colors.");
tbColor.setBorderPainted(false);
tbColor.setName(""); // NOI18N

代码示例来源:origin: infinitest/infinitest

private static JToolBar createToolBar() {
  JToolBar toolbar = new JToolBar(SwingConstants.HORIZONTAL);
  toolbar.setName("TOOLBAR");
  return toolbar;
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createActions() {
  $objectMap.put("actions", actions = new JToolBar());
  
  actions.setName("actions");
  actions.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbar() {
  $objectMap.put("toolbar", toolbar = new JToolBar());
  
  toolbar.setName("toolbar");
  toolbar.setBorderPainted(false);
  toolbar.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarRight() {
  $objectMap.put("toolbarRight", toolbarRight = new JToolBar());
  
  toolbarRight.setName("toolbarRight");
  toolbarRight.setBorderPainted(false);
  toolbarRight.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarRight() {
  $objectMap.put("toolbarRight", toolbarRight = new JToolBar());
  
  toolbarRight.setName("toolbarRight");
  toolbarRight.setBorderPainted(false);
  toolbarRight.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-file

protected void createToolbar() {
  $objectMap.put("toolbar", toolbar = new JToolBar());
  
  toolbar.setName("toolbar");
  toolbar.setBorderPainted(false);
  toolbar.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets-file

protected void createToolbar() {
  $objectMap.put("toolbar", toolbar = new JToolBar());
  
  toolbar.setName("toolbar");
  toolbar.setBorderPainted(false);
  toolbar.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-number

protected void createRightToolbar() {
  $objectMap.put("rightToolbar", rightToolbar = new JToolBar());
  
  rightToolbar.setName("rightToolbar");
  rightToolbar.setBorderPainted(false);
  rightToolbar.setOpaque(false);
  rightToolbar.setFloatable(false);
}

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

private JToolBar getToolbarLeft() {
  if (footerToolbarLeft == null) {
    footerToolbarLeft = new JToolBar();
    footerToolbarLeft.setEnabled(true);
    footerToolbarLeft.setFloatable(false);
    footerToolbarLeft.setRollover(true);
    footerToolbarLeft.setName("Footer Toolbar Left");
    footerToolbarLeft.setBorder(BorderFactory.createEmptyBorder());
  }
  return footerToolbarLeft;
}

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

private JToolBar getToolbar() {
  if (toolbar == null) {
    toolbar = new JToolBar();
    toolbar.setEnabled(true);
    toolbar.setFloatable(false);
    toolbar.setRollover(true);
    toolbar.setName("Main Toolbar");
    toolbar.setBorder(BorderFactory.createEmptyBorder());
  }
  return toolbar;
}

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

private JToolBar getToolbarRight() {
  if (footerToolbarRight == null) {
    footerToolbarRight = new JToolBar();
    footerToolbarRight.setEnabled(true);
    footerToolbarRight.setFloatable(false);
    footerToolbarRight.setRollover(true);
    footerToolbarRight.setName("Footer Toolbar Right");
    footerToolbarRight.setBorder(BorderFactory.createEmptyBorder());
  }
  return footerToolbarRight;
}

相关文章

JToolBar类方法