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.
|
Modifier and Type | Class | Description |
---|---|---|
static class |
HighlightPredicate.AndHighlightPredicate |
Ands a list of predicates.
|
static class |
HighlightPredicate.ColumnHighlightPredicate |
A HighlightPredicate based on column index.
|
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
Clazz.
|
class |
PatternPredicate |
Pattern based HighlightPredicate.
|
class |
SearchPredicate |
Pattern based HighlightPredicate for searching.
|
Modifier and Type | Field | 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.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_ROW |
Rollover Row.
|
Modifier and Type | Method | Description |
---|---|---|
HighlightPredicate |
AbstractHighlighter.getHighlightPredicate() |
Returns the HighlightPredicate used to decide whether a cell
should be highlighted.
|
HighlightPredicate |
HighlightPredicate.NotHighlightPredicate.getHighlightPredicate() |
|
HighlightPredicate[] |
HighlightPredicate.AndHighlightPredicate.getHighlightPredicates() |
|
HighlightPredicate[] |
HighlightPredicate.OrHighlightPredicate.getHighlightPredicates() |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractHighlighter.setHighlightPredicate(HighlightPredicate predicate) |
Set the HighlightPredicate used to decide whether a cell should
be highlighted.
|
Constructor | Description |
---|---|
AbstractHighlighter(HighlightPredicate predicate) |
Instantiates a Highlighter with the given
HighlightPredicate.
|
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,
javax.swing.border.Border paddingBorder) |
Instantiates a BorderHighlighter with the given padding,
HighlightPredicate and default compound property.
|
BorderHighlighter(HighlightPredicate predicate,
javax.swing.border.Border paddingBorder,
boolean compound) |
Instantiates a BorderHighlighter with the given padding,
HighlightPredicate, compound property and default inner property.
|
BorderHighlighter(HighlightPredicate predicate,
javax.swing.border.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,
java.awt.Color cellBackground,
java.awt.Color cellForeground) |
Constructs a
ColorHighlighter with the specified
unselected colors and HighlightPredicate. |
ColorHighlighter(HighlightPredicate predicate,
java.awt.Color cellBackground,
java.awt.Color cellForeground,
java.awt.Color selectedBackground,
java.awt.Color selectedForeground) |
Constructs a
ColorHighlighter with the specified colors
and HighlightPredicate. |
CompoundHighlighter(HighlightPredicate predicate,
Highlighter... inList) |
Instantiates a CompoundHighlighter with the given predicate containing the given
Highlighter s. |
IconHighlighter(HighlightPredicate predicate) |
Instantiates a IconHighlighter with null Icon the given predicate.
|
IconHighlighter(HighlightPredicate predicate,
javax.swing.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.
|
UIColorHighlighter(HighlightPredicate odd) |
Instantiates a ColorHighlighter with LF provided unselected
background and the given predicate.
|
Constructor | Description |
---|---|
AndHighlightPredicate(java.util.Collection<HighlightPredicate> list) |
Instantiates a predicate which ANDs all contained predicates.
|
OrHighlightPredicate(java.util.Collection<HighlightPredicate> list) |
Instantiates a predicate which ORs all contained predicates.
|