| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Color | ensureContrast(Color c1, Color c2)
Modifies color c1 to ensure it has acceptable contrast relative to color c2. |
| public static double | |
| public static JScrollPane | newTableScrollPane(JComponent comp)
A slightly modified border for JScrollPane to be used with a JTable inside a JTabbedPane. |
| public static void | |
| public static void | |
| private static Color | |
| private static void | |
| private static void | |
| public static void |
| windowsLaF | back to summary |
|---|---|
| private static final String windowsLaF | |
| Utilities | back to summary |
|---|---|
| public Utilities() | |
| ensureContrast | back to summary |
|---|---|
| public static Color ensureContrast(Color c1, Color c2) Modifies color c1 to ensure it has acceptable contrast relative to color c2. http://www.w3.org/TR/AERT#color-contrast http://www.cs.rit.edu/~ncs/color/t_convert.html#RGB%20to%20YIQ%20&%20YIQ%20to%20RGB | |
| getColorBrightness | back to summary |
|---|---|
| public static double getColorBrightness(Color c) | |
| newTableScrollPane | back to summary |
|---|---|
| public static JScrollPane newTableScrollPane(JComponent comp) A slightly modified border for JScrollPane to be used with a JTable inside a JTabbedPane. It has only top part and the rest is clipped to make the overall border less thick. The top border helps differentiating the containing table from its container. | |
| setAccessibleDescription | back to summary |
|---|---|
| public static void setAccessibleDescription(Accessible comp, String description) | |
| setAccessibleName | back to summary |
|---|---|
| public static void setAccessibleName(Accessible comp, String name) | |
| setColorBrightness | back to summary |
|---|---|
| private static Color setColorBrightness(Color c, double y) | |
| setTabbedPaneTransparency | back to summary |
|---|---|
| private static void setTabbedPaneTransparency(JComponent comp, boolean transparent) | |
| setTransparency | back to summary |
|---|---|
| private static void setTransparency(JComponent comp, boolean transparent) | |
| updateTransparency | back to summary |
|---|---|
| public static void updateTransparency(JComponent comp) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| TableScrollPane | back to summary |
|---|---|
| public TableScrollPane(JComponent comp) | |
| paintBorder | back to summary |
|---|---|
| protected void paintBorder(Graphics g) Overrides javax. Doc from javax. Paints the component's border.
If you override this in a subclass you should not make permanent
changes to the passed in | |