本文整理了Java中javax.swing.JMenuItem.setComponentOrientation()
方法的一些代码示例,展示了JMenuItem.setComponentOrientation()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JMenuItem.setComponentOrientation()
方法的具体详情如下:
包路径:javax.swing.JMenuItem
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!