Class SolidArrowIcon
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.components.util.SolidArrowIcon
-
- All Implemented Interfaces:
javax.swing.Icon
public class SolidArrowIcon extends java.lang.Object implements javax.swing.Icon
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARROW_DOWN
static int
ARROW_OFF
static int
ARROW_UP
protected java.awt.Color
color
-
Constructor Summary
Constructors Constructor Description SolidArrowIcon(javax.swing.JComponent component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getArrowType()
int
getIconHeight()
int
getIconWidth()
void
paintIcon(java.awt.Component c, java.awt.Graphics graphics, int x, int y)
void
setArrowType(int i)
-
-
-
Field Detail
-
ARROW_UP
public static final int ARROW_UP
- See Also:
- Constant Field Values
-
ARROW_DOWN
public static final int ARROW_DOWN
- See Also:
- Constant Field Values
-
ARROW_OFF
public static final int ARROW_OFF
- See Also:
- Constant Field Values
-
color
protected java.awt.Color color
-
-
Method Detail
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfacejavax.swing.Icon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfacejavax.swing.Icon
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics graphics, int x, int y)
- Specified by:
paintIcon
in interfacejavax.swing.Icon
-
getArrowType
public int getArrowType()
-
setArrowType
public void setArrowType(int i)
-
-