org.gnu.gtk.event
public class ExposeEvent extends GtkEvent
Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. Signal handling an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use this class.
This event object is used to identify how expose has changed.Nested Class Summary | |
---|---|
static class | ExposeEvent.Type |
Constructor Summary | |
---|---|
ExposeEvent(Object source, EventExpose gdkEvent) | |
ExposeEvent(Object source, EventNoExpose gdkEvent) |
Method Summary | |
---|---|
Rectangle | getArea()
Returns the bounding box of region.
|
int | getCount()
Returns the number of contiguous EXPOSE events following this one. |
Region | getRegion()
Returns the region that needs to be redrawn.
|
boolean | getSendEvent()
Check if the event was sent explicitly (eg using XSendEvent).
|
Window | getWindow()
The window which received the event.
|
boolean | isOfType(ExposeEvent.Type test)
Test to compare events. |
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Returns the bounding box of region.Returns: the bounding box of region.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Returns the number of contiguous EXPOSE events following this one. The only use for this is "exposure compression", i.e. handling all contiguous EXPOSE events in one go, though GDK performs some exposure compression so this is not normally needed.Returns: the number of contiguous EXPOSE events following this one.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Returns the region that needs to be redrawn.Returns: the region that needs to be redrawn.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Check if the event was sent explicitly (eg using XSendEvent).Returns: true if the event was sent explicitly (e.g. using XSendEvent), false otherwise.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
The window which received the event.Returns: the window which received the event.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Test to compare events.