|
swingx Version 2005-08-19 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ComponentAdapter | |
|---|---|
| org.jdesktop.swingx | Contains extensions to the Swing GUI toolkit, including new and enhanced components that provide functionality commonly required by rich, data-centric client applications. |
| org.jdesktop.swingx.decorator | Contains API used to implement coordinated sorting, filtering, and highlighting of the extended Swing cell-rendering component classes JXTable, JXTreeTable, JXTree, and JXList. |
| Uses of ComponentAdapter in org.jdesktop.swingx |
|---|
| Subclasses of ComponentAdapter in org.jdesktop.swingx | |
|---|---|
protected static class |
JXList.ListAdapter
|
protected static class |
JXTable.TableAdapter
|
protected static class |
JXTree.TreeAdapter
|
protected static class |
JXTreeTable.TreeTableDataAdapter
|
| Fields in org.jdesktop.swingx declared as ComponentAdapter | |
|---|---|
protected ComponentAdapter |
JXTable.dataAdapter
The ComponentAdapter for model data access. |
protected ComponentAdapter |
JXList.dataAdapter
The ComponentAdapter for model data access. |
| Methods in org.jdesktop.swingx that return ComponentAdapter | |
|---|---|
protected ComponentAdapter |
JXTable.getComponentAdapter()
|
protected ComponentAdapter |
JXTreeTable.getComponentAdapter()
Returns the adapter that knows how to access the component data model. |
protected ComponentAdapter |
JXTree.getComponentAdapter()
|
protected ComponentAdapter |
JXList.getComponentAdapter()
|
| Methods in org.jdesktop.swingx with parameters of type ComponentAdapter | |
|---|---|
protected Component |
JXTreeTable.applyRenderer(Component component,
ComponentAdapter adapter)
Performs necessary housekeeping before the renderer is actually applied. |
| Uses of ComponentAdapter in org.jdesktop.swingx.decorator |
|---|
| Fields in org.jdesktop.swingx.decorator declared as ComponentAdapter | |
|---|---|
protected ComponentAdapter |
Filter.adapter
|
| Methods in org.jdesktop.swingx.decorator with parameters of type ComponentAdapter | |
|---|---|
Component |
HighlighterPipeline.apply(Component stamp,
ComponentAdapter adapter)
Applies all the highlighters to the components. |
protected void |
Highlighter.applyBackground(Component renderer,
ComponentAdapter adapter)
Applies a suitable background for the renderer component within the specified adapter. |
protected void |
Highlighter.applyForeground(Component renderer,
ComponentAdapter adapter)
Applies a suitable foreground for the renderer component within the specified adapter. |
void |
FilterPipeline.assign(ComponentAdapter adapter)
Assigns a ComponentAdapter to this
pipeline if no adapter has previously been assigned to the pipeline. |
protected void |
Filter.assign(ComponentAdapter adapter)
Binds this filter to the specified ComponentAdapter. |
protected Color |
Highlighter.computeBackground(Component renderer,
ComponentAdapter adapter)
Computes a suitable background for the renderer component within the specified adapter and returns the computed color. |
protected Color |
HierarchicalColumnHighlighter.computeBackground(Component component,
ComponentAdapter adapter)
|
protected Color |
Highlighter.computeForeground(Component renderer,
ComponentAdapter adapter)
Computes a suitable foreground for the renderer component within the specified adapter and returns the computed color. |
protected Color |
SearchHighlighter.computeSelectedBackground(Component renderer,
ComponentAdapter adapter)
Computes a suitable selected background for the renderer component within the specified adapter and returns the computed color. |
protected Color |
Highlighter.computeSelectedBackground(Component renderer,
ComponentAdapter adapter)
Computes a suitable selected background for the renderer component within the specified adapter and returns the computed color. |
protected Color |
Highlighter.computeSelectedForeground(Component renderer,
ComponentAdapter adapter)
Computes a suitable selected foreground for the renderer component within the specified adapter and returns the computed color. |
protected Color |
Highlighter.computeUnselectedBackground(Component renderer,
ComponentAdapter adapter)
Computes a suitable unselected background for the renderer component within the specified adapter and returns the computed color. |
protected Color |
AlternateRowHighlighter.computeUnselectedBackground(Component renderer,
ComponentAdapter adapter)
|
protected Color |
Highlighter.computeUnselectedForeground(Component renderer,
ComponentAdapter adapter)
Computes a suitable unselected foreground for the renderer component within the specified adapter and returns the computed color. |
protected Component |
Highlighter.doHighlight(Component renderer,
ComponentAdapter adapter)
This is the bottleneck decorate method that all highlighters must invoke to decorate the cell renderer. |
protected Component |
ConditionalHighlighter.doMask(Component renderer,
ComponentAdapter adapter)
TODO: ?? |
Component |
Highlighter.highlight(Component renderer,
ComponentAdapter adapter)
Decorates the specified cell renderer component for the given component data adapter using highlighters that were previously set for the component. |
Component |
ConditionalHighlighter.highlight(Component renderer,
ComponentAdapter adapter)
Performs a conditional highlight. |
void |
Sorter.interpose(FilterPipeline filters,
ComponentAdapter adapter,
Sorter oldSorter)
Deprecated. - use filterPipeline.setSorter instead |
protected boolean |
AlternateRowHighlighter.isOddRow(ComponentAdapter adapter)
|
protected void |
ConditionalHighlighter.maskBackground(Component renderer,
ComponentAdapter adapter)
TODO: ?? |
protected void |
ConditionalHighlighter.maskForeground(Component renderer,
ComponentAdapter adapter)
TODO: ?? |
protected boolean |
SearchHighlighter.needsHighlight(ComponentAdapter adapter)
|
protected boolean |
ConditionalHighlighter.needsHighlight(ComponentAdapter adapter)
Checks if the cell identified by the specified adapter is a potential candidate for highlighting, and returns true if so; otherwise, it returns false. |
protected boolean |
SearchHighlighter.test(ComponentAdapter adapter)
|
protected boolean |
RolloverHighlighter.test(ComponentAdapter adapter)
|
protected boolean |
PatternHighlighter.test(ComponentAdapter adapter)
Tests whether the string representation of the value of the cell identified by the specified adapter matches the pattern, if any, that is set for this PatternHighlighter, and returns true if the
test succeeds; Otherwise, it returns false. |
protected abstract boolean |
ConditionalHighlighter.test(ComponentAdapter adapter)
Tests if the cell identified by the specified adapter should actually be highlighted, and returns true if so; otherwise, it returns false. |
|
swingx Version 2005-08-19 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||