|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.swing.impl.ClosureRenderer
public class ClosureRenderer
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)
|
JTree
|
getTree()
|
Component
|
getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
|
Closure
|
getUpdate()
|
Object
|
getValue()
|
boolean
|
isDefaultRenderer()
|
boolean
|
isExpanded()
|
boolean
|
isFocused()
|
boolean
|
isLeaf()
|
boolean
|
isSelected()
|
boolean
|
isTableHeader()
|
void
|
setTableHeader(boolean tableHeader)
|
void
|
setUpdate(Closure update)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public ClosureRenderer()
public ClosureRenderer(Closure c)
Method Detail |
---|
public List getChildren()
public int getColumn()
public JList getList()
public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
public int getRow()
public JTable getTable()
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
public JTree getTree()
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
public Closure getUpdate()
public Object getValue()
public boolean isDefaultRenderer()
public boolean isExpanded()
public boolean isFocused()
public boolean isLeaf()
public boolean isSelected()
public boolean isTableHeader()
public void setTableHeader(boolean tableHeader)
public void setUpdate(Closure update)
Copyright © 2003-2013 The Codehaus. All rights reserved.