public class ArrowIcon
extends java.lang.Object
implements javax.swing.Icon
| Modifier and Type | Field and Description |
|---|---|
static RationalPolygon |
EAST
An east arrow.
|
static RationalPolygon |
NORTH
A north arrow.
|
static RationalPolygon |
NORTHEAST
A northeast arrow.
|
static RationalPolygon |
NORTHWEST
A northwest arrow.
|
static RationalPolygon |
SOUTH
A south arrow.
|
static RationalPolygon |
SOUTHEAST
A southeast arrow.
|
static RationalPolygon |
SOUTHWEST
A southwest arrow.
|
static RationalPolygon |
WEST
A west arrow.
|
| Constructor and Description |
|---|
ArrowIcon(RationalPolygon anArrow) |
ArrowIcon(java.lang.String arrowName) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y) |
public static final RationalPolygon NORTH
public static final RationalPolygon SOUTH
public static final RationalPolygon EAST
public static final RationalPolygon WEST
public static final RationalPolygon NORTHEAST
public static final RationalPolygon NORTHWEST
public static final RationalPolygon SOUTHEAST
public static final RationalPolygon SOUTHWEST
public ArrowIcon(RationalPolygon anArrow)
public ArrowIcon(java.lang.String arrowName)
public void paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
paintIcon in interface javax.swing.Iconpublic int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic int getIconHeight()
getIconHeight in interface javax.swing.Icon