public abstract class AUndoableCellAction extends Object implements IUndoableGridTableAction
| Modifier and Type | Field and Description |
|---|---|
protected MetaInfoWriter |
metaInfoWriter |
| Constructor and Description |
|---|
AUndoableCellAction(int col,
int row,
MetaInfoWriter metaInfoWriter) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCol() |
ICellComment |
getPrevComment() |
String |
getPrevFormula() |
CellMetaInfo |
getPrevMetaInfo() |
ICellStyle |
getPrevStyle() |
Object |
getPrevValue() |
int |
getRow() |
protected void |
restorePrevCell(IWritableGrid grid) |
protected void |
savePrevCell(IWritableGrid grid) |
void |
setCol(int col) |
void |
setPrevComment(ICellComment prevComment) |
void |
setPrevFormula(String prevFormula) |
void |
setPrevMetaInfo(CellMetaInfo prevMetaInfo) |
void |
setPrevStyle(ICellStyle prevStyle) |
void |
setPrevValue(Object prevValue) |
void |
setRow(int row) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoAction, undoActionprotected final MetaInfoWriter metaInfoWriter
public AUndoableCellAction(int col,
int row,
MetaInfoWriter metaInfoWriter)
protected void savePrevCell(IWritableGrid grid)
protected void restorePrevCell(IWritableGrid grid)
public int getCol()
public void setCol(int col)
public int getRow()
public void setRow(int row)
public Object getPrevValue()
public void setPrevValue(Object prevValue)
public String getPrevFormula()
public void setPrevFormula(String prevFormula)
public ICellStyle getPrevStyle()
public void setPrevStyle(ICellStyle prevStyle)
public ICellComment getPrevComment()
public void setPrevComment(ICellComment prevComment)
public CellMetaInfo getPrevMetaInfo()
public void setPrevMetaInfo(CellMetaInfo prevMetaInfo)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.