Module javafx.web

Class HTMLEditorSkin

All Implemented Interfaces:
Skin<HTMLEditor>

public class HTMLEditorSkin
extends SkinBase<HTMLEditor>
HTML editor skin.
Since:
9
See Also:
HTMLEditor
  • Constructor Details

    • 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.
      Parameters:
      control - The control that this skin should be installed onto.
  • Method Details

    • 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
      Parameters:
      command - the command
    • layoutChildren

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