Lines Matching defs:button
52 * <code>Action</code> with a button has many benefits beyond directly
53 * configuring a button. Refer to <a href="Action.html#buttonActions">
61 href="http://java.sun.com/docs/books/tutorial/uiswing/components/button.html">How to Use Buttons, Check Boxes, and Radio Buttons</a>,
81 /** Identifies a change in the button model. */
83 /** Identifies a change in the button's text. */
85 /** Identifies a change to the button's mnemonic. */
89 /** Identifies a change in the button's margins. */
91 /** Identifies a change in the button's vertical alignment. */
93 /** Identifies a change in the button's horizontal alignment. */
96 /** Identifies a change in the button's vertical text position. */
98 /** Identifies a change in the button's horizontal text position. */
118 * Identifies a change to having the button paint the content area.
123 /** Identifies a change to the icon that represents the button. */
127 * Identifies a change to the icon used when the button has been
132 * Identifies a change to the icon used when the button has
139 * the button.
144 * over the button and it has been selected.
149 * Identifies a change to the icon used when the button has
154 * Identifies a change to the icon used when the button has been
160 /** The data model that determines the button's state. */
217 * The button model's <code>changeListener</code>.
221 * The button model's <code>ActionListener</code>.
225 * The button model's <code>ItemListener</code>.
230 * Only one <code>ChangeEvent</code> is needed per button
241 * whether the button displays text from the <code>Action</code>.
243 * installed on the button.
245 * @param hideActionText <code>true</code> if the button's
255 * description: Whether the text of the button should come from
271 * determines whether the button displays text from the
273 * has been installed on the button.
275 * @return <code>true</code> if the button's <code>text</code>
285 * Returns the button's text.
294 * Sets the button's text.
301 * description: The button's text.
322 * Returns the state of the button. True if the
323 * toggle button is selected, false if it's not.
324 * @return true if the toggle button is selected, otherwise false
331 * Sets the state of the button. Note that this method does not
335 * @param b true if the button is selected, otherwise false
353 * thing as if the user had pressed and released the button.
361 * thing as if the user had pressed and released the button.
362 * The button stays visually "pressed" for <code>pressTime</code>
365 * @param pressTime the time to "hold down" the button, in milliseconds
381 * Sets space for margin between the button's border and
382 * the label. Setting to <code>null</code> will cause the button to
383 * use the default margin. The button's default <code>Border</code>
385 * However, if a non-default border is set on the button,
395 * description: The space between the button's border and the label.
421 * Returns the margin between the button's border and
442 * Sets the button's default icon. This icon is
452 * description: The button's default icon
484 * Returns the pressed icon for the button.
493 * Sets the pressed icon for the button.
499 * description: The pressed icon for the button.
518 * Returns the selected icon for the button.
527 * Sets the selected icon for the button.
533 * description: The selected icon for the button.
564 * Returns the rollover icon for the button.
573 * Sets the rollover icon for the button.
579 * description: The rollover icon for the button.
600 * Returns the rollover selection icon for the button.
609 * Sets the rollover selected icon for the button.
616 * description: The rollover selected icon for the button.
638 * Returns the icon used by the button when it's disabled.
662 * Sets the disabled icon for the button.
668 * description: The disabled icon for the button.
687 * Returns the icon used by the button when it's disabled and selected.
714 * Sets the disabled selection icon for the button.
721 * description: The disabled selection icon for the button.
930 * displayed in this button.
1038 * Sets the action command for this button.
1039 * @param actionCommand the action command for this button
1046 * Returns the action command for this button.
1047 * @return the action command for this button
1066 * <code>ActionListener</code> for the button, it is not re-registered.
1071 * Subsequently, the button's properties are automatically updated
1077 * to immediately change the button's properties.
1148 * Sets the properties on this button to match those in the specified
1194 * Updates the button's state in response to property changes in the
1206 * @param action the <code>Action</code> associated with this button
1300 * Sets the seleted state of the button from the action. This is defined
1333 * inner class. If you do the lifetime of the button will be tied to
1336 * @param a the button's action
1355 protected void actionPropertyChanged(AbstractButton button,
1359 button.configurePropertiesFromAction(action);
1361 button.actionPropertyChanged(action, e.getPropertyName());
1378 * If <code>true</code> and the button has a border,
1406 * Paint the button's border if <code>BorderPainted</code>
1407 * property is true and the button has a border.
1466 * If <code>true</code> the button will paint the content
1467 * area. If you wish to have a transparent button, such as
1468 * an icon only button, for example, then you should set
1485 * description: Whether the button should paint the content area
1544 * mouseless modifier (usually Alt) will activate this button
1545 * if focus is contained somewhere within this button's ancestor
1555 * with the corresponding keycode would cause the button to be
1559 * the button's label string, the first occurrence of it
1579 * to set the mnemonic for a button. This method is only designed
1688 * mouse press events for the button to generate the corresponding
1695 * where this behavior is not desirable (for example, the "OK" button
1714 * mouse press events for the button to generate the corresponding
1727 * Returns the model that this button represents.
1736 * Sets the model that this button represents.
1769 //when the button is not fully initialized
1870 * Adds a <code>ChangeListener</code> to the button.
1878 * Removes a ChangeListener from the button.
1919 * Adds an <code>ActionListener</code> to the button.
1927 * Removes an <code>ActionListener</code> from the button.
1929 * for the button, then the <code>Action</code>
2080 * Enables (or disables) the button.
2081 * @param b true to enable the button, otherwise false
2127 * Removes an <code>ItemListener</code> from the button.
2148 * <code>null</code> if the button is not selected.
2150 * @return an array containing 1 Object: the text of the button,
2185 * @param infoflags flags used to repaint the button when the image
2369 * Java Accessibility API appropriate to button and menu item
2464 // get the members of the button group if one exists
2470 // the members of the button group.
2515 * default behavior of a button is to have one action - toggle
2516 * the button.