|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ephox.editlive.java2.editor.operation.OperationEvent
public class OperationEvent
Field Summary | |
---|---|
static int |
ACCEPT_ACTION
Action fired when accepting operations |
static int |
ACCEPT_ALL_ACTION
Action fired when accepting all operations |
static int |
ADD_ACTION
Action fired when adding operations |
static int |
REJECT_ACTION
Action fired when rejecting operations |
static int |
REJECT_ALL_ACTION
Action fired when rejecting all operations |
static int |
REMOVE_ACTION
Action fired when removing operations |
static int |
UNTRACKED_CHANGE
Action fired when the document changes but track changes is off |
Constructor Summary | |
---|---|
OperationEvent(int type,
Operation operation)
Creates a new OperationEvent. |
Method Summary | |
---|---|
Operation |
getOperation()
Get the operation that changed state, or null if multiple operations changed. |
int |
getType()
Get the type of change that occurred. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ADD_ACTION
public static final int REMOVE_ACTION
public static final int ACCEPT_ACTION
public static final int REJECT_ACTION
public static final int ACCEPT_ALL_ACTION
public static final int REJECT_ALL_ACTION
public static final int UNTRACKED_CHANGE
Constructor Detail |
---|
public OperationEvent(int type, Operation operation)
type
- the event type.operation
- the operation that changed or null
if multiple operations changed.Method Detail |
---|
public Operation getOperation()
null
if multiple operations changed.
null
.public int getType()
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |