Class HTMLEditorSkin
- All Implemented Interfaces:
Skin<HTMLEditor>
public class HTMLEditorSkin extends SkinBase<HTMLEditor>
HTML editor skin.
- Since:
- 9
- See Also:
Nested Class Summary
| Modifier and Type | Class | Description |
|---|---|---|
static enum |
HTMLEditorSkin.Command |
Represents commands that can be passed into the HTMLEditor web engine. |
Constructor Summary
| Constructor | Description |
|---|---|
HTMLEditorSkin |
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. |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
void |
performCommand |
Special-case handling for certain commands. |
Methods declared in class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
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
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.