本文整理了Java中javax.swing.JCheckBox.setAlignmentY()
方法的一些代码示例,展示了JCheckBox.setAlignmentY()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCheckBox.setAlignmentY()
方法的具体详情如下:
包路径:javax.swing.JCheckBox
类名称:JCheckBox
方法名:setAlignmentY
暂无
代码示例来源:origin: dsukhoroslov/bagri
public CollectionPanel(Collection<String> collections) {
super();
setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
for (String cln: collections) {
JCheckBox cb = new JCheckBox(cln);
cb.setAlignmentY(LEFT_ALIGNMENT);
add(cb);
}
setPreferredSize(new Dimension(150, 300));
setBorder(BorderFactory.createTitledBorder("choose collections to add documents into: "));
}
代码示例来源:origin: omegat-org/omegat
enabledCheckBox.setAlignmentY(0.0F);
add(enabledCheckBox);
add(filler1);
displaySourceCheckBox.setAlignmentY(0.0F);
optionsPanel.add(displaySourceCheckBox);
sortBySourceCheckBox.setAlignmentY(0.0F);
jPanel3.add(sortBySourceCheckBox);
代码示例来源:origin: omegat-org/omegat
lookupCheckBox.setAlignmentY(0.0F);
add(lookupCheckBox);
代码示例来源:origin: omegat-org/omegat
projectSpecificCB.setAlignmentY(0.0F);
projectSpecificCB.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
add(projectSpecificCB);
cbRemoveTags.setAlignmentY(0.0F);
add(cbRemoveTags);
cbRemoveSpacesNonseg.setAlignmentY(0.0F);
add(cbRemoveSpacesNonseg);
cbPreserveSpaces.setAlignmentY(0.0F);
add(cbPreserveSpaces);
cbIgnoreFileContext.setAlignmentY(0.0F);
add(cbIgnoreFileContext);
代码示例来源:origin: omegat-org/omegat
projectSpecificCB.setAlignmentY(0.0F);
mapPanel.add(projectSpecificCB);
代码示例来源:origin: SAMLRaider/SAMLRaider
chckbxCopyUnsupportedExtensions.setAlignmentY(Component.TOP_ALIGNMENT);
chckbxCopyUnsupportedExtensions.setSelected(true);
horizontalBox_4.add(chckbxCopyUnsupportedExtensions);
内容来源于网络,如有侵权,请联系作者删除!