Lines Matching refs:fMenuItem
40 JMenuItem fMenuItem;
54 fMenuItem = mi;
55 setEnabled(fMenuItem.isEnabled());
66 fMenuItem.addComponentListener(this);
68 fMenuItem.addPropertyChangeListener(fPropertyListener);
71 fMenuItem.addItemListener(this);
72 setIndeterminate(IndeterminateListener.isIndeterminate(fMenuItem));
75 setAccelerator(fMenuItem.getAccelerator());
77 final Icon icon = fMenuItem.getIcon();
82 final String tooltipText = fMenuItem.getToolTipText();
88 fMenuItem.addItemListener(this);
90 final ButtonUI ui = fMenuItem.getUI();
95 if (fMenuItem instanceof JCheckBoxMenuItem) {
96 setState(((JCheckBoxMenuItem)fMenuItem).isSelected());
98 setState(fMenuItem.getModel().isSelected());
103 fMenuItem.removeComponentListener(this);
104 fMenuItem.removePropertyChangeListener(fPropertyListener);
108 fMenuItem.removeItemListener(this);
115 ScreenMenuItem.syncLabelAndKS(this, label, fMenuItem.getAccelerator());
123 ScreenMenuItem.syncLabelAndKS(this, fMenuItem.getText(), ks);
127 fMenuItem.doClick(0); // This takes care of all the different events
185 ((ScreenMenuPropertyHandler)fParent).setChildVisible(fMenuItem, b);
196 fMenuItem.doClick(0);