java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.ignition.client.jsonedit.ValueEditor
All Implemented Interfaces:
NodeEditor.ValueEditorComponent, ImageObserver, MenuContainer, Serializable, Accessible

public class ValueEditor extends JPanel implements NodeEditor.ValueEditorComponent
This editor knows how to edit the basic types for json: string, boolean, null, and number, as well as two special types: Date and Dataset. Based on the value of the node, an appropriate editor will be selected, and based on the text the user types, the appropriate data type will be used. For example, if the user types in "123" the value will become new Integer(123). If the then change it to "123abc" the value will become a String. If the user actually wants the String "123" then they'll need to turn off AUTO mode for the node and explicitly specify numeric type.
See Also: