Package | Description |
---|---|
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.
|
org.jdesktop.swingx.search |
Modifier and Type | Class and Description |
---|---|
static class |
HighlightPredicate.AndHighlightPredicate
Ands a list of predicates.
|
static class |
HighlightPredicate.ColumnHighlightPredicate
A HighlightPredicate based on column index.
|
static class |
HighlightPredicate.ColumnTypeHighlightPredicate
Predicate testing the componentAdapter column type against a given
Class.
|
static class |
HighlightPredicate.DepthHighlightPredicate
A
HighlightPredicate based on adapter depth. |
static class |
HighlightPredicate.EqualsHighlightPredicate
Predicate testing the componentAdapter value against a fixed
Object.
|
static class |
HighlightPredicate.IdentifierHighlightPredicate
A HighlightPredicate based on column identifier.
|
static class |
HighlightPredicate.NotHighlightPredicate
Negation of a HighlightPredicate.
|
static class |
HighlightPredicate.OrHighlightPredicate
Or's a list of predicates.
|
static class |
HighlightPredicate.RowGroupHighlightPredicate |
static class |
HighlightPredicate.TypeHighlightPredicate
Predicate testing the componentAdapter value type against a given
Class.
|
class |
PatternPredicate
Pattern based HighlightPredicate.
|
class |
SearchPredicate
Pattern based HighlightPredicate for searching.
|
Modifier and Type | Field and Description |
---|---|
static HighlightPredicate |
HighlightPredicate.ALWAYS
Unconditional true.
|
static HighlightPredicate |
HighlightPredicate.BIG_DECIMAL_NEGATIVE
Negative BigDecimals.
|
static HighlightPredicate |
HighlightPredicate.EDITABLE
Is editable.
|
static HighlightPredicate[] |
HighlightPredicate.EMPTY_PREDICATE_ARRAY |
static HighlightPredicate |
HighlightPredicate.EVEN
Even rows.
|
static HighlightPredicate |
HighlightPredicate.HAS_FOCUS
Focus predicate.
|
static HighlightPredicate |
HighlightPredicate.INTEGER_NEGATIVE
Negative Number.
|
static HighlightPredicate |
HighlightPredicate.IS_FOLDER
Folder predicate - convenience: same as !IS_LEAF.
|
static HighlightPredicate |
HighlightPredicate.IS_LEAF
Leaf predicate.
|
static HighlightPredicate |
HighlightPredicate.IS_SELECTED
Selected predicate.
|
static HighlightPredicate |
HighlightPredicate.IS_TEXT_TRUNCATED
Determines if the displayed text is truncated.
|
static HighlightPredicate |
HighlightPredicate.NEVER
Unconditional false.
|
static HighlightPredicate |
HighlightPredicate.ODD
Odd rows.
|
static HighlightPredicate |
HighlightPredicate.READ_ONLY
Convenience for read-only (same as !editable).
|
static HighlightPredicate |
HighlightPredicate.ROLLOVER_CELL
Rollover Cell.
|
static HighlightPredicate |
HighlightPredicate.ROLLOVER_COLUMN
Rollover Column.
|
static HighlightPredicate |
HighlightPredicate.ROLLOVER_ROW
Rollover Row.
|
Modifier and Type | Method and Description |
---|---|
HighlightPredicate |
HighlightPredicate.NotHighlightPredicate.getHighlightPredicate() |
HighlightPredicate |
AbstractHighlighter.getHighlightPredicate()
Returns the HighlightPredicate used to decide whether a cell
should be highlighted.
|
HighlightPredicate[] |
HighlightPredicate.AndHighlightPredicate.getHighlightPredicates() |
HighlightPredicate[] |
HighlightPredicate.OrHighlightPredicate.getHighlightPredicates() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHighlighter.setHighlightPredicate(HighlightPredicate predicate)
Set the HighlightPredicate used to decide whether a cell should
be highlighted.
|
Constructor and Description |
---|
AbstractHighlighter(HighlightPredicate predicate)
Instantiates a Highlighter with the given
HighlightPredicate.
|
AlignmentHighlighter(HighlightPredicate predicate)
Instantiates a FontHighlighter with the given HighlightPredicate and default
horizontal alignement.
|
AlignmentHighlighter(HighlightPredicate predicate,
int alignment)
Instantiates a FontHighlighter with the given HighlightPredicate and null Font.
|
AndHighlightPredicate(HighlightPredicate... predicate)
Instantiates a predicate which ands all given predicates.
|
BorderHighlighter(HighlightPredicate predicate)
Instantiates a BorderHighlighter with no padding, using the
given predicate.
|
BorderHighlighter(HighlightPredicate predicate,
Border paddingBorder)
Instantiates a BorderHighlighter with the given padding,
HighlightPredicate and default compound property.
|
BorderHighlighter(HighlightPredicate predicate,
Border paddingBorder,
boolean compound)
Instantiates a BorderHighlighter with the given padding,
HighlightPredicate, compound property and default inner property.
|
BorderHighlighter(HighlightPredicate predicate,
Border paddingBorder,
boolean compound,
boolean inner)
Instantiates a BorderHighlighter with the given padding,
HighlightPredicate and compound property.
|
ColorHighlighter(HighlightPredicate predicate)
Instantiates a ColorHighlighter with null colors and uses the
specified HighlightPredicate.
|
ColorHighlighter(HighlightPredicate predicate,
Color cellBackground,
Color cellForeground)
Constructs a
ColorHighlighter with the specified
unselected colors and HighlightPredicate. |
ColorHighlighter(HighlightPredicate predicate,
Color cellBackground,
Color cellForeground,
Color selectedBackground,
Color selectedForeground)
Constructs a
ColorHighlighter with the specified colors
and HighlightPredicate. |
ComponentOrientationHighlighter(HighlightPredicate predicate)
Instantiates a ComponentOrientationHighlighter with the given HighlightPredicate
and
ComponentOrientation.LEFT_TO_RIGHT . |
ComponentOrientationHighlighter(HighlightPredicate predicate,
ComponentOrientation co)
Instantiates a ComponentOrientationHighlighter with the given ComponentOrientation and HighlightPredicate.
|
CompoundHighlighter(HighlightPredicate predicate,
Highlighter... inList)
Instantiates a CompoundHighlighter with the given predicate containing the given
Highlighter s. |
EnabledHighlighter(HighlightPredicate predicate)
Instantiates a EnabledHighlighter with the specified HighlightPredicate and
default enabled property (== false).
|
EnabledHighlighter(HighlightPredicate predicate,
boolean enabled)
Instantiates a EnabledHighlighter with the specified HighlightPredicate and
default enabled property.
|
FontHighlighter(HighlightPredicate predicate)
Instantiates a FontHighlighter with the given HighlightPredicate and null Font.
|
FontHighlighter(HighlightPredicate predicate,
Font font)
Instantiates a FontHighlighter with the given Font and HighlightPredicate.
|
IconHighlighter(HighlightPredicate predicate)
Instantiates a IconHighlighter with null Icon the given predicate.
|
IconHighlighter(HighlightPredicate predicate,
Icon icon)
Instantiates a IconHighlighter with the specified Icon and
HighlightPredicate.
|
NotHighlightPredicate(HighlightPredicate predicate)
Instantiates a not against the given predicate.
|
OrHighlightPredicate(HighlightPredicate... predicate)
Instantiates a predicate which ORs all given predicates.
|
PainterHighlighter(HighlightPredicate predicate)
Instantiates a PainterHighlighter with null painter which
uses the given predicate.
|
PainterHighlighter(HighlightPredicate predicate,
Painter painter)
Instantiates a PainterHighlighter with the given painter and
predicate.
|
ShadingColorHighlighter(HighlightPredicate predicate)
Instantiates a Highlighter with null colors using the specified
HighlightPredicate.
|
ToolTipHighlighter(HighlightPredicate predicate)
Instantiates a ToolTipHighlighter with the specified HighlightPredicate and a null
StringValue.
|
ToolTipHighlighter(HighlightPredicate predicate,
StringValue toolTipValue)
Instantiates a ToolTipHighlighter with the specified HighlightPredicate and StringValue.
|
UIColorHighlighter(HighlightPredicate odd)
Instantiates a ColorHighlighter with LF provided unselected
background and the given predicate.
|
Constructor and Description |
---|
AndHighlightPredicate(Collection<HighlightPredicate> list)
Instantiates a predicate which ANDs all contained predicates.
|
OrHighlightPredicate(Collection<HighlightPredicate> list)
Instantiates a predicate which ORs all contained predicates.
|
Modifier and Type | Method and Description |
---|---|
protected HighlightPredicate |
AbstractSearchable.createMatchPredicate()
Creates and returns a HighlightPredicate appropriate for the current
search result.
|
Copyright © 2016. All rights reserved.