Copyright © 2005 Scientific Applications. All Rights Reserved.

com.sciapp.renderers
Interface TableCellRendererWrapper

All Superinterfaces:
TableCellRenderer

public interface TableCellRendererWrapper
extends TableCellRenderer

TableCellRendererWrapper wraps around a TableCellRenderer.


Method Summary
 int getPriority()
          Returns the priority of the wrapper.
 TableCellRenderer getRenderer()
          Returns the cell renderer that this wrapper contains.
 void setRenderer(TableCellRenderer innerRenderer)
          Assigns a new cell renderer that this wrapper should contain.
 
Methods inherited from interface javax.swing.table.TableCellRenderer
getTableCellRendererComponent
 

Method Detail

getRenderer

TableCellRenderer getRenderer()
Returns the cell renderer that this wrapper contains.

Returns:
the underlying cell renderer.

setRenderer

void setRenderer(TableCellRenderer innerRenderer)
Assigns a new cell renderer that this wrapper should contain.

Parameters:
innerRenderer - the underlying cell renderer.

getPriority

int getPriority()
Returns the priority of the wrapper. This property makes sense only when multiple wrappers are chained together. The priority defines the order in which the wrappers are chained. Wrappers with a higher priority will be chained towards the end.

Returns:
the wrapper's priority

Copyright © 2005 Scientific Applications. All Rights Reserved.