Searched refs:label (Results 76 - 100 of 457) sorted by relevance

1234567891011>>

/openjdk10/jaxp/src/jdk.xml.dom/share/classes/org/w3c/dom/html/
H A DHTMLOptionElement.java86 * 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 DTest8039464.java64 JLabel label = new JLabel();
66 label.setPreferredSize(size);
67 label.setMinimumSize(size);
68 container.add(label, gbc);
/openjdk10/nashorn/samples/
H A Dtime_color.js67 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 DCMenuItem.java57 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 DAArch64HotSpotCRuntimeCallPrologueOp.java49 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 DDefaultTimeZoneTest.java43 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 DTitledBorderLabelUITest.java62 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 Dbug7160604.java63 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 DJRadioButtonMenuItemOperator.java146 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 DLWButton.java32 * 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 Dbug6302464.java78 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 DDecoration.java118 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 DXButtonPeer.java48 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 DStatusBar.java43 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 DSlidingSpinner.java39 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 DSimpleLaunchingConnector.java51 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 DMenuItem.java60 * 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 DConnection.java57 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 DScreenMenuItem.java71 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 DLWLabelPeer.java59 public void setText(final String label) { argument
61 getDelegate().setText(label);
H A DLWButtonPeer.java70 public void setLabel(final String label) { argument
72 getDelegate().setText(label);
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/
H A DBorderedComponent.java45 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 DMultiUIDefaultsNPECheck.java46 JLabel label = new JLabel();
87 UIManager.getDefaults().getUI(label);
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/
H A DLinkInfoImpl.java294 * 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 DGraalDebugHandlersFactoryTest.java54 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);

Completed in 124 milliseconds

1234567891011>>