com.sas.swing.visuals.remotefileselector.ifileservice
Class IFileServiceSizeCellRenderer
com.sas.swing.visuals.remotefileselector.ifileservice.IFileServiceSizeCellRenderer
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.SwingConstants, javax.swing.table.TableCellRenderer
public class IFileServiceSizeCellRenderer
- implements javax.swing.table.TableCellRenderer
IFileServuceSizeCellRenderer formats the file size column.
- Since:
- 3.1
- See Also:
- Serialized Form
defaultInstance
public static final IFileServiceSizeCellRenderer defaultInstance
- A default instance of the class
IFileServiceSizeCellRenderer
public IFileServiceSizeCellRenderer()
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean cellHasFocus,
int row,
int column)
- Returns the formatted value of the file's size column.
- Specified by:
getTableCellRendererComponent
in interface javax.swing.table.TableCellRenderer
- Parameters:
table
- the table where the cell is displayedvalue
- the value to formatisSelected
- whether the cell is selectedcellHasFocus
- whether the cell has focusrow
- the cell's rowcolumn
- the cell's column
- Returns:
- the formatted value
Copyright © 2009 SAS Institute Inc. All Rights Reserved.