Lines Matching defs:disabledIcon
120 private Icon disabledIcon = null;
262 if (!disabledIconSet && disabledIcon != null) {
383 * clear the disabledIcon field.
386 disabledIcon = null;
421 * @return the <code>disabledIcon</code> property
428 if (!disabledIconSet && disabledIcon == null && defaultIcon != null) {
429 disabledIcon = UIManager.getLookAndFeel().getDisabledIcon(this, defaultIcon);
430 if (disabledIcon != null) {
431 firePropertyChange("disabledIcon", null, disabledIcon);
434 return disabledIcon;
444 * @param disabledIcon the Icon to display when the component is disabled
452 public void setDisabledIcon(Icon disabledIcon) {
453 Icon oldValue = this.disabledIcon;
454 this.disabledIcon = disabledIcon;
455 disabledIconSet = (disabledIcon != null);
456 firePropertyChange("disabledIcon", oldValue, disabledIcon);
457 if (disabledIcon != oldValue) {
458 if (disabledIcon == null || oldValue == null ||
459 disabledIcon.getIconWidth() != oldValue.getIconWidth() ||
460 disabledIcon.getIconHeight() != oldValue.getIconHeight()) {
896 !SwingUtilities.doesIconReferenceImage(disabledIcon, img)) {
935 String disabledIconString = ((disabledIcon != null)
936 && (disabledIcon != this) ?
937 disabledIcon.toString() : "");
983 ",disabledIcon=" + disabledIconString +