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 intARROW_DOWNstatic intARROW_OFFstatic intARROW_UPprotected java.awt.Colorcolor
-
Constructor Summary
Constructors Constructor Description SolidArrowIcon(javax.swing.JComponent component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetArrowType()intgetIconHeight()intgetIconWidth()voidpaintIcon(java.awt.Component c, java.awt.Graphics graphics, int x, int y)voidsetArrowType(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:
getIconHeightin interfacejavax.swing.Icon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfacejavax.swing.Icon
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics graphics, int x, int y)- Specified by:
paintIconin interfacejavax.swing.Icon
-
getArrowType
public int getArrowType()
-
setArrowType
public void setArrowType(int i)
-
-