Serialized Form

  • Package java.awt

  • Package java.awt.event

    • Class java.awt.event.ActionEvent extends AWTEvent implements Serializable

      serialVersionUID:
      -7671078796273832149L
      • Serialized Fields

        • actionCommand

          java.lang.String actionCommand
          The nonlocalized string that gives more details of what actually caused the event. This information is very specific to the component that fired it.
           
          See Also:
          ActionEvent.getActionCommand()
        • when

          long when
          Timestamp of when this event occurred. Because an ActionEvent is a high- level, semantic event, the timestamp is typically the same as an underlying InputEvent.
           
          See Also:
          ActionEvent.getWhen()
        • modifiers

          int modifiers
          This represents the key modifier that was selected, and is used to determine the state of the selected key. If no modifier has been selected it will default to zero.
           
          See Also:
          ActionEvent.getModifiers()
    • Class java.awt.event.AdjustmentEvent extends AWTEvent implements Serializable

      serialVersionUID:
      5700290645205279921L
      • Serialized Fields

        • adjustable

          Adjustable adjustable
          The adjustable object that fired the event.
           
          See Also:
          AdjustmentEvent.getAdjustable()
        • value

          int value
          value will contain the new value of the adjustable object. This value will always be in a range associated adjustable object.
           
          See Also:
          AdjustmentEvent.getValue()
        • adjustmentType

          int adjustmentType
          The adjustmentType describes how the adjustable object value has changed. This value can be increased/decreased by a block or unit amount where the block is associated with page increments/decrements, and a unit is associated with line increments/decrements.
           
          See Also:
          AdjustmentEvent.getAdjustmentType()
        • isAdjusting

          boolean isAdjusting
          The isAdjusting is true if the event is one of the series of multiple adjustment events.
           
          Since:
          1.4
          See Also:
          AdjustmentEvent.getValueIsAdjusting()
    • Class java.awt.event.ComponentEvent extends AWTEvent implements Serializable

      serialVersionUID:
      8101406823902992965L
    • Class java.awt.event.ContainerEvent extends ComponentEvent implements Serializable

      serialVersionUID:
      -4114942250539772041L
    • Class java.awt.event.FocusEvent extends ComponentEvent implements Serializable

      serialVersionUID:
      523753786457416396L
      • Serialized Fields

        • temporary

          boolean temporary
          A focus event can have two different levels, permanent and temporary. It will be set to true if some operation takes away the focus temporarily and intends on getting it back once the event is completed. Otherwise it will be set to false.
           
          See Also:
          FocusEvent.isTemporary()
    • Class java.awt.event.HierarchyEvent extends AWTEvent implements Serializable

      serialVersionUID:
      -5337576970038043990L
      • Serialized Fields

        • changed

          Component changed
        • changedParent

          Container changedParent
        • changeFlags

          long changeFlags
    • Class java.awt.event.InputEvent extends ComponentEvent implements Serializable

      serialVersionUID:
      -2482525981698309786L
    • Class java.awt.event.InputMethodEvent extends AWTEvent implements Serializable

      serialVersionUID:
      4727190874778922661L
      • Serialization Methods

        • readObject

          private void readObject(java.io.ObjectInputStream s) throws java.lang.ClassNotFoundException, java.io.IOException
          Initializes the when field if it is not present in the object input stream. In that case, the field will be initialized by invoking EventQueue.getMostRecentEventTime().
          Throws:
          java.lang.ClassNotFoundException
          java.io.IOException
      • Serialized Fields

    • Class java.awt.event.InvocationEvent extends AWTEvent implements Serializable

      serialVersionUID:
      436056344909459450L
      • Serialized Fields

        • runnable

          java.lang.Runnable runnable
          The Runnable whose run() method will be called.
        • notifier

          java.lang.Object notifier
          The (potentially null) Object whose notifyAll() method will be called immediately after the Runnable.run() method has returned or thrown an exception.
          See Also:
          InvocationEvent.isDispatched()
        • dispatched

          boolean dispatched
          Indicates whether the run() method of the runnable was executed or not.
          Since:
          1.7
          See Also:
          InvocationEvent.isDispatched()
        • catchExceptions

          boolean catchExceptions
          Set to true if dispatch() catches Throwable and stores it in the exception instance variable. If false, Throwables are propagated up to the EventDispatchThread's dispatch loop.
        • exception

          java.lang.Exception exception
          The (potentially null) Exception thrown during execution of the Runnable.run() method. This variable will also be null if a particular instance does not catch exceptions.
        • throwable

          java.lang.Throwable throwable
          The (potentially null) Throwable thrown during execution of the Runnable.run() method. This variable will also be null if a particular instance does not catch exceptions.
        • when

          long when
          The timestamp of when this event occurred.
           
          See Also:
          InvocationEvent.getWhen()
    • Class java.awt.event.ItemEvent extends AWTEvent implements Serializable

      serialVersionUID:
      -608708132447206933L
      • Serialized Fields

        • item

          java.lang.Object item
          The item whose selection state has changed.
           
          See Also:
          ItemEvent.getItem()
        • stateChange

          int stateChange
          stateChange indicates whether the item was selected or deselected.
           
          See Also:
          ItemEvent.getStateChange()
    • Class java.awt.event.KeyEvent extends InputEvent implements Serializable

      serialVersionUID:
      -2352130953028126954L
      • Serialization Methods

        • readObject

          private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, java.lang.ClassNotFoundException
          Sets new modifiers by the old ones. The key modifiers override overlaping mouse modifiers.
          Throws:
          java.io.IOException
          java.lang.ClassNotFoundException
      • Serialized Fields

        • isProxyActive

          boolean isProxyActive
          Stores the state of native event dispatching system - true, if when the event was created event proxying mechanism was active - false, if it was inactive Used in Component.dispatchEventImpl to correctly dispatch events when proxy is active
        • keyCode

          int keyCode
          The unique value assigned to each of the keys on the keyboard. There is a common set of key codes that can be fired by most keyboards. The symbolic name for a key code should be used rather than the code value itself.
           
          See Also:
          KeyEvent.getKeyCode(), KeyEvent.setKeyCode(int)
        • keyChar

          char keyChar
          keyChar is a valid unicode character that is fired by a key or a key combination on a keyboard.
           
          See Also:
          KeyEvent.getKeyChar(), KeyEvent.setKeyChar(char)
        • keyLocation

          int keyLocation
          The location of the key on the keyboard. Some keys occur more than once on a keyboard, e.g. the left and right shift keys. Additionally, some keys occur on the numeric keypad. This variable is used to distinguish such keys. The only legal values are KEY_LOCATION_UNKNOWN, KEY_LOCATION_STANDARD, KEY_LOCATION_LEFT, KEY_LOCATION_RIGHT, and KEY_LOCATION_NUMPAD.
           
          See Also:
          KeyEvent.getKeyLocation()
    • Class java.awt.event.MouseEvent extends InputEvent implements Serializable

      serialVersionUID:
      -991214153494842848L
      • Serialization Methods

        • readObject

          private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, java.lang.ClassNotFoundException
          Sets new modifiers by the old ones.
          Throws:
          java.io.IOException
          java.lang.ClassNotFoundException
      • Serialized Fields

        • x

          int x
          The mouse event's x coordinate. The x value is relative to the component that fired the event.
           
          See Also:
          MouseEvent.getX()
        • y

          int y
          The mouse event's y coordinate. The y value is relative to the component that fired the event.
           
          See Also:
          MouseEvent.getY()
        • xAbs

          int xAbs
          The mouse event's x absolute coordinate. In a virtual device multi-screen environment in which the desktop area could span multiple physical screen devices, this coordinate is relative to the virtual coordinate system. Otherwise, this coordinate is relative to the coordinate system associated with the Component's GraphicsConfiguration.
           
        • yAbs

          int yAbs
          The mouse event's y absolute coordinate. In a virtual device multi-screen environment in which the desktop area could span multiple physical screen devices, this coordinate is relative to the virtual coordinate system. Otherwise, this coordinate is relative to the coordinate system associated with the Component's GraphicsConfiguration.
           
        • clickCount

          int clickCount
          Indicates the number of quick consecutive clicks of a mouse button. clickCount will be valid for only three mouse events :
          MOUSE_CLICKED, MOUSE_PRESSED and MOUSE_RELEASED. For the above, the clickCount will be at least 1. For all other events the count will be 0.
           
          See Also:
          MouseEvent.getClickCount().
        • button

          int button
          Indicates which, if any, of the mouse buttons has changed state. The valid values are ranged from 0 to the value returned by the MouseInfo.getNumberOfButtons() method. This range already includes constants NOBUTTON, BUTTON1, BUTTON2, and BUTTON3 if these buttons are present. So it is allowed to use these constants too. For example, for a mouse with two buttons this field may contain the following values:
          • 0 (NOBUTTON)
          • 1 (BUTTON1)
          • 2 (BUTTON2)
          If a mouse has 5 buttons, this field may contain the following values:
          • 0 (NOBUTTON)
          • 1 (BUTTON1)
          • 2 (BUTTON2)
          • 3 (BUTTON3)
          • 4
          • 5
          If support for extended mouse buttons is Toolkit.areExtraMouseButtonsEnabled() disabled by Java then the field may not contain the value larger than BUTTON3.
           
          See Also:
          MouseEvent.getButton(), Toolkit.areExtraMouseButtonsEnabled()
        • popupTrigger

          boolean popupTrigger
          A property used to indicate whether a Popup Menu should appear with a certain gestures. If popupTrigger = false, no popup menu should appear. If it is true then a popup menu should appear.
           
          See Also:
          PopupMenu, MouseEvent.isPopupTrigger()
    • Class java.awt.event.MouseWheelEvent extends MouseEvent implements Serializable

      serialVersionUID:
      6459879390515399677L
    • Class java.awt.event.PaintEvent extends ComponentEvent implements Serializable

      serialVersionUID:
      1267492026433337593L
    • Class java.awt.event.TextEvent extends AWTEvent implements Serializable

      serialVersionUID:
      6269902291250941179L
    • Class java.awt.event.WindowEvent extends ComponentEvent implements Serializable

      serialVersionUID:
      -1567959133147912127L
      • Serialized Fields

        • oldState

          int oldState
          TBS
        • newState

          int newState
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge