Searched defs:label (Results 76 - 100 of 152) sorted by relevance

1234567

/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCMenuItem.java56 String label = ((MenuItem)getTarget()).getLabel();
57 return (label != null && label.equals("-"));
66 public void setLabel(String label, char keyChar, int keyCode, int modifiers) { argument
81 if (label == null) {
82 label = "";
93 nativeSetLabel(getModel(), label, keyChar, keyCode, keyMask);
97 public void setLabel(String label) { argument
98 setLabel(label, (char)0, KeyEvent.VK_UNDEFINED, 0);
146 private native void nativeSetLabel(long modelPtr, String label, cha argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWMenuItemPeer.java88 public void setLabel(String label) { argument
91 _setLabel(label);
93 public native void _setLabel(String label); argument
/openjdk7/jdk/test/java/awt/Mouse/EnterExitEvents/
H A DDragWindowOutOfFrameTest.java55 private static JLabel label; field in class:DragWindowOutOfFrameTest
78 return getCenterPoint(label);
96 label.addMouseListener(new LabelMouseListener());
107 "Wrong number Mouse Entered/Exited events on label!");
115 "Wrong number Mouse Entered/Exited events on label!");
135 throw new RuntimeException("No MouseReleased event on label!");
152 label = new JLabel("Label");
155 label.addMouseListener(listener);
156 label.addMouseMotionListener(listener);
161 panel.add(label, BorderLayou
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/
H A DPackageWriterImpl.java176 public void addClassesSummary(ClassDoc[] classes, String label, argument
180 Content caption = getTableCaption(label);
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/
H A DHtmlDocWriter.java85 * @param label Tag for the link.
86 * @param strong Boolean that sets label to strong.
89 String label, boolean strong) {
90 print(getHyperLinkString(link, where, label, strong, "", "", ""));
99 * @param label Tag for the link.
101 public void printHyperLink(String link, String where, String label) { argument
102 printHyperLink(link, where, label, false);
111 * @param label Tag for the link.
112 * @param strong Boolean that sets label to strong.
116 String label, boolea
88 printHyperLink(String link, String where, String label, boolean strong) argument
115 printHyperLink(String link, String where, String label, boolean strong, String stylename) argument
131 getHyperLinkString(String link, String where, String label, boolean strong) argument
147 getHyperLinkString(String link, String where, String label, boolean strong, String stylename) argument
162 getHyperLink(String link, String where, Content label) argument
180 getHyperLinkString(String link, String where, String label, boolean strong, String stylename, String title, String target) argument
228 getHyperLink(String link, String where, Content label, String title, String target) argument
250 getHyperLink(String link, Content label) argument
261 getHyperLinkString(String link, String label) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/
H A DLinkInfo.java67 * The label for the link.
69 public String label; field in class:LinkInfo
77 * True if we should include the type in the link label. False otherwise.
137 * Return the label for this class link.
140 * @return the label for this class link.
143 if (label != null && label.length() > 0) {
144 return label;
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DSeeTagImpl.java60 String label = ""; field in class:SeeTagImpl
212 // actual label.
216 label = labeltext.substring(i);
222 label = "";
473 * Return the label of the see tag.
475 public String label() { method in class:SeeTagImpl
476 return label;
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DStackMapWriter.java134 void print(String label, verification_type_info[] entries) { argument
135 print(label);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/
H A DCK_TOKEN_INFO.java57 * CK_UTF8CHAR label[32];  
84 /* label, manufacturerID, and model have been changed from
90 * CK_UTF8CHAR label[32];
93 public char[] label; /* blank padded */ field in class:CK_TOKEN_INFO
240 public CK_TOKEN_INFO(char[] label, char[] vendor, char[] model, argument
248 this.label = label;
277 buffer.append("label: ");
278 buffer.append(new String(label));
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DSummaryTab.java324 void append(String label, String value) { argument
325 append(newRow(label, value));
328 private void append(String label, String value, int columnPerRow) { argument
333 append(newRow(label, value, columnPerRow));
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DConfigChanges.java57 static void report(String label, ThreadPoolExecutor tpe) { argument
58 System.out.printf("%10s ", label);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXPopupMenuPeer.java91 public void setLabel(String label) { argument
164 //Fix for 6267144: PIT: Popup menu label is not shown, XToolkit
173 //Fix for 6267144: PIT: Popup menu label is not shown, XToolkit
240 * Necessary to fix 6267144: PIT: Popup menu label is not shown, XToolkit
/openjdk7/langtools/test/tools/javac/api/6411310/
H A DTest.java136 void checkCoverage(String label, Set<String> found, String... expect) throws Exception { argument
140 throw new Exception("expected " + label + " not used: " + e);
/openjdk7/langtools/test/tools/javap/
H A DTestSuperclass.java145 void checkEqual(String label, String expect, String found) { argument
147 error("Unexpected " + label + " found: '" + found + "', expected: '" + expect + "'");
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DConnectorImpl.java270 void addStringArgument(String name, String label, String description, argument
273 new StringArgumentImpl(name, label,
279 void addBooleanArgument(String name, String label, String description, argument
282 new BooleanArgumentImpl(name, label,
288 void addIntegerArgument(String name, String label, String description, argument
292 new IntegerArgumentImpl(name, label,
299 void addSelectedArgument(String name, String label, String description, argument
303 new SelectedArgumentImpl(name, label,
354 private String label; field in class:ConnectorImpl.ArgumentImpl
359 ArgumentImpl(String name, String label, Strin argument
375 public String label() { method in class:ConnectorImpl.ArgumentImpl
431 BooleanArgumentImpl(String name, String label, String description, boolean value, boolean mustSpecify) argument
489 IntegerArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, int min, int max) argument
587 StringArgumentImpl(String name, String label, String description, String value, boolean mustSpecify) argument
607 SelectedArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, List choices) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/border/
H A DTitledBorder.java79 private final JLabel label; field in class:TitledBorder
221 this.label = new JLabel();
222 this.label.setOpaque(false);
223 this.label.putClientProperty(BasicHTML.propertyKey, null);
241 JLabel label = getLabel(c);
242 Dimension size = label.getPreferredSize();
333 label.setSize(labelW, labelH);
334 label.paint(g);
354 JLabel label = getLabel(c);
355 Dimension size = label
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicLabelUI.java86 JLabel label,
95 (JComponent) label,
99 label.getVerticalAlignment(),
100 label.getHorizontalAlignment(),
101 label.getVerticalTextPosition(),
102 label.getHorizontalTextPosition(),
106 label.getIconTextGap());
144 * Paints the label text with the foreground color, if the label is opaque
147 * The locations of the label part
85 layoutCL( JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR) argument
188 layout(JLabel label, FontMetrics fm, int width, int height) argument
447 doPress(JLabel label) argument
465 doRelease(JLabel label) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DDecoration.java117 public void drawTextAndDecorations(Label label, argument
122 label.handleDraw(g2d, x, y);
125 public Rectangle2D getVisualBounds(Label label) { argument
127 return label.handleGetVisualBounds();
130 public Rectangle2D getCharVisualBounds(Label label, int index) { argument
132 return label.handleGetCharVisualBounds(index);
135 Shape getOutline(Label label, argument
139 return label.handleGetOutline(x, y);
253 private void drawTextAndEmbellishments(Label label, argument
258 label
290 drawTextAndDecorations(Label label, Graphics2D g2d, float x, float y) argument
342 getVisualBounds(Label label) argument
369 getOutline(Label label, float x, float y) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/
H A DDnsName.java42 * Each label must be less than 64 octets in length, and only the
43 * optional root label at the end of the name may be 0 octets long.
49 * <p> A label consists of a sequence of octets, each of which may
90 * object representing the one-label domain name <tt>a\.b</tt>, and
112 // corresponds to the leftmost (least significant) label: note that
117 // packet. Equal to the sum of the lengths of each label, plus the
145 // Compute indexes into "labels", which has least-significant label
157 String label = (String) iter.next();
158 if (label.length() > 0) {
159 octets += (short) (label
491 verifyLabel(String label) argument
509 isHostNameLabel(String label) argument
533 escape(StringBuffer buf, String label) argument
572 keyForLabel(String label) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSourceTreeTool.java144 SourceTreeNode createDirectoryTree(String label) { argument
146 return new SourceTreeNode(label, null, "", true);
163 private SourceTreeNode(String label, argument
167 this.name = label;
H A DThreadTreeTool.java186 ThreadTreeNode createThreadTree(String label) { argument
187 return new ThreadTreeNode(label, null);
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DConnectorImpl.java60 void addStringArgument(String name, String label, String description, argument
63 new StringArgumentImpl(name, label,
69 void addBooleanArgument(String name, String label, String description, argument
72 new BooleanArgumentImpl(name, label,
78 void addIntegerArgument(String name, String label, String description, argument
82 new IntegerArgumentImpl(name, label,
89 void addSelectedArgument(String name, String label, String description, argument
93 new SelectedArgumentImpl(name, label,
149 private String label; field in class:ConnectorImpl.ArgumentImpl
154 ArgumentImpl(String name, String label, Strin argument
170 public String label() { method in class:ConnectorImpl.ArgumentImpl
226 BooleanArgumentImpl(String name, String label, String description, boolean value, boolean mustSpecify) argument
284 IntegerArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, int min, int max) argument
382 StringArgumentImpl(String name, String label, String description, String value, boolean mustSpecify) argument
402 SelectedArgumentImpl(String name, String label, String description, String value, boolean mustSpecify, List<String> choices) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DButton.java90 * The button's label. This value may be null.
95 String label; field in class:Button
132 * Constructs a button with an empty string for its label.
143 * Constructs a button with the specified label.
145 * @param label a string label for the button, or
146 * <code>null</code> for no label
151 public Button(String label) throws HeadlessException { argument
153 this.label = label;
200 setLabel(String label) argument
[all...]
H A DCheckbox.java87 * The label of the Checkbox.
93 String label; field in class:Checkbox
136 * Creates a check box with an empty string for its label.
148 * Creates a check box with the specified label. The state
152 * @param label a string label for this check box,
153 * or <code>null</code> for no label.
159 public Checkbox(String label) throws HeadlessException { argument
160 this(label, false, null);
164 * Creates a check box with the specified label
176 Checkbox(String label, boolean state) argument
195 Checkbox(String label, boolean state, CheckboxGroup group) argument
221 Checkbox(String label, CheckboxGroup group, boolean state) argument
271 setLabel(String label) argument
[all...]
H A DCheckboxMenuItem.java100 * Create a check box menu item with an empty label.
112 * Create a check box menu item with the specified label.
115 * @param label a string label for the check box menu item,
121 public CheckboxMenuItem(String label) throws HeadlessException { argument
122 this(label, false);
126 * Create a check box menu item with the specified label and state.
127 * @param label a string label for the check box menu item,
137 public CheckboxMenuItem(String label, boolea argument
[all...]

Completed in 66 milliseconds

1234567