Package diva.gui
Class ViewEvent
- java.lang.Object
-
- java.util.EventObject
-
- diva.gui.ViewEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ViewEvent extends java.util.EventObject
A view event is generated when a view of a Document is iconified, selected, closed, and so on.- Version:
- $Id$
- Author:
- John Reekie, Heloise Hse
- See Also:
- Serialized Form
- Pt.AcceptedRating:
- Red
-
-
Field Summary
Fields Modifier and Type Field Description static int
VIEW_CLOSED
The view closed event typestatic int
VIEW_CLOSING
The view closing event typestatic int
VIEW_DESELECTED
The view deselected event typestatic int
VIEW_HIDDEN
The view hidden event typestatic int
VIEW_MOVED
The view moved event typestatic int
VIEW_RESIZED
The view resized event typestatic int
VIEW_SELECTED
The view selected event typestatic int
VIEW_SHOWN
The view shown event type
-
Constructor Summary
Constructors Constructor Description ViewEvent(javax.swing.JComponent view, int id)
Create a view event with the specified component and type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getID()
Return the event type.javax.swing.JComponent
getView()
Return the component/view that the event refers to
-
-
-
Field Detail
-
VIEW_CLOSING
public static final int VIEW_CLOSING
The view closing event type- See Also:
- Constant Field Values
-
VIEW_CLOSED
public static final int VIEW_CLOSED
The view closed event type- See Also:
- Constant Field Values
-
VIEW_DESELECTED
public static final int VIEW_DESELECTED
The view deselected event type- See Also:
- Constant Field Values
-
VIEW_HIDDEN
public static final int VIEW_HIDDEN
The view hidden event type- See Also:
- Constant Field Values
-
VIEW_MOVED
public static final int VIEW_MOVED
The view moved event type- See Also:
- Constant Field Values
-
VIEW_RESIZED
public static final int VIEW_RESIZED
The view resized event type- See Also:
- Constant Field Values
-
VIEW_SELECTED
public static final int VIEW_SELECTED
The view selected event type- See Also:
- Constant Field Values
-
VIEW_SHOWN
public static final int VIEW_SHOWN
The view shown event type- See Also:
- Constant Field Values
-
-