|
Groovy Documentation | |||||||
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 | |
---|---|
java.awt.List
|
getChildren()
|
int
|
getColumn()
|
javax.swing.JList
|
getList()
|
java.awt.Component
|
getListCellRendererComponent(javax.swing.JList list, java.lang.Object value, int index, boolean isSelected, boolean cellHasFocus)
|
int
|
getRow()
|
javax.swing.JTable
|
getTable()
|
java.awt.Component
|
getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
|
javax.swing.JTree
|
getTree()
|
java.awt.Component
|
getTreeCellRendererComponent(javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
|
Closure
|
getUpdate()
|
java.lang.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 java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public ClosureRenderer()
public ClosureRenderer(Closure c)
Method Detail |
---|
public java.awt.List getChildren()
public int getColumn()
public javax.swing.JList getList()
public java.awt.Component getListCellRendererComponent(javax.swing.JList list, java.lang.Object value, int index, boolean isSelected, boolean cellHasFocus)
public int getRow()
public javax.swing.JTable getTable()
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, boolean hasFocus, int row, int column)
public javax.swing.JTree getTree()
public java.awt.Component getTreeCellRendererComponent(javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
public Closure getUpdate()
public java.lang.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)
Groovy Documentation