Searched defs:disabledIcon (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DJLabel.java120 private Icon disabledIcon = null; field in class:JLabel
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);
452 setDisabledIcon(Icon disabledIcon) argument
[all...]
H A DAbstractButton.java152 public static final String DISABLED_ICON_CHANGED_PROPERTY = "disabledIcon";
171 private Icon disabledIcon = null; field in class:AbstractButton
461 * clear the disabledIcon field.
463 if (defaultIcon != oldValue && (disabledIcon instanceof UIResource)) {
464 disabledIcon = null;
645 * @return the <code>disabledIcon</code> property
652 if (disabledIcon == null) {
653 disabledIcon = UIManager.getLookAndFeel().getDisabledIcon(this, getIcon());
654 if (disabledIcon != null) {
655 firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, null, disabledIcon);
670 setDisabledIcon(Icon disabledIcon) argument
[all...]
H A DJTabbedPane.java234 Icon icon = pages.get(i).disabledIcon;
1146 if (page.disabledIcon == null) {
1147 page.disabledIcon = UIManager.getLookAndFeel().getDisabledIcon(this, page.icon);
1149 return page.disabledIcon;
1367 * clear the disabledIcon field of the page.
1369 if (page.disabledIcon instanceof UIResource) {
1370 page.disabledIcon = null;
1390 * @param disabledIcon the icon to be displayed in the tab when disabled
1400 public void setDisabledIconAt(int index, Icon disabledIcon) { argument
1401 Icon oldIcon = pages.get(index).disabledIcon;
2038 Icon disabledIcon; field in class:JTabbedPane.Page
2048 Page(JTabbedPane parent, String title, Icon icon, Icon disabledIcon, Component component, String tip) argument
[all...]

Completed in 39 milliseconds