public class DefaultLimaTableCellRenderer extends Object implements TableCellRenderer
| Modifier and Type | Field and Description |
|---|---|
protected TableCellErrorDetector |
errorDetector |
protected boolean |
mandatory |
| Constructor and Description |
|---|
DefaultLimaTableCellRenderer() |
| Modifier and Type | Method and Description |
|---|---|
TableCellErrorDetector |
getError() |
Component |
getTableCellRendererComponent(JTable table,
Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column) |
boolean |
isMandatory() |
protected boolean |
isMandatory(JTable table,
Object value,
int row,
int column) |
void |
setErrorDetector(TableCellErrorDetector errorDetector) |
void |
setMandatory(boolean mandatory) |
protected void |
setValue(Object value) |
protected boolean mandatory
protected TableCellErrorDetector errorDetector
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
getTableCellRendererComponent in interface TableCellRendererprotected void setValue(Object value)
public boolean isMandatory()
public void setMandatory(boolean mandatory)
public TableCellErrorDetector getError()
public void setErrorDetector(TableCellErrorDetector errorDetector)
Copyright © 2008–2014 CodeLutin. All rights reserved.