net.codescore.ui.components.list.renderers
Class SimpleCompetitionRenderer
java.lang.Object
net.codescore.ui.components.list.renderers.AbstractRenderer<Competition>
net.codescore.ui.components.list.renderers.SimpleCompetitionRenderer
- All Implemented Interfaces:
- FullRenderer<Competition>, ListitemRenderer
public class SimpleCompetitionRenderer
- extends AbstractRenderer<Competition>
SimpleCompetitionRenderer
public SimpleCompetitionRenderer(ZKObjectList<Competition> list)
doAction
public void doAction(Window callBackWin,
Competition obj)
- Description copied from interface:
FullRenderer
- 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
public Comparator<Competition> getComparator(int col,
FullRenderer.Direction dir)
- Parameters:
col - the column being sorteddir - the direction( Ascending or Descending)
- Returns:
- the comparator used for the list
getHeader
public Listhead getHeader()
- Description copied from interface:
FullRenderer
- The header for this list
- Returns:
render
public void render(Listitem arg0,
Object arg1)
throws Exception
- Throws:
Exception
Copyright 2008 © Adam Cornett, Andrew Conner All Rights Reserved.