es.aeat.eett.plugins.tableNavi.table
Class DefaultCellAttribute
java.lang.Object
es.aeat.eett.plugins.tableNavi.table.DefaultCellAttribute
- All Implemented Interfaces:
- CellAttribute, CellFont, CellImage, CellSpan, CellToolTipText, ColoredCell
- Direct Known Subclasses:
- CellAttributeBiIcon
- public class DefaultCellAttribute
- extends java.lang.Object
- implements CellAttribute, CellSpan, ColoredCell, CellFont, CellImage, CellToolTipText
- Version:
- 1.0 11/22/98
- Author:
- Nobuo Tamemasa (modificado por f00992)
| Fields inherited from interface es.aeat.eett.plugins.tableNavi.table.CellSpan |
COLUMN, ROW |
|
Method Summary |
void |
addColumn()
|
void |
addRow()
|
void |
combine(int[] rows,
int[] columns)
|
java.awt.Color |
getBackground(int row,
int column)
|
java.awt.Font |
getFont(int row,
int column)
|
java.awt.Color |
getForeground(int row,
int column)
|
javax.swing.ImageIcon |
getImageIcon(int row,
int column)
|
java.awt.Dimension |
getSize()
|
int[] |
getSpan(int row,
int column)
|
java.lang.String |
getToolTipText(int row,
int column)
|
protected void |
initValue()
|
void |
insertRow(int row)
|
protected boolean |
isOutOfBounds(int[] rows,
int[] columns)
|
protected boolean |
isOutOfBounds(int row,
int column)
|
boolean |
isVisible(int row,
int column)
|
void |
setBackground(java.awt.Color color,
int[] rows,
int[] columns)
|
void |
setBackground(java.awt.Color color,
int row,
int column)
|
void |
setFont(java.awt.Font font,
int[] rows,
int[] columns)
|
void |
setFont(java.awt.Font font,
int row,
int column)
|
void |
setForeground(java.awt.Color color,
int[] rows,
int[] columns)
|
void |
setForeground(java.awt.Color color,
int row,
int column)
|
void |
setImageIcon(javax.swing.ImageIcon imageIcon,
int[] rows,
int[] columns)
|
void |
setImageIcon(javax.swing.ImageIcon imageIcon,
int row,
int column)
|
void |
setSize(java.awt.Dimension size)
|
void |
setSpan(int[] span,
int row,
int column)
|
void |
setToolTipText(java.lang.String toolTipText,
int[] rows,
int[] columns)
|
void |
setToolTipText(java.lang.String toolTipText,
int row,
int column)
|
protected void |
setValues(java.lang.Object[][] target,
java.lang.Object value,
int[] rows,
int[] columns)
|
void |
split(int row,
int column)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rowSize
protected int rowSize
columnSize
protected int columnSize
span
protected int[][][] span
foreground
protected java.awt.Color[][] foreground
background
protected java.awt.Color[][] background
font
protected java.awt.Font[][] font
icon
protected javax.swing.ImageIcon[][] icon
toolTipText
protected java.lang.String[][] toolTipText
DefaultCellAttribute
public DefaultCellAttribute()
DefaultCellAttribute
public DefaultCellAttribute(int numRows,
int numColumns)
initValue
protected void initValue()
getSpan
public int[] getSpan(int row,
int column)
- Specified by:
getSpan in interface CellSpan
setSpan
public void setSpan(int[] span,
int row,
int column)
- Specified by:
setSpan in interface CellSpan
isVisible
public boolean isVisible(int row,
int column)
- Specified by:
isVisible in interface CellSpan
combine
public void combine(int[] rows,
int[] columns)
- Specified by:
combine in interface CellSpan
split
public void split(int row,
int column)
- Specified by:
split in interface CellSpan
getForeground
public java.awt.Color getForeground(int row,
int column)
- Specified by:
getForeground in interface ColoredCell
setForeground
public void setForeground(java.awt.Color color,
int row,
int column)
- Specified by:
setForeground in interface ColoredCell
setForeground
public void setForeground(java.awt.Color color,
int[] rows,
int[] columns)
- Specified by:
setForeground in interface ColoredCell
getBackground
public java.awt.Color getBackground(int row,
int column)
- Specified by:
getBackground in interface ColoredCell
setBackground
public void setBackground(java.awt.Color color,
int row,
int column)
- Specified by:
setBackground in interface ColoredCell
setBackground
public void setBackground(java.awt.Color color,
int[] rows,
int[] columns)
- Specified by:
setBackground in interface ColoredCell
getFont
public java.awt.Font getFont(int row,
int column)
- Specified by:
getFont in interface CellFont
setFont
public void setFont(java.awt.Font font,
int row,
int column)
- Specified by:
setFont in interface CellFont
setFont
public void setFont(java.awt.Font font,
int[] rows,
int[] columns)
- Specified by:
setFont in interface CellFont
getImageIcon
public javax.swing.ImageIcon getImageIcon(int row,
int column)
- Specified by:
getImageIcon in interface CellImage
setImageIcon
public void setImageIcon(javax.swing.ImageIcon imageIcon,
int row,
int column)
- Specified by:
setImageIcon in interface CellImage
setImageIcon
public void setImageIcon(javax.swing.ImageIcon imageIcon,
int[] rows,
int[] columns)
- Specified by:
setImageIcon in interface CellImage
getToolTipText
public java.lang.String getToolTipText(int row,
int column)
- Specified by:
getToolTipText in interface CellToolTipText
setToolTipText
public void setToolTipText(java.lang.String toolTipText,
int row,
int column)
- Specified by:
setToolTipText in interface CellToolTipText
setToolTipText
public void setToolTipText(java.lang.String toolTipText,
int[] rows,
int[] columns)
- Specified by:
setToolTipText in interface CellToolTipText
addColumn
public void addColumn()
- Specified by:
addColumn in interface CellAttribute
addRow
public void addRow()
- Specified by:
addRow in interface CellAttribute
insertRow
public void insertRow(int row)
- Specified by:
insertRow in interface CellAttribute
getSize
public java.awt.Dimension getSize()
- Specified by:
getSize in interface CellAttribute
setSize
public void setSize(java.awt.Dimension size)
- Specified by:
setSize in interface CellAttribute
isOutOfBounds
protected boolean isOutOfBounds(int row,
int column)
isOutOfBounds
protected boolean isOutOfBounds(int[] rows,
int[] columns)
setValues
protected void setValues(java.lang.Object[][] target,
java.lang.Object value,
int[] rows,
int[] columns)
JRubik v0.6