Java java.awt.event ComponentEvent fields, constructors, methods, implement or subclass

Example usage for Java java.awt.event ComponentEvent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt.event ComponentEvent.

The text is from its open source code.

Field

intCOMPONENT_FIRST
The first number in the range of ids used for component events.
intCOMPONENT_LAST
The last number in the range of ids used for component events.
intCOMPONENT_MOVED
This event indicates that the component's position changed.
intCOMPONENT_RESIZED
This event indicates that the component's size changed.
intCOMPONENT_SHOWN
This event indicates that the component was made visible.
intCOMPONENT_HIDDEN
This event indicates that the component was rendered invisible.

Constructor

ComponentEvent(Component source, int id)
Constructs a ComponentEvent object.

Method

ComponentgetComponent()
Returns the originator of the event.
intgetID()
Returns the event type.
ObjectgetSource()
The object on which the Event initially occurred.
StringparamString()
Returns a parameter string identifying this event.
StringtoString()
Returns a String representation of this object.