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

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

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

JScrollPane.setName介绍

暂无

代码示例

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

protected void createLicenseContent() {
  licenseContent = new javax.swing.JScrollPane();
  $objectMap.put("licenseContent", licenseContent);
  licenseContent.setName("licenseContent");
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

protected void createThirdpartyContent() {
  thirdpartyContent = new javax.swing.JScrollPane();
  $objectMap.put("thirdpartyContent", thirdpartyContent);
  thirdpartyContent.setName("thirdpartyContent");
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

protected void createAboutContent() {
  aboutContent = new javax.swing.JScrollPane();
  $objectMap.put("aboutContent", aboutContent);
  aboutContent.setName("aboutContent");
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

protected void createDescriptionPane() {
  descriptionPane = new javax.swing.JScrollPane();
  $objectMap.put("descriptionPane", descriptionPane);
  descriptionPane.setName("descriptionPane");
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-runtime-swing-widget

protected void createTablePane() {
  tablePane = new javax.swing.JScrollPane();
  $objectMap.put("tablePane", tablePane);
  tablePane.setName("tablePane");
}

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

protected void createLicenseContent() {
  $objectMap.put("licenseContent", licenseContent = new JScrollPane());
  
  licenseContent.setName("licenseContent");
}

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

protected void createThirdpartyContent() {
  $objectMap.put("thirdpartyContent", thirdpartyContent = new JScrollPane());
  
  thirdpartyContent.setName("thirdpartyContent");
}

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

protected void createScroll_outofdateAndModified() {
  $objectMap.put("scroll_outofdateAndModified", scroll_outofdateAndModified = new JScrollPane());
  
  scroll_outofdateAndModified.setName("scroll_outofdateAndModified");
}

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

protected void createScroll() {
  $objectMap.put("scroll", scroll = new JScrollPane());
  
  scroll.setName("scroll");
  scroll.setVerticalScrollBarPolicy(20);
}

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

private JScrollPane getMessagesTableScrollPanel() {
  if (messagesTableScrollPane == null) {
    messagesTableScrollPane = new JScrollPane();
    messagesTableScrollPane.setName("SpiderMessagesPane");
    messagesTableScrollPane.setViewportView(getMessagesTable());
  }
  return messagesTableScrollPane;
}

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

private JScrollPane getUrlsTableScrollPane() {
  if (urlsTableScrollPane == null) {
    urlsTableScrollPane = new JScrollPane();
    urlsTableScrollPane.setName("SpiderUrlsPane");
    urlsTableScrollPane.setViewportView(getUrlsTable());
  }
  return urlsTableScrollPane;
}

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

private JScrollPane getAddedUrlsTableScrollPane() {
  if (addedNodesTableScrollPane == null) {
    addedNodesTableScrollPane = new JScrollPane();
    addedNodesTableScrollPane.setName("SpiderAddedUrlsPane");
    addedNodesTableScrollPane.setViewportView(getAddedNodesTable());
  }
  return addedNodesTableScrollPane;
}

代码示例来源:origin: com.anrisoftware.prefdialog/prefdialog-core

@Override
public void setName(String name) {
  super.setName(name);
  fieldScroll.setName(format("%s-%s", name, FIELD_SCROLL_NAME));
}

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

protected void createScroll() {
  $objectMap.put("scroll", scroll = new JScrollPane());
  
  scroll.setName("scroll");
  SwingUtil.setComponentHeight(scroll,400);
}

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

@Override
public JScrollPane getPane() {
  if (scrollHexTableBody == null) {
    scrollHexTableBody = new javax.swing.JScrollPane();
    scrollHexTableBody.setName(CAPTION_NAME);
    scrollHexTableBody.setViewportView(getHexTableBody());
  }
  return scrollHexTableBody;
}

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

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

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

private JScrollPane getAlertPane() {
  if (alertPane == null) {
    alertPane = new JScrollPane();
    alertPane.setViewportView(getAlertDisplay());
    alertPane.setName("alertPane");
  }
  return alertPane;
}

代码示例来源:origin: elki-project/elki

/**
 * Creates the scroll pane which houses the scrollable tree.
 */
protected JScrollPane createScroller() {
 JScrollPane sp = new JScrollPane(tree, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
 sp.setHorizontalScrollBar(null);
 sp.setName("TreePopup.scrollPane");
 sp.setFocusable(false);
 sp.getVerticalScrollBar().setFocusable(false);
 sp.setBorder(null);
 return sp;
}

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki

/**
 * Creates the scroll pane which houses the scrollable tree.
 */
protected JScrollPane createScroller() {
 JScrollPane sp = new JScrollPane(tree, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
 sp.setHorizontalScrollBar(null);
 sp.setName("TreePopup.scrollPane");
 sp.setFocusable(false);
 sp.getVerticalScrollBar().setFocusable(false);
 sp.setBorder(null);
 return sp;
}

代码示例来源:origin: de.lmu.ifi.dbs.elki/elki-gui-minigui

/**
 * Creates the scroll pane which houses the scrollable tree.
 */
protected JScrollPane createScroller() {
 JScrollPane sp = new JScrollPane(tree, ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
 sp.setHorizontalScrollBar(null);
 sp.setName("TreePopup.scrollPane");
 sp.setFocusable(false);
 sp.getVerticalScrollBar().setFocusable(false);
 sp.setBorder(null);
 return sp;
}

相关文章

JScrollPane类方法