- All Implemented Interfaces:
- Skin<HTMLEditor>
public class HTMLEditorSkin extends SkinBase<HTMLEditor>
HTML editor skin.
- Since:
- 9
- See Also:
- HTMLEditor
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classHTMLEditorSkin.CommandRepresents commands that can be passed into the HTMLEditor web engine.
- 
Constructor SummaryConstructors Constructor Description HTMLEditorSkin(HTMLEditor control)Creates a new HTMLEditorSkin instance, installing the necessary child nodes into the Controlchildrenlist, as well as the necessary input mappings for handling key, mouse, etc events.
- 
Method SummaryModifier and Type Method Description protected voidlayoutChildren(double x, double y, double w, double h)Called during the layout pass of the scenegraph.voidperformCommand(HTMLEditorSkin.Command command)Special-case handling for certain commands.Methods inherited from class javafx.scene.control.SkinBasecomputeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
- 
Constructor Details- 
HTMLEditorSkinCreates a new HTMLEditorSkin instance, installing the necessary child nodes into the Controlchildrenlist, 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- 
performCommandSpecial-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
 
- 
layoutChildrenprotected void layoutChildren(double x, double y, double w, double h)Called during the layout pass of the scenegraph.- Overrides:
- layoutChildrenin class- SkinBase<HTMLEditor>
- Parameters:
- x- the x position
- y- the y position
- w- the width
- h- the height
 
 
-