|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NumberDisplayTable
Interface for components that display numbers and that can be configured how the value should be printed.
Method Summary | |
---|---|
javax.swing.table.TableCellRenderer |
getCellRenderer()
Gets the renderer used for displaying numbers in the table. |
int |
getPrecision()
Gets the number of decimal digits for the number display. |
void |
setCellRenderer(javax.swing.table.TableCellRenderer renderer)
Sets the renderer used for displaying numbers in the table. |
void |
setPrecision(int newPrec)
Sets the number of decimal digits for the number display. |
Method Detail |
---|
javax.swing.table.TableCellRenderer getCellRenderer()
int getPrecision()
void setCellRenderer(javax.swing.table.TableCellRenderer renderer)
renderer
- the renderer for the table cellsvoid setPrecision(int newPrec)
newPrec
- precision for number values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |