com.sas.swing.visuals.remotefileselector
Class RemoteFilePathCellRenderer
com.sas.swing.visuals.remotefileselector.RemoteFilePathCellRenderer
- 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 RemoteFilePathCellRenderer
- implements javax.swing.table.TableCellRenderer
RemoteFilePathCellRenderer formats the path information of the files.
- Since:
- 3.0
- See Also:
- Serialized Form
defaultInstance
public static final RemoteFilePathCellRenderer defaultInstance
- Provides a default instance of the class
RemoteFilePathCellRenderer
public RemoteFilePathCellRenderer()
getTableCellRendererComponent
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean cellHasFocus,
int row,
int column)
- Renders the value to the appropriate string value.
- Specified by:
getTableCellRendererComponent
in interface javax.swing.table.TableCellRenderer
- Parameters:
table
- the object displaying the valuesvalue
- the item to be formattedisSelected
- determines if the item is selectedcellHasFocus
- determines if the item has focusrow
- provides the table row of the itemcolumn
- provides the table column of the item
- Returns:
- the formatted value
Copyright © 2009 SAS Institute Inc. All Rights Reserved.