|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.swing.visuals.remotefileselector.RemoteFileMetadataNameCellRenderer
public class RemoteFileMetadataNameCellRenderer
RemoteFileMetadataNameCellRenderer provides the default name column formatting for the table views.
Field Summary | |
---|---|
static RemoteFileMetadataNameCellRenderer |
defaultInstance
A default instance of the class |
protected javax.swing.ImageIcon |
icon
The icon to be used for identifying the file type |
protected java.util.HashMap |
iconMap
Stores the previously instanced icons to cut down on object creation |
Constructor Summary | |
---|---|
RemoteFileMetadataNameCellRenderer()
|
Method Summary | |
---|---|
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 and assigns the appropriate icon. |
Field Detail |
---|
public static final RemoteFileMetadataNameCellRenderer defaultInstance
protected javax.swing.ImageIcon icon
protected java.util.HashMap iconMap
Constructor Detail |
---|
public RemoteFileMetadataNameCellRenderer()
Method Detail |
---|
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean cellHasFocus, int row, int column)
getTableCellRendererComponent
in interface javax.swing.table.TableCellRenderer
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
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |