javax.swing.JMenuItem.setComponentOrientation()方法的使用及代码示例

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

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

JMenuItem.setComponentOrientation介绍

暂无

代码示例

代码示例来源:origin: ron190/jsql-injection

this.itemArabic.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
this.itemEnglish.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemChinese.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemRussian.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemFrench.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemCzech.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemDutch.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemGerman.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemRomanian.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemTurkish.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIndonesian.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemItalian.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemSpanish.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemPortuguese.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemPolish.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoArabic.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
this.itemIntoHindi.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoRussia.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoChina.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoFrench.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoTurkish.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoCzech.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoGerman.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoDutch.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoIndonesian.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoItalian.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoSpanish.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
this.itemIntoPortuguese.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);

代码示例来源:origin: ron190/jsql-injection

);
this.itemArabic.addActionListener(actionEvent -> Menubar.this.switchLocale(new Locale("ar")));
this.itemArabic.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
I18nView.addComponentForKey("MENUBAR_COMMUNITY_ANOTHERLANGUAGE", this.itemIntoOther);
this.itemIntoArabic.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);

代码示例来源:origin: stackoverflow.com

JMenuItem student = new JMenuItem(...);
student.setComponentOrientation(JComponent.ComponentOrientation.RIGHT_TO_LEFT);

代码示例来源:origin: BaseXdb/basex

items[c++] = item;
if(Prop.langright) {
 item.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);

代码示例来源:origin: org.basex/basex

items[c++] = item;
if(Prop.langright) {
 item.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);

相关文章

JMenuItem类方法