| 
SalesPoint Framework v3.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JLabel
                          |
                          +--javax.swing.table.DefaultTableCellRenderer
                                |
                                +--data.swing.CurrencyRenderer
A cell renderer that takes a NumberValue and renders it using the formatting capabilities of a
 Currency.
| Inner classes inherited from class javax.swing.table.DefaultTableCellRenderer | 
DefaultTableCellRenderer.UIResource | 
| Inner classes inherited from class javax.swing.JLabel | 
JLabel.AccessibleJLabel | 
| Inner classes inherited from class javax.swing.JComponent | 
JComponent.AccessibleJComponent | 
| Inner classes inherited from class java.awt.Container | 
Container.AccessibleAWTContainer | 
| Inner classes inherited from class java.awt.Component | 
Component.AccessibleAWTComponent | 
| Field Summary | |
protected  Currency | 
m_cCurrency
The Currency used to format the rendered values.  | 
| Fields inherited from class javax.swing.table.DefaultTableCellRenderer | 
noFocusBorder | 
| Fields inherited from class javax.swing.JLabel | 
labelFor | 
| Fields inherited from class javax.swing.JComponent | 
accessibleContext,  
listenerList,  
TOOL_TIP_TEXT_KEY,  
ui,  
UNDEFINED_CONDITION,  
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,  
WHEN_FOCUSED,  
WHEN_IN_FOCUSED_WINDOW | 
| Fields inherited from class java.awt.Component | 
BOTTOM_ALIGNMENT,  
CENTER_ALIGNMENT,  
LEFT_ALIGNMENT,  
RIGHT_ALIGNMENT,  
TOP_ALIGNMENT | 
| Constructor Summary | |
CurrencyRenderer(Currency c)
Create a new CurrencyRenderer.  | 
|
| Method Summary | |
 Component | 
getTableCellRendererComponent(JTable table,
                              Object value,
                              boolean isSelected,
                              boolean hasFocus,
                              int row,
                              int column)
 | 
| Methods inherited from class javax.swing.table.DefaultTableCellRenderer | 
firePropertyChange, 
firePropertyChange, 
repaint, 
repaint, 
revalidate, 
setBackground, 
setForeground, 
setValue, 
updateUI, 
validate | 
| Methods inherited from class java.awt.Container | 
add, 
add, 
add, 
add, 
add, 
addContainerListener, 
addImpl, 
countComponents, 
deliverEvent, 
doLayout, 
findComponentAt, 
findComponentAt, 
getComponent, 
getComponentAt, 
getComponentAt, 
getComponentCount, 
getComponents, 
getLayout, 
insets, 
invalidate, 
isAncestorOf, 
layout, 
list, 
list, 
locate, 
minimumSize, 
paintComponents, 
preferredSize, 
printComponents, 
processContainerEvent, 
processEvent, 
remove, 
remove, 
removeAll, 
removeContainerListener, 
setLayout, 
validateTree | 
| Methods inherited from class java.lang.Object | 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait | 
| Field Detail | 
protected Currency m_cCurrency
| Constructor Detail | 
public CurrencyRenderer(Currency c)
c - the Currency to be used for formatting.| Method Detail | 
public Component getTableCellRendererComponent(JTable table,
                                               Object value,
                                               boolean isSelected,
                                               boolean hasFocus,
                                               int row,
                                               int column)
  | 
SalesPoint Framework v3.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||