| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private boolean | |
| private Color | |
| private String | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | SortArrowIcon(boolean
if true, icon representing ascending sort, otherwise
descending ascending, Color the color to render the icon color)Creates a |
| public | SortArrowIcon(boolean
if true, icon representing ascending sort, otherwise
descending ascending, String the key used to find color in UIManager colorKey)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| private Color | |
| public int | |
| public int | |
| public void | paintIcon(Component c, Graphics g, int x, int y)
Implements javax. Draw the icon at the specified location. |
| ARROW_HEIGHT | back to summary |
|---|---|
| private static final int ARROW_HEIGHT | |
| ascending | back to summary |
|---|---|
| private boolean ascending | |
| color | back to summary |
|---|---|
| private Color color | |
| colorKey | back to summary |
|---|---|
| private String colorKey | |
| X_PADDING | back to summary |
|---|---|
| private static final int X_PADDING | |
| SortArrowIcon | back to summary |
|---|---|
| public SortArrowIcon(boolean ascending, Color color) Creates a
| |
| SortArrowIcon | back to summary |
|---|---|
| public SortArrowIcon(boolean ascending, String colorKey) Creates a
| |
| getColor | back to summary |
|---|---|
| private Color getColor() | |
| getIconHeight | back to summary |
|---|---|
| public int getIconHeight() Implements javax. Doc from javax. Returns the icon's height. | |
| getIconWidth | back to summary |
|---|---|
| public int getIconWidth() Implements javax. Doc from javax. Returns the icon's width. | |
| paintIcon | back to summary |
|---|---|
| public void paintIcon(Component c, Graphics g, int x, int y) Implements javax. Doc from javax. Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color. | |