|
JIDE 3.4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLabel
javax.swing.DefaultListCellRenderer
com.jidesoft.grid.FilterListCellRenderer
public class FilterListCellRenderer
The cell renderer for the drop down of AutoFilterBox and QuickFilterPane's JLists.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.DefaultListCellRenderer |
|---|
DefaultListCellRenderer.UIResource |
| Nested classes/interfaces inherited from class javax.swing.JLabel |
|---|
JLabel.AccessibleJLabel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static EditorContext |
CONTEXT_SENSITIVE_CONTEXT
|
| Fields inherited from class javax.swing.DefaultListCellRenderer |
|---|
noFocusBorder |
| Fields inherited from class javax.swing.JLabel |
|---|
labelFor |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
FilterListCellRenderer()
Creates a context sensitive cell renderer. |
|
FilterListCellRenderer(Class<?> clazz)
|
|
FilterListCellRenderer(Class<?> clazz,
ConverterContext context)
Creates a context sensitive cell renderer using specified type and the converter context. |
|
FilterListCellRenderer(ConverterContext context)
Creates a context sensitive cell renderer using the converter context. |
|
| Method Summary | |
|---|---|
String |
convertElementToString(JList list,
Object value)
|
String |
convertElementToString(Locale locale,
Object value)
|
int |
getColumnIndex()
Gets the column index in the table. |
ConverterContext |
getConverterContext()
Gets the converter context. |
EditorContext |
getEditorContext()
Gets the editor context. |
Component |
getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
|
JTable |
getTable()
Gets the table. |
Class<?> |
getType()
Gets the class of the value. |
void |
setColumnIndex(int columnIndex)
Sets the column index in the table. |
void |
setConverterContext(ConverterContext context)
Sets the converter context. |
void |
setEditorContext(EditorContext context)
Sets the editor context. |
void |
setTable(JTable table)
Sets the table. |
void |
setType(Class<?> clazz)
Sets the class of the value. |
| Methods inherited from class javax.swing.DefaultListCellRenderer |
|---|
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, invalidate, isOpaque, repaint, repaint, repaint, revalidate, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static EditorContext CONTEXT_SENSITIVE_CONTEXT
| Constructor Detail |
|---|
public FilterListCellRenderer()
public FilterListCellRenderer(Class<?> clazz)
public FilterListCellRenderer(ConverterContext context)
context - converter context
public FilterListCellRenderer(Class<?> clazz,
ConverterContext context)
clazz - typecontext - converter context| Method Detail |
|---|
public Component getListCellRendererComponent(JList list,
Object value,
int index,
boolean isSelected,
boolean cellHasFocus)
getListCellRendererComponent in interface ListCellRenderergetListCellRendererComponent in class DefaultListCellRenderer
public String convertElementToString(JList list,
Object value)
public String convertElementToString(Locale locale,
Object value)
public void setConverterContext(ConverterContext context)
setConverterContext in interface ConverterContextSupportcontext - converter contextpublic ConverterContext getConverterContext()
getConverterContext in interface ConverterContextSupportpublic void setEditorContext(EditorContext context)
context - editor contextpublic EditorContext getEditorContext()
public void setTable(JTable table)
table - tablepublic JTable getTable()
public void setColumnIndex(int columnIndex)
columnIndex - table column indexpublic int getColumnIndex()
public Class<?> getType()
ConverterContextSupport
getType in interface ConverterContextSupportpublic void setType(Class<?> clazz)
ConverterContextSupport
setType in interface ConverterContextSupport
|
JIDE 3.4.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||