/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/ui/ |
H A D | CommonMenuBar.java | 83 JCheckBoxMenuItem mi = new JCheckBoxMenuItem(a); 84 mi.addItemListener(a); 85 mi.setSelected(selected); 86 menu.add(mi); 87 configureToggleMenuItem(mi, a); 97 JRadioButtonMenuItem mi = new JRadioButtonMenuItem(a); 98 mi.addItemListener(a); 99 mi.setSelected(selected); 100 menu.add(mi); 102 group.add(mi); [all...] |
/openjdk7/jdk/src/share/demo/jvmti/java_crw_demo/ |
H A D | java_crw_demo.c | 86 #define CRW_ASSERT_MI(mi) CRW_ASSERT((mi)?(mi)->ci:NULL,(mi)!=NULL) 268 MethodImage *mi; local 271 mi = ci->current_mi; 272 if ( mi != NULL ) { 273 byte_code_offset = (ByteOffset)(mi->ci->input_position - mi->start_of_input_bytecodes); 282 (mi 795 injection_template(MethodImage *mi, ByteCode *bytecodes, ByteOffset max_nbytes, CrwCpoolIndex method_index) argument 869 entry_injection_code(MethodImage *mi, ByteCode *bytecodes, ByteOffset len) argument 891 before_injection_code(MethodImage *mi, ClassOpcode opcode, ByteCode *bytecodes, ByteOffset len) argument 918 after_injection_code(MethodImage *mi, ClassOpcode opcode, ByteCode *bytecodes, ByteOffset len) argument 946 inject_bytecodes(MethodImage *mi, ByteOffset at, ByteCode *bytecodes, ByteOffset len) argument 980 MethodImage * mi; local 1002 method_term(MethodImage *mi) argument 1032 input_code_offset(MethodImage *mi) argument 1039 rewind_to_beginning_of_input_bytecodes(MethodImage *mi) argument 1053 adjust_map(MethodImage *mi, ByteOffset at, ByteOffset offset) argument 1064 widen(MethodImage *mi, ByteOffset at, ByteOffset len) argument 1108 inject_for_opcode(MethodImage *mi) argument 1203 method_code_map(MethodImage *mi, ByteOffset pos) argument 1211 adjust_instruction(MethodImage *mi) argument 1332 write_instruction(MethodImage *mi) argument 1538 method_inject_and_write_code(MethodImage *mi) argument 1615 write_line_table(MethodImage *mi) argument 1644 write_var_table(MethodImage *mi) argument 1686 readUoffset(MethodImage *mi) argument 1695 writeUoffset(MethodImage *mi, unsigned val) argument 1704 copyUoffset(MethodImage *mi) argument 1715 copy_verification_types(MethodImage *mi, int ntypes) argument 1743 write_stackmap_table(MethodImage *mi) argument 1882 write_cldc_stackmap_table(MethodImage *mi) argument 1921 method_write_exception_table(MethodImage *mi) argument 1970 method_write_code_attribute(MethodImage *mi) argument 2061 MethodImage * mi; local [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Menu.java | 181 MenuItem mi = getItem(i); 182 mi.parent = this; 183 mi.addNotify(); 263 * @param mi the menu item to be added 268 public MenuItem add(MenuItem mi) { argument 270 if (mi.parent != null) { 271 mi.parent.remove(mi); 273 items.addElement(mi); 274 mi [all...] |
H A D | PopupMenu.java | 126 MenuItem mi = getItem(i); 127 mi.parent = this; 128 mi.addNotify();
|
/openjdk7/jdk/test/java/lang/management/ManagementFactory/ |
H A D | GetPlatformManagementInterfaces.java | 70 for(ManagementInterfaces mi : ManagementInterfaces.values()) { 71 if(!interfaces.contains(mi.getManagementInterface())) { 72 throw new RuntimeException(mi.getManagementInterface() + " not in ManagementInterfaces set");
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | ScreenMenuItemCheckbox.java | 43 ScreenMenuItemCheckbox(final JCheckBoxMenuItem mi) { argument 44 super(mi.getText(), mi.getState()); 45 init(mi); 48 ScreenMenuItemCheckbox(final JRadioButtonMenuItem mi) { argument 49 super(mi.getText(), mi.getModel().isSelected()); 50 init(mi); 53 public void init(final JMenuItem mi) { argument 54 fMenuItem = mi; [all...] |
H A D | ScreenMenu.java | 377 final JMenuItem mi = (JMenuItem) m; 379 final String text = mi.getText(); 382 final Icon icon = mi.getIcon(); 385 final Icon disabledIcon = mi.getDisabledIcon(); 388 final Action action = mi.getAction(); 391 final KeyStroke ks = mi.getAccelerator(); 394 hashCode ^= Boolean.valueOf(mi.isVisible()).hashCode(); 395 hashCode ^= Boolean.valueOf(mi.isEnabled()).hashCode(); 396 hashCode ^= Boolean.valueOf(mi.isSelected()).hashCode();
|
H A D | ScreenMenuItem.java | 41 ScreenMenuItem(final JMenuItem mi) { argument 42 super(mi.getText()); 43 fMenuItem = mi;
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifInternalFrameTitlePane.java | 89 JMenuItem mi = systemMenu.add(new JMenuItem(restoreAction)); 90 mi.setMnemonic('R'); 91 mi = systemMenu.add(new JMenuItem(moveAction)); 92 mi.setMnemonic('M'); 93 mi = systemMenu.add(new JMenuItem(sizeAction)); 94 mi.setMnemonic('S'); 95 mi = systemMenu.add(new JMenuItem(iconifyAction)); 96 mi.setMnemonic('n'); 97 mi = systemMenu.add(new JMenuItem(maximizeAction)); 98 mi [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Robot.cpp | 124 mouseInput.mi.time = 0; 125 mouseInput.mi.dwFlags = dwFlags; 127 mouseInput.mi.dwFlags = mouseInput.mi.dwFlags | MOUSEEVENTF_XDOWN; 128 mouseInput.mi.mouseData = XBUTTON1; 132 mouseInput.mi.dwFlags = mouseInput.mi.dwFlags | MOUSEEVENTF_XDOWN; 133 mouseInput.mi.mouseData = XBUTTON2; 166 mouseInput.mi.time = 0; 167 mouseInput.mi [all...] |
/openjdk7/jdk/src/share/classes/sun/management/ |
H A D | MonitorInfoCompositeData.java | 43 private MonitorInfoCompositeData(MonitorInfo mi) { argument 44 this.lock = mi; 51 public static CompositeData toCompositeData(MonitorInfo mi) { argument 52 MonitorInfoCompositeData micd = new MonitorInfoCompositeData(mi);
|
/openjdk7/jdk/test/javax/swing/JTree/4314199/ |
H A D | bug4314199.java | 71 JMenuItem mi = new JMenuItem("MenuItem"); 72 mn.add(mi);
|
/openjdk7/jdk/src/share/classes/sun/swing/ |
H A D | MenuItemLayoutHelper.java | 57 private JMenuItem mi; field in class:MenuItemLayoutHelper 103 public MenuItemLayoutHelper(JMenuItem mi, Icon checkIcon, Icon arrowIcon, argument 107 reset(mi, checkIcon, arrowIcon, viewRect, gap, accDelimiter, 111 protected void reset(JMenuItem mi, Icon checkIcon, Icon arrowIcon, argument 115 this.mi = mi; 116 this.miParent = getMenuItemParent(mi); 118 this.verticalAlignment = mi.getVerticalAlignment(); 119 this.horizontalAlignment = mi.getHorizontalAlignment(); 120 this.verticalTextPosition = mi 386 isColumnLayout(boolean isLeftToRight, JMenuItem mi) argument 985 setMenuItem(JMenuItem mi) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JMenu.java | 629 JMenuItem mi = createActionComponent(a); 630 mi.setAction(a); 631 add(mi); 632 return mi; 646 JMenuItem mi = new JMenuItem() { 655 mi.setHorizontalTextPosition(JButton.TRAILING); 656 mi.setVerticalTextPosition(JButton.CENTER); 657 return mi; 699 * @param mi the <code>JMenuitem</code> to add 706 public JMenuItem insert(JMenuItem mi, in argument [all...] |
/openjdk7/jdk/src/share/demo/management/FullThreadDump/ |
H A D | ThreadMonitor.java | 149 for (MonitorInfo mi : monitors) { 150 if (mi.getLockedStackDepth() == i) { 151 System.out.println(INDENT + " - locked " + mi); 181 for (MonitorInfo mi : monitors) { 182 System.out.println(INDENT + " - " + mi + " locked at "); 183 System.out.println(INDENT + " " + mi.getLockedStackDepth() + 184 " " + mi.getLockedStackFrame());
|
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | ThreadDump.java | 59 for (MonitorInfo mi : monitors) { 60 if (mi.getLockedStackDepth() == i) { 61 System.out.println(INDENT + " - locked " + mi);
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/ |
H A D | SynthGraphicsUtils.java | 433 JMenuItem mi = (JMenuItem) c; 435 context, accContext, mi, checkIcon, arrowIcon, 437 acceleratorDelimiter, SynthLookAndFeel.isLeftToRight(mi), 490 JMenuItem mi = (JMenuItem) context.getComponent(); 494 Rectangle viewRect = new Rectangle(0, 0, mi.getWidth(), mi.getHeight()); 495 boolean leftToRight = SynthLookAndFeel.isLeftToRight(mi); 496 applyInsets(viewRect, mi.getInsets(), leftToRight); 499 context, accContext, mi, checkIcon, arrowIcon, viewRect, 501 MenuItemLayoutHelper.useCheckAndArrow(mi), propertyPrefi [all...] |
H A D | SynthMenuItemUI.java | 92 private void updateStyle(JMenuItem mi) { argument 93 SynthContext context = getContext(mi, ENABLED); 102 LookAndFeel.installProperty(mi, "iconTextGap", value); 104 defaultTextIconGap = mi.getIconTextGap(); 129 SynthContext accContext = getContext(mi, Region.MENU_ITEM_ACCELERATOR,
|
H A D | SynthInternalFrameTitlePane.java | 195 JMenuItem mi = menu.add(restoreAction); 196 mi.setMnemonic('R'); 197 mi = menu.add(moveAction); 198 mi.setMnemonic('M'); 199 mi = menu.add(sizeAction); 200 mi.setMnemonic('S'); 201 mi = menu.add(iconifyAction); 202 mi.setMnemonic('n'); 203 mi = menu.add(maximizeAction); 204 mi [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | JDBMenuBar.java | 187 JMenuItem mi = new JMenuItem(labelText); 188 mi.setToolTipText(toolTip); 190 mi.addActionListener(new ActionListener() { 196 menu.add(mi);
|
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/resources/ |
H A D | scriptpad.js | 502 function setMenuAccelerator(mi, accel) { 505 mi.setAccelerator(keyStroke); 518 var mi = new JMenuItem(items[i].name); 520 mi.addActionListener(action); 523 setMenuAccelerator(mi, accel); 525 menu.add(mi); 551 var mi = new JMenuItem(menuItem); 552 mi.addActionListener(action); 554 setMenuAccelerator(mi, accel); 556 toolsMenu.add(mi); [all...] |
/openjdk7/jdk/src/share/demo/jfc/Notepad/ |
H A D | Notepad.java | 229 JMenuItem mi = new JMenuItem(getResourceString(cmd + labelSuffix)); 232 mi.setHorizontalTextPosition(JButton.RIGHT); 233 mi.setIcon(new ImageIcon(url)); 239 mi.setActionCommand(astr); 242 mi.addActionListener(a); 243 a.addPropertyChangeListener(createActionChangeListener(mi)); 244 mi.setEnabled(a.isEnabled()); 246 mi.setEnabled(false); 248 return mi; 385 JMenuItem mi 427 ActionChangedListener(JMenuItem mi) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/ |
H A D | JSJavaThread.java | 137 MonitorInfo mi = (MonitorInfo) miItr.next(); 139 if (mi.eliminated() && frame.isCompiledFrame()) { 142 OopHandle obj = mi.owner();
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicInternalFrameTitlePane.java | 272 JMenuItem mi = systemMenu.add(restoreAction); 273 mi.setMnemonic('R'); 274 mi = systemMenu.add(moveAction); 275 mi.setMnemonic('M'); 276 mi = systemMenu.add(sizeAction); 277 mi.setMnemonic('S'); 278 mi = systemMenu.add(iconifyAction); 279 mi.setMnemonic('n'); 280 mi = systemMenu.add(maximizeAction); 281 mi [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsInternalFrameTitlePane.java | 328 JMenuItem mi = menu.add(restoreAction); 329 mi.setMnemonic('R'); 330 mi = menu.add(moveAction); 331 mi.setMnemonic('M'); 332 mi = menu.add(sizeAction); 333 mi.setMnemonic('S'); 334 mi = menu.add(iconifyAction); 335 mi.setMnemonic('n'); 336 mi = menu.add(maximizeAction); 337 mi [all...] |