Class AccessibleTextEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class AccessibleTextEvent
    extends java.util.EventObject
    Instances of this class are sent as a result of accessibility clients sending messages to controls asking for detailed information about the implementation of the control instance. Typically, only implementors of custom controls need to listen for this event.

    Note: The meaning of each field depends on the message that was sent.

    Since:
    3.0
    See Also:
    AccessibleTextListener, AccessibleTextAdapter, Sample code and further information, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AccessibleTextEvent​(java.lang.Object source)
      Constructs a new instance of this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns a string containing a concise, human-readable description of the receiver.
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • childID

        public int childID
      • offset

        public int offset
      • length

        public int length
      • accessible

        public Accessible accessible
        Since:
        3.6
      • result

        public java.lang.String result
        The value of this field must be set in the accessible text extended listener method before returning. What to set it to depends on the listener method called.
        Since:
        3.6
      • count

        public int count
        Since:
        3.6
      • index

        public int index
        Since:
        3.6
      • start

        public int start
        Since:
        3.6
      • end

        public int end
        Since:
        3.6
      • type

        public int type
        Since:
        3.6
      • x

        public int x
        Since:
        3.6
      • y

        public int y
        Since:
        3.6
      • width

        public int width
        Since:
        3.6
      • height

        public int height
        Since:
        3.6
      • ranges

        public int[] ranges
        Since:
        3.6
      • rectangles

        public Rectangle[] rectangles
        Since:
        3.6
    • Constructor Detail

      • AccessibleTextEvent

        public AccessibleTextEvent​(java.lang.Object source)
        Constructs a new instance of this class.
        Parameters:
        source - the object that fired the event
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a string containing a concise, human-readable description of the receiver.
        Overrides:
        toString in class java.util.EventObject
        Returns:
        a string representation of the event