2048 accessibleContext.firePropertyChange( |
2048 accessibleContext.firePropertyChange( |
2049 AccessibleContext.ACCESSIBLE_STATE_PROPERTY, |
2049 AccessibleContext.ACCESSIBLE_STATE_PROPERTY, |
2050 null, AccessibleState.SELECTED); |
2050 null, AccessibleState.SELECTED); |
2051 accessibleContext.firePropertyChange( |
2051 accessibleContext.firePropertyChange( |
2052 AccessibleContext.ACCESSIBLE_VALUE_PROPERTY, |
2052 AccessibleContext.ACCESSIBLE_VALUE_PROPERTY, |
2053 new Integer(0), new Integer(1)); |
2053 Integer.valueOf(0), Integer.valueOf(1)); |
2054 } else { |
2054 } else { |
2055 accessibleContext.firePropertyChange( |
2055 accessibleContext.firePropertyChange( |
2056 AccessibleContext.ACCESSIBLE_STATE_PROPERTY, |
2056 AccessibleContext.ACCESSIBLE_STATE_PROPERTY, |
2057 AccessibleState.SELECTED, null); |
2057 AccessibleState.SELECTED, null); |
2058 accessibleContext.firePropertyChange( |
2058 accessibleContext.firePropertyChange( |
2059 AccessibleContext.ACCESSIBLE_VALUE_PROPERTY, |
2059 AccessibleContext.ACCESSIBLE_VALUE_PROPERTY, |
2060 new Integer(1), new Integer(0)); |
2060 Integer.valueOf(1), Integer.valueOf(0)); |
2061 } |
2061 } |
2062 } |
2062 } |
2063 } |
2063 } |
2064 |
2064 |
2065 |
2065 |
2584 * Get the minimum value of this object as a Number. |
2584 * Get the minimum value of this object as a Number. |
2585 * |
2585 * |
2586 * @return an Integer of 0. |
2586 * @return an Integer of 0. |
2587 */ |
2587 */ |
2588 public Number getMinimumAccessibleValue() { |
2588 public Number getMinimumAccessibleValue() { |
2589 return new Integer(0); |
2589 return Integer.valueOf(0); |
2590 } |
2590 } |
2591 |
2591 |
2592 /** |
2592 /** |
2593 * Get the maximum value of this object as a Number. |
2593 * Get the maximum value of this object as a Number. |
2594 * |
2594 * |
2595 * @return An Integer of 1. |
2595 * @return An Integer of 1. |
2596 */ |
2596 */ |
2597 public Number getMaximumAccessibleValue() { |
2597 public Number getMaximumAccessibleValue() { |
2598 return new Integer(1); |
2598 return Integer.valueOf(1); |
2599 } |
2599 } |
2600 |
2600 |
2601 |
2601 |
2602 /* AccessibleText ---------- */ |
2602 /* AccessibleText ---------- */ |
2603 |
2603 |