|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.list.WebCheckBoxListCellRenderer
public class WebCheckBoxListCellRenderer
Custom default checkbox list cell renderer for WebLookAndFeel.
Field Summary | |
---|---|
protected java.util.Map<java.lang.String,WebCheckBoxListElement> |
elements
Checkbox list elements cache. |
Constructor Summary | |
---|---|
WebCheckBoxListCellRenderer()
Constructs default checkbox list cell renderer. |
Method Summary | |
---|---|
WebCheckBoxListElement |
getElement(CheckBoxCellData data)
Returns cached checkbox element for specified data. |
java.awt.Component |
getListCellRendererComponent(javax.swing.JList list,
java.lang.Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
Returns list cell renderer component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map<java.lang.String,WebCheckBoxListElement> elements
Constructor Detail |
---|
public WebCheckBoxListCellRenderer()
Method Detail |
---|
public java.awt.Component getListCellRendererComponent(javax.swing.JList list, java.lang.Object value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent
in interface javax.swing.ListCellRenderer
list
- treevalue
- cell valueindex
- cell indexisSelected
- whether cell is selected or notcellHasFocus
- whether cell has focus or not
public WebCheckBoxListElement getElement(CheckBoxCellData data)
data
- data to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |