net.codescore.ui.components.list.renderers
Interface FullRenderer<T>

Type Parameters:
T - The type of object this renderer will show
All Superinterfaces:
ListitemRenderer
All Known Implementing Classes:
AbstractRenderer, ProbBrowseRenderer, ScoreboardRenderer, SimpleCompetitionRenderer, SimplePersonRenderer, SimpleSchoolRenderer, SimpleTeamRenderer, TestCaseRenderer

public interface FullRenderer<T>
extends ListitemRenderer

Author:
Adam Cornett

Nested Class Summary
static class FullRenderer.Direction
           
 
Method Summary
 void doAction(Window callBackWin, T obj)
          Called when an item is clicked.
 Comparator<T> getComparator(int col, FullRenderer.Direction dir)
           
 Listhead getHeader()
          The header for this list
 
Methods inherited from interface org.zkoss.zul.ListitemRenderer
render
 

Method Detail

doAction

void doAction(Window callBackWin,
              T obj)
Called when an item is clicked.

Parameters:
callBackWin - The window that is being used as the parent of the action, for parenting any popups or for obtaining a context.
obj - The value of the row that was clicked.

getComparator

Comparator<T> getComparator(int col,
                            FullRenderer.Direction dir)
Parameters:
col - the column being sorted
dir - the direction( Ascending or Descending)
Returns:
the comparator used for the list

getHeader

Listhead getHeader()
The header for this list

Returns:


Copyright 2008 © Adam Cornett, Andrew Conner All Rights Reserved.