public class PresentHighlightAction extends AbstractHighlightAction
构造器和说明 |
---|
PresentHighlightAction() |
PresentHighlightAction(java.lang.Object obj) |
PresentHighlightAction(Present present) |
限定符和类型 | 方法和说明 |
---|---|
void |
action(CellElement currentCellElement,
Calculator calculator)
执行条件属性
|
void |
action(CellElement currentCellElement,
Calculator calculator,
EvalFormulaAction evalFormulaAction)
执行新值条件属性
|
void |
analyzeCorrelative(CalculatorProvider calculator,
ExTool exTool,
ColumnRow currentCr)
记录高亮中使用的相关格子,当格子值改变后,格子的值需要相应做改变
|
java.lang.Object |
clone() |
java.lang.String[] |
dependence(CalculatorProvider ca)
获取当前对象对参数的依赖关系
|
boolean |
equals(java.lang.Object o) |
Present |
getPresent() |
java.lang.Object |
getValue() |
int |
getValueIndex() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setPresent(Present present) |
void |
setValue(java.lang.Object obj) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
getActionResult
public PresentHighlightAction()
public PresentHighlightAction(java.lang.Object obj)
public PresentHighlightAction(Present present)
public Present getPresent()
public java.lang.Object getValue()
public void setValue(java.lang.Object obj)
public void setPresent(Present present)
public void action(CellElement currentCellElement, Calculator calculator)
currentCellElement
- 当前单元格calculator
- 当前算子public void action(CellElement currentCellElement, Calculator calculator, EvalFormulaAction evalFormulaAction)
action
在接口中 HighlightAction
action
在类中 AbstractHighlightAction
currentCellElement
- 当前单元格calculator
- 当前算子evalFormulaAction
- 公式计算器public void analyzeCorrelative(CalculatorProvider calculator, ExTool exTool, ColumnRow currentCr)
analyzeCorrelative
在接口中 HighlightAction
analyzeCorrelative
在类中 AbstractHighlightAction
calculator
- 算子exTool
- 格子间关系计算工具currentCr
- 当前行列public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 AbstractHighlightAction
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public void readXML(XMLableReader reader)
XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
writer
- XML写入对象public boolean equals(java.lang.Object o)
equals
在类中 AbstractHighlightAction
public java.lang.String[] dependence(CalculatorProvider ca)
dependence
在接口中 DependenceProvider
dependence
在类中 AbstractHighlightAction
ca
- 当前线程的算子public int getValueIndex()