|
||||||||||
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 |
JXTree.dataAdapter
|
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 |
JXTreeTable.getComponentAdapter()
Returns the adapter that knows how to access the component data model. |
protected ComponentAdapter |
JXTree.getComponentAdapter()
|
protected ComponentAdapter |
JXTable.getComponentAdapter()
|
protected ComponentAdapter |
JXList.getComponentAdapter()
|
protected ComponentAdapter |
JXTree.getComponentAdapter(int index)
Convenience to access a configured ComponentAdapter. |
protected ComponentAdapter |
JXList.getComponentAdapter(int index)
Convenience to access a configured ComponentAdapter. |
protected ComponentAdapter |
JXTable.getComponentAdapter(int row,
int column)
Convenience to access a configured ComponentAdapter. |
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 |
CompoundHighlighter.apply(Component stamp,
ComponentAdapter adapter)
Deprecated. use highlight |
protected void |
ShadingColorHighlighter.applyBackground(Component renderer,
ComponentAdapter adapter)
|
protected void |
ResetDTCRColorHighlighter.applyBackground(Component renderer,
ComponentAdapter adapter)
|
protected void |
ColorHighlighter.applyBackground(Component renderer,
ComponentAdapter adapter)
Applies a suitable background for the renderer component within the specified adapter. |
protected void |
LegacyHighlighter.applyBackground(Component renderer,
ComponentAdapter adapter)
Deprecated. Applies a suitable background for the renderer component within the specified adapter. |
protected void |
ResetDTCRColorHighlighter.applyForeground(Component renderer,
ComponentAdapter adapter)
|
protected void |
ColorHighlighter.applyForeground(Component renderer,
ComponentAdapter adapter)
Applies a suitable foreground for the renderer component within the specified adapter. |
protected void |
LegacyHighlighter.applyForeground(Component renderer,
ComponentAdapter adapter)
Deprecated. Applies a suitable foreground for the renderer component within the specified adapter. |
protected void |
Filter.assign(ComponentAdapter adapter)
Binds this filter to the specified ComponentAdapter . |
void |
FilterPipeline.assign(ComponentAdapter adapter)
Assigns a ComponentAdapter to this
pipeline if no adapter has previously been assigned to the pipeline. |
protected Color |
HierarchicalColumnHighlighter.computeBackground(Component component,
ComponentAdapter adapter)
Deprecated. |
protected Color |
LegacyHighlighter.computeBackground(Component renderer,
ComponentAdapter adapter)
Deprecated. Computes a suitable background for the renderer component within the specified adapter and returns the computed color. |
protected Color |
LegacyHighlighter.computeForeground(Component renderer,
ComponentAdapter adapter)
Deprecated. 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)
Deprecated. Computes a suitable selected background for the renderer component within the specified adapter and returns the computed color. |
protected Color |
LegacyHighlighter.computeSelectedBackground(Component renderer,
ComponentAdapter adapter)
Deprecated. Computes a suitable selected background for the renderer component within the specified adapter and returns the computed color. |
protected Color |
LegacyHighlighter.computeSelectedForeground(Component renderer,
ComponentAdapter adapter)
Deprecated. Computes a suitable selected foreground for the renderer component within the specified adapter and returns the computed color. |
protected Color |
AlternateRowHighlighter.computeUnselectedBackground(Component renderer,
ComponentAdapter adapter)
Deprecated. |
protected Color |
LegacyHighlighter.computeUnselectedBackground(Component renderer,
ComponentAdapter adapter)
Deprecated. Computes a suitable unselected background for the renderer component within the specified adapter and returns the computed color. |
protected Color |
LegacyHighlighter.computeUnselectedForeground(Component renderer,
ComponentAdapter adapter)
Deprecated. Computes a suitable unselected foreground for the renderer component within the specified adapter and returns the computed color. |
protected Component |
PainterHighlighter.doHighlight(Component component,
ComponentAdapter adapter)
Apply the highlights. |
protected Component |
ColorHighlighter.doHighlight(Component renderer,
ComponentAdapter adapter)
Apply the highlights. |
protected Component |
CompoundHighlighter.doHighlight(Component stamp,
ComponentAdapter adapter)
|
protected abstract Component |
AbstractHighlighter.doHighlight(Component component,
ComponentAdapter adapter)
Apply the highlights. |
protected Component |
LegacyHighlighter.doHighlight(Component renderer,
ComponentAdapter adapter)
Deprecated. This is the bottleneck decorate method that all highlighters must invoke to decorate the cell renderer. |
protected Component |
ConditionalHighlighter.doMask(Component renderer,
ComponentAdapter adapter)
Deprecated. TODO: ?? |
Component |
ResetDTCRColorHighlighter.highlight(Component renderer,
ComponentAdapter adapter)
applies the memory hack for renderers of type DefaultTableCellRenderer, does nothing for other types. |
Component |
PainterHighlighter.highlight(Component component,
ComponentAdapter adapter)
Decorates the specified component for the given component adapter. This implementation checks the HighlightPredicate and calls doHighlight to apply the decoration. Overridden to type check the component. |
Component |
ConditionalHighlighter.highlight(Component renderer,
ComponentAdapter adapter)
Deprecated. Performs a conditional highlight. |
Component |
Highlighter.highlight(Component renderer,
ComponentAdapter adapter)
Decorates the specified component for the given component adapter. |
Component |
AbstractHighlighter.highlight(Component component,
ComponentAdapter adapter)
Decorates the specified component for the given component adapter. This implementation checks the HighlightPredicate and calls doHighlight to apply the decoration. |
Component |
LegacyHighlighter.highlight(Component renderer,
ComponentAdapter adapter)
Deprecated. Decorates the specified cell renderer component for the given component data adapter using highlighters that were previously set for the component. |
boolean |
SearchPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
Returns a boolean to indicate whether the component should be highlighted. |
boolean |
PatternPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
|
boolean |
HighlightPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
Returns a boolean to indicate whether the component should be highlighted. |
boolean |
HighlightPredicate.NotHighlightPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
Returns a boolean to indicate whether the component should be highlighted. Implemented to return the negation of the given predicate. |
boolean |
HighlightPredicate.AndHighlightPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
Returns a boolean to indicate whether the component should be highlighted. Implemented to return false if any of the contained predicates is false. |
boolean |
HighlightPredicate.OrHighlightPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
Returns a boolean to indicate whether the component should be highlighted. Implemented to return true if any of the contained predicates is true. |
boolean |
HighlightPredicate.RowGroupHighlightPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
Returns a boolean to indicate whether the component should be highlighted. Implemented to return true if the adapter's row falls into a odd group number. |
boolean |
HighlightPredicate.ColumnHighlightPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
Returns a boolean to indicate whether the component should be highlighted. This implementation returns true if the adapter's column is contained in this predicates list. |
boolean |
HighlightPredicate.DepthHighlightPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
Returns a boolean to indicate whether the component should be highlighted. This implementation returns true if the adapter's depth is contained in this predicates list. |
boolean |
HighlightPredicate.EqualsHighlightPredicate.isHighlighted(Component renderer,
ComponentAdapter adapter)
|
protected boolean |
AlternateRowHighlighter.isOddRow(ComponentAdapter adapter)
Deprecated. |
protected void |
ConditionalHighlighter.maskBackground(Component renderer,
ComponentAdapter adapter)
Deprecated. TODO: ?? |
protected void |
ConditionalHighlighter.maskForeground(Component renderer,
ComponentAdapter adapter)
Deprecated. TODO: ?? |
protected boolean |
SearchHighlighter.needsHighlight(ComponentAdapter adapter)
Deprecated. 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 |
ConditionalHighlighter.needsHighlight(ComponentAdapter adapter)
Deprecated. 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)
Deprecated. 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 boolean |
RolloverHighlighter.test(ComponentAdapter adapter)
Deprecated. |
protected abstract boolean |
ConditionalHighlighter.test(ComponentAdapter adapter)
Deprecated. Tests if the cell identified by the specified adapter should actually be highlighted, and returns true if so; otherwise, it returns false. |
protected boolean |
PatternHighlighter.test(ComponentAdapter adapter)
Deprecated. 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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |