Groovy 1.7.5

groovy.swing.impl
[Java] Class ClosureRenderer

java.lang.Object
  groovy.swing.impl.ClosureRenderer
All Implemented Interfaces:
ListCellRenderer

public class ClosureRenderer
extends Object

Authors:
Danno.Ferrin


Constructor Summary
ClosureRenderer()

ClosureRenderer(Closure c)

 
Method Summary
List getChildren()

int getColumn()

JList getList()

Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)

int getRow()

JTable getTable()

Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)

Closure getUpdate()

Object getValue()

boolean isFocused()

boolean isSelected()

void setUpdate(Closure update)

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

ClosureRenderer

public ClosureRenderer()


ClosureRenderer

public ClosureRenderer(Closure c)


 
Method Detail

getChildren

public List getChildren()


getColumn

public int getColumn()


getList

public JList getList()


getListCellRendererComponent

public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)


getRow

public int getRow()


getTable

public JTable getTable()


getTableCellRendererComponent

public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)


getUpdate

public Closure getUpdate()


getValue

public Object getValue()


isFocused

public boolean isFocused()


isSelected

public boolean isSelected()


setUpdate

public void setUpdate(Closure update)


 

Copyright © 2003-2010 The Codehaus. All rights reserved.