com.jxcell
Class CellModifyEvent
java.lang.Object
java.util.EventObject
com.jxcell.ModifiedEvent
com.jxcell.CellModifyEvent
- All Implemented Interfaces:
- java.io.Serializable
public class CellModifyEvent
- extends ModifiedEvent
- See Also:
- Serialized Form
Constructor Summary |
CellModifyEvent(View view,
CellModifyEvent.ModifyAction modifyAction,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
Default constructor |
Method Summary |
static CellModifyEvent |
createCTRLVModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2)
|
static CellModifyEvent |
createCTRLXCTRLVModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
|
static CellModifyEvent |
createDragAndDropModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
|
static CellModifyEvent |
createFillHandleModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
|
static CellModifyEvent |
createKeyeventDeleteModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2)
|
static CellModifyEvent |
createOtherModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
|
static CellModifyEvent |
createRedoModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2)
|
static CellModifyEvent |
createUndoModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2)
|
int |
getDstCol1()
|
int |
getDstCol2()
|
int |
getDstRow1()
|
int |
getDstRow2()
|
int |
getDstSheet()
|
CellModifyEvent.ModifyAction |
getModificationAction()
|
int |
getSrcCol1()
|
int |
getSrcCol2()
|
int |
getSrcRow1()
|
int |
getSrcRow2()
|
int |
getSrcSheet()
|
boolean |
isCanceled()
|
void |
setCanceled(boolean canceled)
|
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CellModifyEvent
public CellModifyEvent(View view,
CellModifyEvent.ModifyAction modifyAction,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
- Default constructor
- Parameters:
view
- the ViewmodifyAction
- specifies modification actiondstSheet
- destination sheetdstRow1
- destination row 1dstCol1
- destination column 1dstRow2
- destination row 2dstCol2
- destination column 2srcSheet
- source sheetsrcRow1
- source row 1srcCol1
- source column 1srcRow2
- source row 2srcCol2
- source column 2
createCTRLVModifiedEvent
public static CellModifyEvent createCTRLVModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2)
createCTRLXCTRLVModifiedEvent
public static CellModifyEvent createCTRLXCTRLVModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
createKeyeventDeleteModifiedEvent
public static CellModifyEvent createKeyeventDeleteModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2)
createFillHandleModifiedEvent
public static CellModifyEvent createFillHandleModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
createDragAndDropModifiedEvent
public static CellModifyEvent createDragAndDropModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
createUndoModifiedEvent
public static CellModifyEvent createUndoModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2)
createRedoModifiedEvent
public static CellModifyEvent createRedoModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2)
createOtherModifiedEvent
public static CellModifyEvent createOtherModifiedEvent(View view,
int dstSheet,
int dstRow1,
int dstCol1,
int dstRow2,
int dstCol2,
int srcSheet,
int srcRow1,
int srcCol1,
int srcRow2,
int srcCol2)
getModificationAction
public CellModifyEvent.ModifyAction getModificationAction()
- Returns:
- the modificationAction
getDstSheet
public int getDstSheet()
- Returns:
- the dstSheet
getDstRow1
public int getDstRow1()
- Returns:
- the dstRow1
getDstCol1
public int getDstCol1()
- Returns:
- the dstCol1
getDstRow2
public int getDstRow2()
- Returns:
- the dstRow2
getDstCol2
public int getDstCol2()
- Returns:
- the dstCol2
getSrcSheet
public int getSrcSheet()
- Returns:
- the srcSheet
getSrcRow1
public int getSrcRow1()
- Returns:
- the srcRow1
getSrcCol1
public int getSrcCol1()
- Returns:
- the srcCol1
getSrcRow2
public int getSrcRow2()
- Returns:
- the srcRow2
getSrcCol2
public int getSrcCol2()
- Returns:
- the srcCol2
isCanceled
public boolean isCanceled()
setCanceled
public void setCanceled(boolean canceled)