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

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

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

JScrollPane.getName介绍

暂无

代码示例

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

@Override
public String toString() {
  return String.format("%s [%s] count:%d", super.getName() != null ? super.getName() : "", getClass().getSimpleName(), getCount());
}

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

@ScriptFunction(jsDoc = JS_NAME_DOC)
@Override
public String getName() {
  return super.getName();
}

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

/**
 * This method initializes jPanel1
 *
 * @return javax.swing.JPanel
 */
private JPanel getJPanel1() {
  if (jPanel1 == null) {
    jPanel1 = new JPanel();
    jPanel1.setLayout(new CardLayout());
    jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    jPanel1.add(getJScrollPane1(), getJScrollPane1().getName());
  }
  
  return jPanel1;
}

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

/**
 * This method initializes jPanel1
 *
 * @return javax.swing.JPanel
 */
private JPanel getJPanel1() {
  if (jPanel1 == null) {
    jPanel1 = new JPanel();
    jPanel1.setLayout(new CardLayout());
    jPanel1.add(getJScrollPane(), getJScrollPane().getName());
  }
  return jPanel1;
}
/**

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

/**
 * This method initializes jPanel1
 *
 * @return javax.swing.JPanel
 */
private JPanel getJPanel1() {
  if (jPanel1 == null) {
    jPanel1 = new JPanel();
    jPanel1.setLayout(new CardLayout());
    jPanel1.add(getJScrollPane(), getJScrollPane().getName());
  }
  return jPanel1;
}
/**

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

/**
 * This method initializes this
 */
private void initialize() {
  cardLayout = new CardLayout();
  this.setLayout(cardLayout);
  this.setName("AlertView");
  if (! editable) {
    this.add(getDefaultPane(), getDefaultPane().getName());
  }
  this.add(getAlertPane(), getAlertPane().getName());
    
}

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

public void clearAlert () {
  cardLayout.show(this, getDefaultPane().getName());
  originalAlert = null;
  historyRef = null;
  httpMessage = null;
  alertName.setText("");
  alertRisk.setText("");
  alertConfidence.setText("");
  alertParam.setText("");
  alertAttack.setText("");
  alertDescription.setText("");
  alertOtherInfo.setText("");
  alertSolution.setText("");
  alertReference.setText("");
  alertSource.setText("");
  if (editable) {
    alertEditAttack.setText("");
    alertEditAttack.discardAllEdits();
    alertEditEvidence.setText("");
    alertEditEvidence.discardAllEdits();
    alertDescription.discardAllEdits();
    alertOtherInfo.discardAllEdits();
    alertSolution.discardAllEdits();
    alertReference.discardAllEdits();
  }
}

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

setAlertReference(alert.getReference());
cardLayout.show(this, getAlertPane().getName());

相关文章

JScrollPane类方法