com.yospace.yae.yogi
Interface RendererFactory

All Known Implementing Classes:
YogiImageComponent, YogiLabel, YogiMenu, YogiTextField, YogiDropDownMenu

public interface RendererFactory

Interface that allows a YogiComponent to be used to custom render cells in an AbstractTable. Implementing classes should customise their appearance based on the arguments passed to the getCellRendererComponent(AbstractTable, Object, boolean, boolean) method.


Method Summary
 YogiComponent getCellRendererComponent(AbstractTable table, java.lang.Object value, boolean isSelected, boolean cellHasFocus)
          Provided to implement the RendererFactory interface.
 

Method Detail

getCellRendererComponent

public YogiComponent getCellRendererComponent(AbstractTable table,
                                              java.lang.Object value,
                                              boolean isSelected,
                                              boolean cellHasFocus)
Provided to implement the RendererFactory interface. Returns a YogiComponent customised to the arguments passed from the AbstractTable subclass.
Parameters:
table - the table for which the check box is rendering.
value - the object to be custom rendered.
isSelected - the selected state of the object to be custom rendered.
cellHasFocus - the focus state of the object to be custom rendered.
Returns:
the custom rendered YogiComponent.

Copyright 2002 Yospace Holdings Ltd. All Rights Reserved.