Class FontPropEditor

    • Constructor Detail

      • FontPropEditor

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

      • setColors

        protected void setColors​(org.eclipse.swt.widgets.Control... additional)
        Sets the colors for the controls depending on error, focus and define state.
        setColors in class BaseEditor<FontProp,​GFont>
      • onMore

        public void onMore()
        Called when the "more..." button is pressed. Override to display dialog box.
        onMore in class BaseEditor<FontProp,​GFont>
      • 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<FontProp,​GFont>
      • getValue

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

        public void mouseDoubleClick​( e)
        Double-click on preview or text displays color chooser.
        Specified by:
        mouseDoubleClick in interface
        e -
      • mouseDown

        public void mouseDown​( e)
        Mouse down.
        Specified by:
        mouseDown in interface
      • mouseUp

        public void mouseUp​( e)
        Mouse up, not processed.
        Specified by:
        mouseUp in interface