org.jdesktop.layout.GroupLayout.setVerticalGroup()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(13.7k)|赞(0)|评价(0)|浏览(151)

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

GroupLayout.setVerticalGroup介绍

[英]Sets the Group that is responsible for layout along the vertical axis.
[中]设置负责沿垂直轴进行布局的Group

代码示例

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

.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 208, Short.MAX_VALUE)
                .add(bQuit))).add(67, 67, 67)));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()

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

.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 208, Short.MAX_VALUE)
                .add(bQuit))).add(67, 67, 67)));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()

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

.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lStatusValue)))
        .addContainerGap()));
layout.setVerticalGroup(layout
    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout

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

.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lStatusValue)))
        .addContainerGap()));
layout.setVerticalGroup(layout
    .createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout

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

.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue4)))
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lNameValue2).add(lName3)

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

.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(lNameValue4)))
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE).add(lNameValue2).add(lName3)

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

.add(passwordField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE))
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)

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

.add(tfPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 99,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)

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

.add(tfPort, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 99,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)

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

.add(passwordField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 229, Short.MAX_VALUE))
        .addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(lName)

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

.addContainerGap())))
);
jPanel1Layout.setVerticalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
            .addContainerGap())
);
jPanel2Layout.setVerticalGroup(
    jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel2Layout.createSequentialGroup()
            .addContainerGap())
);
layout.setVerticalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(layout.createSequentialGroup()

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

.add(jLabel_ToolName, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                    org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)).add(75, 75, 75)));
jPanel_CopyrightTextLayout.setVerticalGroup(jPanel_CopyrightTextLayout.createParallelGroup(
    org.jdesktop.layout.GroupLayout.LEADING).add(
    jPanel_CopyrightTextLayout
    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(jPanel_CopyrightText,
    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE));

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

Short.MAX_VALUE).add(233, 233, 233))).add(jLabel_SessionStatus))
    .add(jTextPane_PromptDisplay, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 942, Short.MAX_VALUE));
jPanel_SpeakerWindowLayout.setVerticalGroup(jPanel_SpeakerWindowLayout.createParallelGroup(
    org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
        .add(jPanel_SpeakerWindow, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .addContainerGap()

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

.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 73, Short.MAX_VALUE).add(bUpdate)
        .addContainerGap()));
pDownloadLayout.setVerticalGroup(pDownloadLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pDownloadLayout
        .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).add(14, 14, 14).add(bUninstall)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(bUninstall1).add(194, 194, 194)));
pInstallButtonsLayout.setVerticalGroup(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(pInstallButtonsLayout
        .createSequentialGroup()
            .add(spVoices, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 369,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add(jLabel2)).addContainerGap()));
jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    jPanel1Layout
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(pDownload, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,

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

.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 73, Short.MAX_VALUE).add(bUpdate)
        .addContainerGap()));
pDownloadLayout.setVerticalGroup(pDownloadLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pDownloadLayout
        .createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
            org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).add(14, 14, 14).add(bUninstall)
        .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED).add(bUninstall1).add(194, 194, 194)));
pInstallButtonsLayout.setVerticalGroup(pInstallButtonsLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(pInstallButtonsLayout
        .createSequentialGroup()
            .add(spVoices, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 369,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE).add(jLabel2)).addContainerGap()));
jPanel1Layout.setVerticalGroup(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    jPanel1Layout
                org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
                org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)).addContainerGap()));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(pDownload, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,

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

/**
 * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of
 * this method is always regenerated by the Form Editor.
 */
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
  questionText = new javax.swing.JLabel();
  jScrollPane1 = new javax.swing.JScrollPane();
  licenseTextPane = new javax.swing.JTextPane();
  jScrollPane1.setViewportView(licenseTextPane);
  org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  this.setLayout(layout);
  layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
      org.jdesktop.layout.GroupLayout.TRAILING,
      layout.createSequentialGroup()
          .addContainerGap()
          .add(layout
              .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
              .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1,
                  org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)
              .add(org.jdesktop.layout.GroupLayout.LEADING, questionText,
                  org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)).addContainerGap()));
  layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
      layout.createSequentialGroup()
          .addContainerGap()
          .add(questionText, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 58,
              org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
          .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
          .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 460, Short.MAX_VALUE).addContainerGap()));
}// </editor-fold>//GEN-END:initComponents

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

/**
 * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of
 * this method is always regenerated by the Form Editor.
 */
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
  questionText = new javax.swing.JLabel();
  jScrollPane1 = new javax.swing.JScrollPane();
  licenseTextPane = new javax.swing.JTextPane();
  jScrollPane1.setViewportView(licenseTextPane);
  org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
  this.setLayout(layout);
  layout.setHorizontalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
      org.jdesktop.layout.GroupLayout.TRAILING,
      layout.createSequentialGroup()
          .addContainerGap()
          .add(layout
              .createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
              .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1,
                  org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)
              .add(org.jdesktop.layout.GroupLayout.LEADING, questionText,
                  org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 462, Short.MAX_VALUE)).addContainerGap()));
  layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
      layout.createSequentialGroup()
          .addContainerGap()
          .add(questionText, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 58,
              org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
          .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
          .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 460, Short.MAX_VALUE).addContainerGap()));
}// </editor-fold>//GEN-END:initComponents

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

.addContainerGap())
);
jPanel3Layout.setVerticalGroup(
    jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel3Layout.createSequentialGroup()
                    .add(startStopButton))))
);
jPanel1Layout.setVerticalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel1Layout.createSequentialGroup()
            .addContainerGap())
);
jPanel2Layout.setVerticalGroup(
    jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel2Layout.createSequentialGroup()
            .addContainerGap())
);
jPanel4Layout.setVerticalGroup(
    jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(jPanel4Layout.createSequentialGroup()
            .addContainerGap())
);
layout.setVerticalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
        .add(layout.createSequentialGroup()

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

.add(pbCurrent, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 184,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))).addContainerGap()));
pCurrentLayout.setVerticalGroup(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pCurrentLayout
        .createSequentialGroup()
    pOverallLayout.createSequentialGroup().addContainerGap()
        .add(pbOverall, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 352, Short.MAX_VALUE).addContainerGap()));
pOverallLayout.setVerticalGroup(pOverallLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    pOverallLayout
    .add(pOverall, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
        Short.MAX_VALUE));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(pCurrent, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,

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

.add(pbCurrent, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 184,
                    org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))).addContainerGap()));
pCurrentLayout.setVerticalGroup(pCurrentLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    pCurrentLayout
        .createSequentialGroup()
    pOverallLayout.createSequentialGroup().addContainerGap()
        .add(pbOverall, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 352, Short.MAX_VALUE).addContainerGap()));
pOverallLayout.setVerticalGroup(pOverallLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    org.jdesktop.layout.GroupLayout.TRAILING,
    pOverallLayout
    .add(pOverall, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
        Short.MAX_VALUE));
layout.setVerticalGroup(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING).add(
    layout.createSequentialGroup()
        .add(pCurrent, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,

相关文章