/openjdk10/jaxp/src/jdk.xml.dom/share/classes/org/w3c/dom/html/ |
H A D | HTMLOptionElement.java | 86 * Option label for use in hierarchical menus. See the label attribute 90 public void setLabel(String label); argument
|
/openjdk10/jdk/test/javax/swing/JScrollBar/8039464/ |
H A D | Test8039464.java | 64 JLabel label = new JLabel(); 66 label.setPreferredSize(size); 67 label.setMinimumSize(size); 68 container.add(label, gbc);
|
/openjdk10/nashorn/samples/ |
H A D | time_color.js | 67 var label = new Label("time"); 68 label.textFill = Color.WHITE; 69 root.children.add(label); 84 label.text = "Color: " + hex;
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CMenuItem.java | 57 String label = ((MenuItem)getTarget()).getLabel(); 58 return (label != null && label.equals("-")); 67 public void setLabel(String label, char keyChar, int keyCode, int modifiers) { argument 82 if (label == null) { 83 label = ""; 94 final String finalLabel = label; 103 public void setLabel(String label) { argument 104 setLabel(label, (char)0, KeyEvent.VK_UNDEFINED, 0); 159 private native void nativeSetLabel(long modelPtr, String label, cha argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.aarch64/src/org/graalvm/compiler/hotspot/aarch64/ |
H A D | AArch64HotSpotCRuntimeCallPrologueOp.java | 49 private final Label label; field in class:AArch64HotSpotCRuntimeCallPrologueOp 51 public AArch64HotSpotCRuntimeCallPrologueOp(int threadLastJavaSpOffset, int threadLastJavaPcOffset, int threadLastJavaFpOffset, Register thread, AllocatableValue scratch, Label label) { argument 58 this.label = label; 69 // Get the current PC. Use a label to patch the return address. 70 masm.adr(scratchRegister, label);
|
/openjdk10/jdk/test/java/util/TimeZone/ |
H A D | DefaultTimeZoneTest.java | 43 JLabel label; field in class:DefaultTimeZoneTest 53 label = new JLabel(sdf.format(new Date()), SwingConstants.CENTER); 54 label.setAlignmentX(Component.CENTER_ALIGNMENT); 71 panel.add(label); 100 label.setText(sdf.format(new Date()));
|
/openjdk10/jdk/test/javax/swing/border/8152159/ |
H A D | TitledBorderLabelUITest.java | 62 JLabel label = new JLabel("Test Label"); 63 label.setSize(SIZE, SIZE); 65 label.setBorder(new TitledBorder(border)); 73 SwingUtilities.updateComponentTreeUI(label); 75 paintToImage(label);
|
/openjdk10/jdk/test/javax/swing/JPopupMenu/7160604/ |
H A D | bug7160604.java | 63 final JLabel label = new JLabel("...click to invoke JPopupMenu"); 64 label.setOpaque(true); 68 contentPane.add(label, BorderLayout.NORTH); 81 jPopupMenu.add(new JLabel("label")); 83 label.addMouseListener(new MouseAdapter() { 86 jPopupMenu.show(label, 0, 0);
|
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/ |
H A D | JRadioButtonMenuItemOperator.java | 146 String label; field in class:JRadioButtonMenuItemOperator.JRadioButtonMenuItemByLabelFinder 156 label = lb; 174 label)); 182 return "JRadioButtonMenuItem with text \"" + label + "\""; 187 return "JRadioButtonMenuItemByLabelFinder{" + "label=" + label + ", comparator=" + comparator + '}';
|
/openjdk10/jdk/test/java/awt/event/helpers/lwcomponents/ |
H A D | LWButton.java | 32 * displays a label string and, when clicked, causes the 57 private String label; field in class:LWButton 79 public LWButton(String label) { argument 80 this(label, Color.red, Color.green, Color.white); 85 * @param label The string to display. 86 * @param fgnd The color to draw the label in. 90 public LWButton(String label, Color fgnd, Color bkgnd, Color mousePressed) { argument 92 this.label = label; 249 g.drawString(label, [all...] |
/openjdk10/jdk/test/javax/swing/UIDefaults/6302464/ |
H A D | bug6302464.java | 78 JLabel label = new JLabel(); 79 Object aaHint = label.getClientProperty(KEY_TEXT_ANTIALIASING); 80 Object lcdContrastHint = label.getClientProperty(KEY_TEXT_LCD_CONTRAST); 107 JLabel label = new JLabel("Test"); 108 label.putClientProperty(KEY_TEXT_ANTIALIASING, aaHint); 109 FontRenderContext frc = label.getFontMetrics( 110 label.getFont()).getFontRenderContext(); 147 JLabel label = new JLabel("ABCD"); 148 label.setSize(label [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/ |
H A D | Decoration.java | 118 public void drawTextAndDecorations(Label label, argument 123 label.handleDraw(g2d, x, y); 126 public Rectangle2D getVisualBounds(Label label) { argument 128 return label.handleGetVisualBounds(); 131 public Rectangle2D getCharVisualBounds(Label label, int index) { argument 133 return label.handleGetCharVisualBounds(index); 136 Shape getOutline(Label label, argument 140 return label.handleGetOutline(x, y); 254 private void drawTextAndEmbellishments(Label label, argument 259 label 291 drawTextAndDecorations(Label label, Graphics2D g2d, float x, float y) argument 343 getVisualBounds(Label label) argument 370 getOutline(Label label, float x, float y) argument [all...] |
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/ |
H A D | XButtonPeer.java | 48 String label; field in class:XButtonPeer 66 label = target.getLabel(); 83 public void setLabel(String label) { argument 84 if (label == null) { 85 label = ""; 87 if (!label.equals(this.label)) { 88 this.label = label; 196 if ( label [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/com/sun/java/swing/ui/ |
H A D | StatusBar.java | 43 label = new JLabel(" "); 44 preferredSize = new Dimension(getWidth(label.getText()), 2 * getFontHeight()); 46 add(label); 86 label.setText(message); 87 label.repaint(); 171 private JLabel label; field in class:StatusBar
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/colorchooser/ |
H A D | SlidingSpinner.java | 39 private final JComponent label; field in class:SlidingSpinner 46 SlidingSpinner(ColorPanel panel, JComponent label) { argument 48 this.label = label; 58 return this.label; 93 this.label.setVisible(visible);
|
/openjdk10/jdk/test/com/sun/jdi/connect/spi/ |
H A D | SimpleLaunchingConnector.java | 51 String label; field in class:SimpleLaunchingConnector.StringArgumentImpl 55 StringArgumentImpl(String name, String label, String description, String value) { argument 57 this.label = label; 66 public String label() { method in class:SimpleLaunchingConnector.StringArgumentImpl 67 return label;
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/ |
H A D | MenuItem.java | 60 * a menu item, created with the label {@code "-"}. 97 return item.label; 127 * {@code label} is the label of a menu item. 134 volatile String label; field in class:MenuItem 140 * is the label of the menu item, unless it has been 184 * Constructs a new MenuItem with an empty label and no keyboard 196 * Constructs a new MenuItem with the specified label 198 * a label is reserved to indicate a separator between 201 * @param label th 207 MenuItem(String label) argument 224 MenuItem(String label, MenuShortcut s) argument 267 setLabel(String label) argument [all...] |
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/ |
H A D | Connection.java | 57 private String label; field in class:Connection 60 protected Connection(InputSlot inputSlot, OutputSlot outputSlot, String label, String type) { argument 63 this.label = label; 108 return label; 124 if (label != null) { 125 builder.append(label).append(": "); 139 return "Connection('" + label + "', " + getFrom().getVertex() + " to " + getTo().getVertex() + ")";
|
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/ |
H A D | ScreenMenuItem.java | 71 final String label = fMenuItem.getText(); 72 if (label != null) { 73 setLabel(label); 103 static void syncLabelAndKS(MenuItem menuItem, String label, KeyStroke ks) { argument 111 cmi.setLabel(label); 113 cmi.setLabel(label, ks.getKeyChar(), ks.getKeyCode(), 119 public synchronized void setLabel(final String label) { argument 120 syncLabelAndKS(this, label, fMenuItem.getAccelerator());
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/ |
H A D | LWLabelPeer.java | 59 public void setText(final String label) { argument 61 getDelegate().setText(label);
|
H A D | LWButtonPeer.java | 70 public void setLabel(final String label) { argument 72 getDelegate().setText(label);
|
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/ |
H A D | BorderedComponent.java | 45 JLabel label; field in class:BorderedComponent 135 if (label != null) { 136 label.setText(Resources.format(Messages.CURRENT_VALUE, 143 if (label != null) { 144 remove(label); 151 if (label == null) { 152 label = new JLabel(Resources.format(Messages.CURRENT_VALUE, 155 add(label); 198 if (label != null) { 199 Dimension p = label 278 protected JComponent label; field in class:BorderedComponent.LabeledBorder 287 LabeledBorder(JComponent label) argument 308 LabeledBorder(Border border, JComponent label) argument 483 setLabel(JComponent label) argument [all...] |
/openjdk10/jdk/test/javax/swing/MultiUIDefaults/NPECheck/ |
H A D | MultiUIDefaultsNPECheck.java | 46 JLabel label = new JLabel(); 87 UIManager.getDefaults().getUI(label);
|
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ |
H A D | LinkInfoImpl.java | 294 * Set the label for the link. 295 * @param label plain-text label for the link 297 public LinkInfoImpl label(CharSequence label) { argument 298 this.label = new StringContent(label); 303 * Set the label for the link. 305 public LinkInfoImpl label(Content label) { argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ |
H A D | GraalDebugHandlersFactoryTest.java | 54 String label = ""; 55 createUniqueMethod.invoke(null, tmpDir, id, label, ext, createDirectory); 58 label = new String(new char[i]).replace('\0', 'l'); 59 createUniqueMethod.invoke(null, tmpDir, id, label, ext, createDirectory);
|