| Package | Description |
|---|---|
| net.coderazzi.filters.gui |
| Modifier and Type | Field | Description |
|---|---|---|
static CustomChoice |
CustomChoice.MATCH_ALL |
Empty filter, returns all entries.
|
static CustomChoice |
CustomChoice.MATCH_EMPTY |
Special empty filter, returns all entries with null or empty values.
|
| Modifier and Type | Method | Description |
|---|---|---|
static CustomChoice |
CustomChoice.create(java.lang.Object choice) |
Creates a CustomChoice that matches the given object; its stringfied
format is the representation shown to the user.
|
static CustomChoice |
CustomChoice.create(java.lang.Object choice,
java.lang.String repr) |
Creates a CustomChoice that matches the given object, with the provided
representation.
The choice can be a Pattern instance, in which case it is
performed a complete regular expression match. |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Set<CustomChoice> |
CustomChoice.createSet(java.lang.Object[] choices) |
Creates a set of CustomChoice instances, one for each provided choice.
|
static java.util.Set<CustomChoice> |
CustomChoice.createSet(java.util.Collection choices) |
Creates a set of CustomChoice instances, one for each provided choice.
|
java.util.Set<CustomChoice> |
IFilterEditor.getCustomChoices() |
Returns the current choices.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
CustomChoiceDecorator.decorateComponent(CustomChoice choice,
IFilterEditor editor,
boolean isSelected,
javax.swing.JComponent c,
java.awt.Graphics g) |
Decorates the choice on the given editor.
|
void |
CustomChoiceDecorator.DefaultDecorator.decorateComponent(CustomChoice choice,
IFilterEditor editor,
boolean isSelected,
javax.swing.JComponent c,
java.awt.Graphics g) |
|
java.awt.Color |
CustomChoiceDecorator.DefaultDecorator.getBackground(CustomChoice choice,
IFilterEditor editor,
boolean isSelected) |
|
java.awt.Color |
CustomChoiceDecorator.getBackground(CustomChoice choice,
IFilterEditor editor,
boolean isSelected) |
Returns the background color.
|
java.awt.Font |
CustomChoiceDecorator.DefaultDecorator.getFont(CustomChoice choice,
IFilterEditor editor,
boolean isSelected) |
|
java.awt.Font |
CustomChoiceDecorator.getFont(CustomChoice choice,
IFilterEditor editor,
boolean isSelected) |
Returns the font.
|
java.awt.Color |
CustomChoiceDecorator.DefaultDecorator.getForeground(CustomChoice choice,
IFilterEditor editor,
boolean isSelected) |
|
java.awt.Color |
CustomChoiceDecorator.getForeground(CustomChoice choice,
IFilterEditor editor,
boolean isSelected) |
Returns the foreground color.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
IFilterEditor.setCustomChoices(java.util.Set<CustomChoice> choices) |
Sets the available choices, shown on the popup menu.
|
Copyright © 2018 coderazzi. All Rights Reserved.