Class IntPropEditor

    • Constructor Detail

      • IntPropEditor

        public IntPropEditor()
        Default constructor called before createControls.
    • Method Detail

      • create

        protected void create()
        Creates the property editor controls.
        Specified by:
        create in class BaseEditor<IntProp,​java.lang.Integer>
      • getToolTipText

        protected java.lang.String getToolTipText()
        Gets the tooltip text to display in the entry fields (not the one for property errors or validator).
        Specified by:
        getToolTipText in class BaseEditor<IntProp,​java.lang.Integer>
      • getValue

        protected java.lang.Integer getValue​(java.lang.String input)
                                      throws java.lang.Exception
        Gets the property value for a user input.
        Specified by:
        getValue in class BaseEditor<IntProp,​java.lang.Integer>
        Parameters:
        input - The current user input.
        Returns:
        The property value for the input, or null to un-define the property.
        Throws:
        java.lang.Exception - For validation errors.
      • formatValue

        public java.lang.String formatValue​(java.lang.Integer value)
        Formats the value for user input as a String.
        Specified by:
        formatValue in interface IEditedPropControllerOwner<IntProp,​java.lang.Integer>
        Specified by:
        formatValue in class BaseEditor<IntProp,​java.lang.Integer>
        Parameters:
        value - The value.
        Returns:
        The formatted value.