Class NavTreeIcon
java.lang.Object
javax.swing.ImageIcon
com.inductiveautomation.ignition.designer.navtree.icon.NavTreeIcon
- All Implemented Interfaces:
InteractiveIcon
,Serializable
,Accessible
,Icon
An icon used in the Designer
NavTreePanel
that can show a normal and selected state.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.ImageIcon
ImageIcon.AccessibleImageIcon
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionNavTreeIcon
(ImageIcon icon) NavTreeIcon
(ImageIcon normal, ImageIcon selected) -
Method Summary
Modifier and TypeMethodDescriptionstatic NavTreeIcon
createIcon
(Class relativeClass, String path) static NavTreeIcon
createIcon
(String path) UsesIconUtil
to load the image at the path with a size of 16x16.Methods inherited from class javax.swing.ImageIcon
getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, loadImage, paintIcon, setDescription, setImage, setImageObserver, toString
-
Constructor Details
-
NavTreeIcon
-
NavTreeIcon
-
-
Method Details
-
getSelected
- Specified by:
getSelected
in interfaceInteractiveIcon
-
getFocused
- Specified by:
getFocused
in interfaceInteractiveIcon
-
getDisabled
- Specified by:
getDisabled
in interfaceInteractiveIcon
-
getInherited
- Specified by:
getInherited
in interfaceInteractiveIcon
-
createIcon
UsesIconUtil
to load the image at the path with a size of 16x16. Tries to load the same image with "-selected" appended before the extension for the selected state. -
createIcon
-