本文整理了Java中javax.swing.JComboBox.setAlignmentY()
方法的一些代码示例,展示了JComboBox.setAlignmentY()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JComboBox.setAlignmentY()
方法的具体详情如下:
包路径:javax.swing.JComboBox
类名称:JComboBox
方法名:setAlignmentY
暂无
代码示例来源:origin: redwarp/9-Patch-Resizer
inputDensityChoice.setAlignmentY(Component.BOTTOM_ALIGNMENT);
inputDensityChoice.setPreferredSize(new Dimension(1, 10));
代码示例来源:origin: org.gephi/directory-chooser
directoryComboBox.setRenderer(createDirectoryComboBoxRenderer(fc));
directoryComboBox.setAlignmentX(JComponent.LEFT_ALIGNMENT);
directoryComboBox.setAlignmentY(JComponent.CENTER_ALIGNMENT);
directoryComboBox.setMaximumRowCount(8);
代码示例来源:origin: cytoscape.coreplugins/cpath
orgCombo.setAlignmentY(Component.BOTTOM_ALIGNMENT);
buttonBar.add(orgCombo);
buttonBar.add(Box.createRigidArea(new Dimension(hspace, 0)));
limitCombo.setFont(new Font(font.getName(), Font.PLAIN, 11));
limitCombo.setToolTipText("Limit Result Set or Get All");
limitCombo.setAlignmentY(Component.BOTTOM_ALIGNMENT);
代码示例来源:origin: SAMLRaider/SAMLRaider
cbbSubjectAlternativeNameType.setMinimumSize(new Dimension(100, 25));
cbbSubjectAlternativeNameType.setAlignmentX(Component.LEFT_ALIGNMENT);
cbbSubjectAlternativeNameType.setAlignmentY(Component.TOP_ALIGNMENT);
hbSubjectAlternativeName.add(cbbSubjectAlternativeNameType);
cbbIssuerAlternativeNameType.setMaximumSize(new Dimension(0, 25));
cbbIssuerAlternativeNameType.setAlignmentX(Component.LEFT_ALIGNMENT);
cbbIssuerAlternativeNameType.setAlignmentY(Component.TOP_ALIGNMENT);
hbIssuerAlternativeName.add(cbbIssuerAlternativeNameType);
代码示例来源:origin: freeplane/freeplane
filteredPropertiesComponent.setModel(filteredPropertiesModel);
filteredPropertiesComponent.addItemListener(new FilteredPropertyChangeListener());
filteredPropertiesComponent.setAlignmentY(Component.TOP_ALIGNMENT);
filteredPropertiesComponent.setRenderer(filterController.getConditionRenderer());
add(filteredPropertiesComponent, gridBagConstraints);
elementaryConditions.setAlignmentY(Component.TOP_ALIGNMENT);
add(elementaryConditions, gridBagConstraints);
gridBagConstraints.gridx++;
代码示例来源:origin: com.googlecode.vfsjfilechooser2/vfsjfilechooser2
directoryComboBox.setRenderer(createDirectoryComboBoxRenderer(fc));
directoryComboBox.setAlignmentX(JComponent.LEFT_ALIGNMENT);
directoryComboBox.setAlignmentY(JComponent.TOP_ALIGNMENT);
directoryComboBox.setMaximumRowCount(8);
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/toniclf
directoryComboBox.setRenderer(createDirectoryComboBoxRenderer(fc));
directoryComboBox.setAlignmentX(JComponent.LEFT_ALIGNMENT);
directoryComboBox.setAlignmentY(JComponent.TOP_ALIGNMENT);
directoryComboBox.setMaximumRowCount(8);
内容来源于网络,如有侵权,请联系作者删除!