SwatObject
└─SwatUIObject
└─SwatCellRenderer
└─SwatNumericCellRenderer
public class SwatNumericCellRenderer
extends SwatCellRenderer
| Field Summary | |
|---|---|
| integer | Precision. |
| float | Value can be either a float or an integer. |
| Fields inherited from Swat.SwatCellRenderer | |
|---|---|
| id, sensitive | |
| Fields inherited from Swat.SwatUIObject | |
|---|---|
| classes, html_head_entry_set, parent, visible | |
| Method Summary | |
|---|---|
| void | |
| void | render() Renders the contents of this cell. |
| Methods inherited from Swat.SwatCellRenderer | |
|---|---|
| getBaseCSSClassNames, getDataSpecificCSSClassNames, getHtmlHeadEntrySet, getInheritanceCSSClassNames, getInlineJavaScript, getMessages, getPropertyNameToMap, hasMessage, init, isPropertyStatic, makePropertyStatic, process, render | |
| Methods inherited from Swat.SwatUIObject | |
|---|---|
| addComment, addJavaScript, addStyleSheet, addTangoAttribution, copy, getCSSClassNames, getCSSClassString, getFirstAncestor, getHtmlHeadEntrySet, getInlineJavaScript, getUniqueId, isVisible | |
public integer $precision = null
Precision
Optionally round the value to a certain precision
public float $value
Value can be either a float or an integer
public void getDisplayValue()
public void render()
Renders the contents of this cell
A numeric cell renderer