Module javafx.web

Class HTMLEditorSkin

    • Constructor Detail

      • HTMLEditorSkin

        public HTMLEditorSkin​(HTMLEditor control)
        Creates a new HTMLEditorSkin instance, installing the necessary child nodes into the Control children list, as well as the necessary input mappings for handling key, mouse, etc events.
        control - The control that this skin should be installed onto.
    • Method Detail

      • performCommand

        public void performCommand​(HTMLEditorSkin.Command command)
        Special-case handling for certain commands. Over time this may be extended to handle additional commands. The current list of supported commands is:
        • BOLD
        • ITALIC
        • UNDERLINE
        command - the command
      • layoutChildren

        protected void layoutChildren​(double x,
                                      double y,
                                      double w,
                                      double h)
        Called during the layout pass of the scenegraph.
        layoutChildren in class SkinBase<HTMLEditor>
        x - the x position
        y - the y position
        w - the width
        h - the height