|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zss.engine.impl.AbstractRefImpl
org.zkoss.zss.engine.impl.CellRefImpl
public class CellRefImpl
Reference area used with IndexableRefMatrix for hit test.
| Constructor Summary | |
|---|---|
CellRefImpl(int row,
int col,
RefSheet ownerSheet)
|
|
| Method Summary | |
|---|---|
int |
getBottomRow()
Return the row index of the right bottom corner. |
int |
getColumnCount()
Returns the number of columns in this reference. |
int |
getLeftCol()
Return the column index of the left top corner. |
int |
getRightCol()
Return the column index of the right bottom corner. |
int |
getRowCount()
Returns the number of rows in this reference. |
int |
getTopRow()
Return the row index of the left top corner. |
boolean |
isWholeColumn()
Returns whether this reference cover the whole column. |
boolean |
isWholeRow()
Returns whether this reference cover the whole row. |
boolean |
isWholeSheet()
Returns whether this reference cover the whole sheet. |
boolean |
isWithIndirectPrecedent()
Returns whether this reference contains Indirect precedent. |
protected void |
removeSelf()
|
void |
setBottomRow(int row)
Sets the row index of the right bottom corner. |
void |
setLeftCol(int col)
Sets the column index of the left top corner. |
void |
setRightCol(int col)
Sets the column index of the right bottom corner. |
void |
setTopRow(int row)
Sets the row index of the left top corner. |
void |
setWithIndirectPrecedent(boolean b)
Sets whether this reference contains Indirect precedent. |
| Methods inherited from class org.zkoss.zss.engine.impl.AbstractRefImpl |
|---|
getDependents, getOwnerSheet, getPrecedents, removeAllPrecedents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.zkoss.zss.engine.Ref |
|---|
getDependents, getOwnerSheet, getPrecedents, removeAllPrecedents |
| Constructor Detail |
|---|
public CellRefImpl(int row,
int col,
RefSheet ownerSheet)
| Method Detail |
|---|
public int getLeftCol()
Ref
getLeftCol in interface Refpublic int getTopRow()
Ref
getTopRow in interface Refpublic int getRightCol()
Ref
getRightCol in interface Refpublic int getBottomRow()
Ref
getBottomRow in interface Refpublic void setTopRow(int row)
Ref
setTopRow in interface Refrow - the row index of the left top corner.public void setLeftCol(int col)
Ref
setLeftCol in interface Refcol - the column index of the left top corner.public void setBottomRow(int row)
Ref
setBottomRow in interface Refrow - the row index of the right bottom corner.public void setRightCol(int col)
Ref
setRightCol in interface Refcol - the column index of the right bottom corner.public boolean isWholeColumn()
Ref
isWholeColumn in interface Refpublic boolean isWholeRow()
Ref
isWholeRow in interface Refpublic boolean isWholeSheet()
Ref
isWholeSheet in interface Refpublic int getColumnCount()
Ref
getColumnCount in interface Refpublic int getRowCount()
Ref
getRowCount in interface Refpublic boolean isWithIndirectPrecedent()
Ref
isWithIndirectPrecedent in interface RefisWithIndirectPrecedent in class AbstractRefImplpublic void setWithIndirectPrecedent(boolean b)
Ref
setWithIndirectPrecedent in interface RefsetWithIndirectPrecedent in class AbstractRefImplb - whether this reference contains Indirect precedent.protected void removeSelf()
removeSelf in class AbstractRefImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||