src/share/classes/javax/accessibility/AccessibleContext.java

Print this page




 279      */
 280     public static final String ACCESSIBLE_HYPERTEXT_OFFSET =
 281         "AccessibleHypertextOffset";
 282 
 283     /**
 284      * PropertyChangeEvent which indicates that text has changed.
 285      * <br>
 286      * For text insertion, the oldValue is null and the newValue
 287      * is an AccessibleTextSequence specifying the text that was
 288      * inserted.
 289      * <br>
 290      * For text deletion, the oldValue is an AccessibleTextSequence
 291      * specifying the text that was deleted and the newValue is null.
 292      * <br>
 293      * For text replacement, the oldValue is an AccessibleTextSequence
 294      * specifying the old text and the newValue is an AccessibleTextSequence
 295      * specifying the new text.
 296      *
 297      * @see #getAccessibleText
 298      * @see #addPropertyChangeListener
 299      * @see #AccessibleText.AccessibleTextSequence
 300      */
 301     public static final String ACCESSIBLE_TEXT_PROPERTY
 302         = "AccessibleText";
 303 
 304     /**
 305      * PropertyChangeEvent which indicates that a significant change
 306      * has occurred to the children of a component like a tree or text.
 307      * This change notifies the event listener that it needs to
 308      * reacquire the state of the subcomponents. The oldValue is
 309      * null and the newValue is the component whose children have
 310      * become invalid.
 311      *
 312      * @see #getAccessibleText
 313      * @see #addPropertyChangeListener
 314      * @see #AccessibleText.AccessibleTextSequence
 315      *
 316      * @since 1.5
 317      */
 318     public static final String ACCESSIBLE_INVALIDATE_CHILDREN =
 319         "accessibleInvalidateChildren";
 320 
 321      /**
 322      * PropertyChangeEvent which indicates that text attributes have changed.
 323      * <br>
 324      * For attribute insertion, the oldValue is null and the newValue
 325      * is an AccessibleAttributeSequence specifying the attributes that were
 326      * inserted.
 327      * <br>
 328      * For attribute deletion, the oldValue is an AccessibleAttributeSequence
 329      * specifying the attributes that were deleted and the newValue is null.
 330      * <br>
 331      * For attribute replacement, the oldValue is an AccessibleAttributeSequence
 332      * specifying the old attributes and the newValue is an
 333      * AccessibleAttributeSequence specifying the new attributes.
 334      *
 335      * @see #getAccessibleText
 336      * @see #addPropertyChangeListener
 337      * @see #AccessibleText.AccessibleAttributeSequence
 338      *
 339      * @since 1.5
 340      */
 341     public static final String ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED =
 342         "accessibleTextAttributesChanged";
 343 
 344    /**
 345      * PropertyChangeEvent which indicates that a change has occurred
 346      * in a component's bounds.
 347      * The oldValue is the old component bounds and the newValue is
 348      * the new component bounds.
 349      *
 350      * @see #addPropertyChangeListener
 351      *
 352      * @since 1.5
 353      */
 354     public static final String ACCESSIBLE_COMPONENT_BOUNDS_CHANGED =
 355         "accessibleComponentBoundsChanged";
 356 
 357     /**




 279      */
 280     public static final String ACCESSIBLE_HYPERTEXT_OFFSET =
 281         "AccessibleHypertextOffset";
 282 
 283     /**
 284      * PropertyChangeEvent which indicates that text has changed.
 285      * <br>
 286      * For text insertion, the oldValue is null and the newValue
 287      * is an AccessibleTextSequence specifying the text that was
 288      * inserted.
 289      * <br>
 290      * For text deletion, the oldValue is an AccessibleTextSequence
 291      * specifying the text that was deleted and the newValue is null.
 292      * <br>
 293      * For text replacement, the oldValue is an AccessibleTextSequence
 294      * specifying the old text and the newValue is an AccessibleTextSequence
 295      * specifying the new text.
 296      *
 297      * @see #getAccessibleText
 298      * @see #addPropertyChangeListener
 299      * @see AccessibleTextSequence
 300      */
 301     public static final String ACCESSIBLE_TEXT_PROPERTY
 302         = "AccessibleText";
 303 
 304     /**
 305      * PropertyChangeEvent which indicates that a significant change
 306      * has occurred to the children of a component like a tree or text.
 307      * This change notifies the event listener that it needs to
 308      * reacquire the state of the subcomponents. The oldValue is
 309      * null and the newValue is the component whose children have
 310      * become invalid.
 311      *
 312      * @see #getAccessibleText
 313      * @see #addPropertyChangeListener
 314      * @see AccessibleTextSequence
 315      *
 316      * @since 1.5
 317      */
 318     public static final String ACCESSIBLE_INVALIDATE_CHILDREN =
 319         "accessibleInvalidateChildren";
 320 
 321      /**
 322      * PropertyChangeEvent which indicates that text attributes have changed.
 323      * <br>
 324      * For attribute insertion, the oldValue is null and the newValue
 325      * is an AccessibleAttributeSequence specifying the attributes that were
 326      * inserted.
 327      * <br>
 328      * For attribute deletion, the oldValue is an AccessibleAttributeSequence
 329      * specifying the attributes that were deleted and the newValue is null.
 330      * <br>
 331      * For attribute replacement, the oldValue is an AccessibleAttributeSequence
 332      * specifying the old attributes and the newValue is an
 333      * AccessibleAttributeSequence specifying the new attributes.
 334      *
 335      * @see #getAccessibleText
 336      * @see #addPropertyChangeListener
 337      * @see AccessibleAttributeSequence
 338      *
 339      * @since 1.5
 340      */
 341     public static final String ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED =
 342         "accessibleTextAttributesChanged";
 343 
 344    /**
 345      * PropertyChangeEvent which indicates that a change has occurred
 346      * in a component's bounds.
 347      * The oldValue is the old component bounds and the newValue is
 348      * the new component bounds.
 349      *
 350      * @see #addPropertyChangeListener
 351      *
 352      * @since 1.5
 353      */
 354     public static final String ACCESSIBLE_COMPONENT_BOUNDS_CHANGED =
 355         "accessibleComponentBoundsChanged";
 356 
 357     /**