es.aeat.eett.jRubik.rubik.cell
Class RubikCellImpl
java.lang.Object
es.aeat.eett.jRubik.rubik.cell.RubikCellImpl
- All Implemented Interfaces:
- RubikCell
- public class RubikCellImpl
- extends java.lang.Object
- implements RubikCell
- Author:
- f00992
|
Field Summary |
private java.lang.String |
caption
|
private com.tonbeller.jpivot.olap.model.Cell |
cell
|
private int |
cellType
|
private int |
colspan
|
private com.tonbeller.jpivot.olap.model.Displayable |
displayable
|
private int |
indent
|
private java.lang.String |
name
|
private int |
navi
|
private int |
rowspan
|
private com.tonbeller.jpivot.table.span.Span |
span
|
private int |
style
|
| Fields inherited from interface es.aeat.eett.jRubik.rubik.cell.RubikCell |
BODY, CELL, COL_INI_DATA, COLS_IN_HEADER, CORNER, FALSECELL, HEAD, HEADING, HEADING_HEADING, MEMBER, NAME, NAVI_COLLAPSE, NAVI_EXPAND, NAVI_NULL, RESULT_IS_EMPTY, ROW, ROWS_IN_BODY, ROWS_IN_HEADER, SLICER, STYLE_EVEN, STYLE_ODD, STYLE_SPAN |
|
Constructor Summary |
RubikCellImpl(java.lang.String name)
Constructor |
RubikCellImpl(java.lang.String name,
com.tonbeller.jpivot.olap.model.Displayable displayable)
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
colspan
private int colspan
rowspan
private int rowspan
displayable
private com.tonbeller.jpivot.olap.model.Displayable displayable
cell
private com.tonbeller.jpivot.olap.model.Cell cell
span
private com.tonbeller.jpivot.table.span.Span span
name
private java.lang.String name
caption
private java.lang.String caption
style
private int style
indent
private int indent
cellType
private int cellType
navi
private int navi
RubikCellImpl
public RubikCellImpl(java.lang.String name)
- Constructor
- Parameters:
name - (name y caption) de la celda.
RubikCellImpl
public RubikCellImpl(java.lang.String name,
com.tonbeller.jpivot.olap.model.Displayable displayable)
- Constructor
- Parameters:
name - displayable -
getCellType
public int getCellType()
- Specified by:
getCellType in interface RubikCell
- Returns:
- Returns the cellType.
setCellType
public void setCellType(int cellType)
- Specified by:
setCellType in interface RubikCell
- Parameters:
cellType - The cellType to set.
getDisplayable
public com.tonbeller.jpivot.olap.model.Displayable getDisplayable()
- Specified by:
getDisplayable in interface RubikCell
- Returns:
- the Displayable.
setDisplayable
public void setDisplayable(com.tonbeller.jpivot.olap.model.Displayable displayable)
- Specified by:
setDisplayable in interface RubikCell
- Parameters:
displayable - The Displayable to set.
setCaption
public void setCaption(java.lang.String caption)
- Specified by:
setCaption in interface RubikCell
- Parameters:
caption - The caption to set.
getColspan
public int getColspan()
- Specified by:
getColspan in interface RubikCell
- Returns:
- the colspan
getRowspan
public int getRowspan()
- Specified by:
getRowspan in interface RubikCell
- Returns:
- the rowspan
getCaption
public java.lang.String getCaption()
- Specified by:
getCaption in interface RubikCell
- Returns:
- the caption
setColspan
public void setColspan(int colspan)
- Specified by:
setColspan in interface RubikCell
- Parameters:
colspan -
setRowspan
public void setRowspan(int rowspan)
- Specified by:
setRowspan in interface RubikCell
- Parameters:
rowspan -
getName
public java.lang.String getName()
- Specified by:
getName in interface RubikCell
- Returns:
- Returns the name.
getStyle
public int getStyle()
- Specified by:
getStyle in interface RubikCell
- Returns:
- Returns the style.
setStyle
public void setStyle(int style)
- Specified by:
setStyle in interface RubikCell
- Parameters:
style - The style to set.
getIndent
public int getIndent()
- Specified by:
getIndent in interface RubikCell
- Returns:
- identacion
setIndent
public void setIndent(int indent)
- Specified by:
setIndent in interface RubikCell
- Parameters:
indent -
toString
public java.lang.String toString()
- Description copied from interface:
RubikCell
- Sobreescribe el metodo toString();
- Specified by:
toString in interface RubikCell
getSpan
public com.tonbeller.jpivot.table.span.Span getSpan()
- Specified by:
getSpan in interface RubikCell
- Returns:
- Returns the Span.
setSpan
public void setSpan(com.tonbeller.jpivot.table.span.Span span)
- Specified by:
setSpan in interface RubikCell
- Parameters:
span - The Span to set.
getNavi
public int getNavi()
- Specified by:
getNavi in interface RubikCell
- Returns:
- Returns the navi.
setNavi
public void setNavi(int navi)
- Specified by:
setNavi in interface RubikCell
- Parameters:
navi - The navi to set.
canExpand
public boolean canExpand()
- Specified by:
canExpand in interface RubikCell
canCollapse
public boolean canCollapse()
- Specified by:
canCollapse in interface RubikCell
setCell
public void setCell(com.tonbeller.jpivot.olap.model.Cell cell)
- Specified by:
setCell in interface RubikCell
getCell
public com.tonbeller.jpivot.olap.model.Cell getCell()
- Specified by:
getCell in interface RubikCell
JRubik v0.6