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 NavTreeIconcreateIcon(Class relativeClass, String path) static NavTreeIconcreateIcon(String path) UsesIconUtilto 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:
getSelectedin interfaceInteractiveIcon
-
getFocused
- Specified by:
getFocusedin interfaceInteractiveIcon
-
getDisabled
- Specified by:
getDisabledin interfaceInteractiveIcon
-
getInherited
- Specified by:
getInheritedin interfaceInteractiveIcon
-
createIcon
UsesIconUtilto 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
-