public enum ArrowIcon extends Enum<ArrowIcon> implements Icon
Enum Constant and Description |
---|
DOUBLEDOWN
DoubleDown Arrow.
|
DOUBLELEFT
DoubleLeft Arrow.
|
DOUBLERIGHT
DoubleRight Arrow.
|
DOUBLEUP
DoubleUp Arrow.
|
DOWN
Down Arrow.
|
LEFT
Left Arrow.
|
RIGHT
Right Arrow.
|
UP
Up Arrow.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
static ArrowIcon |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArrowIcon[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArrowIcon UP
public static final ArrowIcon DOWN
public static final ArrowIcon LEFT
public static final ArrowIcon RIGHT
public static final ArrowIcon DOUBLEUP
public static final ArrowIcon DOUBLEDOWN
public static final ArrowIcon DOUBLELEFT
public static final ArrowIcon DOUBLERIGHT
public static ArrowIcon[] values()
for (ArrowIcon c : ArrowIcon.values()) System.out.println(c);
public static ArrowIcon valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
Copyright © 2012–2016. All rights reserved.