Dialog for selecting and previewing fonts.Font#getFamilies().
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | FontSelectorDialog.
Font style as combination of font weight and font posture. |
| Modifier and Type | Field and Description |
|---|---|
| private FontSelectorDialog. |
| Access | Constructor and Description |
|---|---|
| public |
| fontPanel | back to summary |
|---|---|
| private FontSelectorDialog. | |
| FontSelectorDialog | back to summary |
|---|---|
| public FontSelectorDialog(Font defaultFont) | |
| Modifier and Type | Field and Description |
|---|---|
| private final FilteredList | |
| private final FilteredList | |
| private final FilteredList | |
| private final ListView | |
| private static final Double[] | |
| private static final double | |
| private static final Predicate | |
| private final Text | |
| private final ListView | |
| private final ListView | |
| private static final double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Font | |
| private static List | |
| private <T> T | |
| private void | |
| private <T> void | |
| public void |
| filteredFontList | back to summary |
|---|---|
| private final FilteredList<String> filteredFontList | |
| filteredSizeList | back to summary |
|---|---|
| private final FilteredList<Double> filteredSizeList | |
| filteredStyleList | back to summary |
|---|---|
| private final FilteredList<FontSelectorDialog. | |
| fontListView | back to summary |
|---|---|
| private final ListView<String> fontListView | |
| fontSizes | back to summary |
|---|---|
| private static final Double[] fontSizes | |
| HGAP | back to summary |
|---|---|
| private static final double HGAP | |
| MATCH_ALL | back to summary |
|---|---|
| private static final Predicate<Object> MATCH_ALL | |
| sample | back to summary |
|---|---|
| private final Text sample | |
| sizeListView | back to summary |
|---|---|
| private final ListView<Double> sizeListView | |
| styleListView | back to summary |
|---|---|
| private final ListView<FontSelectorDialog. | |
| VGAP | back to summary |
|---|---|
| private static final double VGAP | |
| FontPanel | back to summary |
|---|---|
| public FontPanel() | |
| getFont | back to summary |
|---|---|
| public Font getFont() | |
| getFontStyles | back to summary |
|---|---|
| private static List | |
| listSelection | back to summary |
|---|---|
| private <T> T listSelection(final ListView<T> listView) | |
| refreshSample | back to summary |
|---|---|
| private void refreshSample() | |
| selectInList | back to summary |
|---|---|
| private <T> void selectInList(final ListView<T> listView, final T selection) | |
| setFont | back to summary |
|---|---|
| public void setFont(final Font font) | |
| Modifier and Type | Field and Description |
|---|---|
| private FontPosture | |
| private FontWeight |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private <T extends Enum | |
| public int | compareTo(FontSelectorDialog.
Implements java. Compares this object with the specified object for order. |
| public boolean | equals(Object that)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public FontPosture | |
| public FontWeight | |
| public int | |
| private static String | |
| public String |
| posture | back to summary |
|---|---|
| private FontPosture posture | |
| weight | back to summary |
|---|---|
| private FontWeight weight | |
| FontStyle | back to summary |
|---|---|
| public FontStyle(FontWeight weight, FontPosture posture) | |
| FontStyle | back to summary |
|---|---|
| public FontStyle() | |
| FontStyle | back to summary |
|---|---|
| public FontStyle(String styles) | |
| FontStyle | back to summary |
|---|---|
| public FontStyle(Font font) | |
| compareEnums | back to summary |
|---|---|
| private <T extends Enum | |
| compareTo | back to summary |
|---|---|
| public int compareTo(FontSelectorDialog. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object that) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getPosture | back to summary |
|---|---|
| public FontPosture getPosture() | |
| getWeight | back to summary |
|---|---|
| public FontWeight getWeight() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| makePretty | back to summary |
|---|---|
| private static String makePretty(Object o) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |