本文整理了Java中javax.swing.JToolBar.setAlignmentX()
方法的一些代码示例,展示了JToolBar.setAlignmentX()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JToolBar.setAlignmentX()
方法的具体详情如下:
包路径:javax.swing.JToolBar
类名称:JToolBar
方法名:setAlignmentX
暂无
代码示例来源:origin: net.sf.taverna.t2.ui-exts/perspective-biocatalogue
/**
* @return A toolbar that replicates all actions available in the contextual menu of
* the filtering tree - mainly: saving current filter, reloading filter tree,
* expanding/collapsing and selecting/deselecting everything in the tree.
*/
private JToolBar createTreeActionToolbar()
{
// the actual toolbar - no actions are added to it yet: done in a separate method
JToolBar tbTreeActions = new JToolBar(JToolBar.HORIZONTAL);
tbTreeActions.setAlignmentX(RIGHT_ALIGNMENT);
tbTreeActions.setBorderPainted(true);
tbTreeActions.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
tbTreeActions.setFloatable(false);
return (tbTreeActions);
}
代码示例来源:origin: org.activecomponents.jadex/jadex-editor-bpmn
newbar.setLayout(new OverlayLayout(newbar));
newbar.setFloatable(true);
newbar.setAlignmentX(Component.LEFT_ALIGNMENT);
newbar.setMargin(new Insets(0, 0, 0, 0));
代码示例来源:origin: edu.toronto.cs.savant/savant-core
toolbar_bottom.setAlignmentX(1.0F);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-remotefs-versioning-api
toolbar.setAlignmentX(LEFT_ALIGNMENT);
代码示例来源:origin: uk.org.mygrid.taverna.scufl.scufl-ui-components/iteration-strategy-editor
toolbar.add(remove);
toolbar.add(change);
toolbar.setAlignmentX(LEFT_ALIGNMENT);
代码示例来源:origin: net.sf.taverna.t2.workbench.views/graph
graphActionsToolbar.setAlignmentX(Component.LEFT_ALIGNMENT);
graphActionsToolbar.setFloatable(false);
内容来源于网络,如有侵权,请联系作者删除!