Class NavTreeIcon
- java.lang.Object
- 
- javax.swing.ImageIcon
- 
- com.inductiveautomation.ignition.designer.navtree.icon.NavTreeIcon
 
 
- 
- All Implemented Interfaces:
- InteractiveIcon,- java.io.Serializable,- javax.accessibility.Accessible,- javax.swing.Icon
 
 public class NavTreeIcon extends javax.swing.ImageIcon implements InteractiveIcon An icon used in the DesignerNavTreePanelthat can show a normal and selected state.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description NavTreeIcon(javax.swing.ImageIcon icon)NavTreeIcon(javax.swing.ImageIcon normal, javax.swing.ImageIcon selected)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NavTreeIconcreateIcon(java.lang.Class relativeClass, java.lang.String path)static NavTreeIconcreateIcon(java.lang.String path)UsesIconUtilto load the image at the path with a size of 16x16.javax.swing.IcongetDisabled()javax.swing.IcongetFocused()javax.swing.IcongetSelected()
 
- 
- 
- 
Method Detail- 
getSelected@Nullable public javax.swing.Icon getSelected() - Specified by:
- getSelectedin interface- InteractiveIcon
 
 - 
getFocused@Nullable public javax.swing.Icon getFocused() - Specified by:
- getFocusedin interface- InteractiveIcon
 
 - 
getDisabled@Nullable public javax.swing.Icon getDisabled() - Specified by:
- getDisabledin interface- InteractiveIcon
 
 - 
createIconpublic static NavTreeIcon createIcon(java.lang.String path) 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.
 - 
createIconpublic static NavTreeIcon createIcon(java.lang.Class relativeClass, java.lang.String path) 
 
- 
 
-