javax.swing.JComboBox.setAlignmentY()方法的使用及代码示例

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

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

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);

相关文章

JComboBox类方法