|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
java.awt.AWTEvent
com.jidesoft.document.DocumentComponentEvent
public class DocumentComponentEvent
Event for DocumentComponent.
| Field Summary | |
|---|---|
static int |
DOCUMENT_COMPONENT_ACTIVATED
The "document component activated" event type. |
static int |
DOCUMENT_COMPONENT_CLOSED
The "document closed" event. |
static int |
DOCUMENT_COMPONENT_CLOSING
The "document is closing" event. |
static int |
DOCUMENT_COMPONENT_DEACTIVATED
The "document component deactivated" event type. |
static int |
DOCUMENT_COMPONENT_DOCKED
The "document docked" event. |
static int |
DOCUMENT_COMPONENT_FIRST
The first number in the range of IDs used for document component events. |
static int |
DOCUMENT_COMPONENT_FLOATED
The "document floating" event. |
static int |
DOCUMENT_COMPONENT_LAST
The last number in the range of IDs used for document component events. |
static int |
DOCUMENT_COMPONENT_MOVED
The "document moved" event. |
static int |
DOCUMENT_COMPONENT_MOVING
The "document is moving" event. |
static int |
DOCUMENT_COMPONENT_OPENED
The "document opened" event. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
DocumentComponentEvent(DocumentComponent source,
int id)
Constructs an DocumentComponentEvent object. |
|
| Method Summary | |
|---|---|
DocumentComponent |
getDocumentComponent()
Returns the originator of the event. |
String |
paramString()
Returns a parameter string identifying this event. |
| Methods inherited from class java.awt.AWTEvent |
|---|
consume, getID, isConsumed, setSource, toString |
| 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 |
|---|
public static final int DOCUMENT_COMPONENT_FIRST
public static final int DOCUMENT_COMPONENT_LAST
public static final int DOCUMENT_COMPONENT_OPENED
public static final int DOCUMENT_COMPONENT_CLOSING
closeDocument method. When you handle this event, you have a chance to
prevent it from closed by setAllowClosing to false.
public static final int DOCUMENT_COMPONENT_CLOSED
closeDocument.
public static final int DOCUMENT_COMPONENT_ACTIVATED
public static final int DOCUMENT_COMPONENT_DEACTIVATED
public static final int DOCUMENT_COMPONENT_MOVING
moveDocument method. When you handle this event, you
have a chance to prevent it from moved by setAllowMoving to false.
public static final int DOCUMENT_COMPONENT_MOVED
moveDocument.
public static final int DOCUMENT_COMPONENT_DOCKED
dockDocument.
public static final int DOCUMENT_COMPONENT_FLOATED
floatDocument.
| Constructor Detail |
|---|
public DocumentComponentEvent(DocumentComponent source,
int id)
DocumentComponentEvent object.
source - the DocumentComponent object that originated the eventid - an integer indicating the type of event| Method Detail |
|---|
public String paramString()
paramString in class AWTEventpublic DocumentComponent getDocumentComponent()
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||