diff --git a/modules/javafx.controls/src/main/java/javafx/scene/chart/Axis.java b/modules/javafx.controls/src/main/java/javafx/scene/chart/Axis.java index 087d2f28cc1..3fda514ee2b 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/chart/Axis.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/chart/Axis.java @@ -420,7 +420,7 @@ public Axis() { // -------------- METHODS ------------------------------------------------------------------------------------------ /** - * See if the current range is valid, if it is not then any range dependent calulcations need to redone on the next layout pass + * See if the current range is valid, if it is not then any range dependent calculations need to redone on the next layout pass * * @return true if current range calculations are valid */ diff --git a/modules/javafx.controls/src/main/java/javafx/scene/chart/XYChart.java b/modules/javafx.controls/src/main/java/javafx/scene/chart/XYChart.java index 9d791875c79..1cc26cc0f91 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/chart/XYChart.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/chart/XYChart.java @@ -976,7 +976,7 @@ protected final void removeSeriesFromDisplay(Series series) { /** * XYChart maintains a list of all series currently displayed this includes all current series + any series that - * have recently been deleted that are in the process of being faded(animated) out. This creates and returns a + * have recently been deleted that are in the process of being faded (animated) out. This creates and returns a * iterator over that list. This is what implementations of XYChart should use when plotting data. * * @return iterator over currently displayed series diff --git a/modules/javafx.controls/src/main/java/javafx/scene/chart/package-info.java b/modules/javafx.controls/src/main/java/javafx/scene/chart/package-info.java index bf40fdb0ff4..61ddca54a14 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/chart/package-info.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/chart/package-info.java @@ -28,7 +28,7 @@ * are a very convenient way for data visualization. Application * developers can make use of these off-the-rack graphical charts * provided by the JavaFX runtime, to visualize a wide variety of data.

- *

Commom types of charts such as {@link javafx.scene.chart.BarChart + *

Common types of charts such as {@link javafx.scene.chart.BarChart * Bar}, {@link javafx.scene.chart.LineChart Line}, {@link * javafx.scene.chart.AreaChart Area}, {@link * javafx.scene.chart.PieChart Pie}, {@link @@ -111,7 +111,7 @@ * *

Plots symbols for the data points in a series. This type of * chart is useful in viewing distribution of data and its - * corelation, if there is any clustering.

+ * correlation, if there is any clustering.

* * * diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/ResizeFeaturesBase.java b/modules/javafx.controls/src/main/java/javafx/scene/control/ResizeFeaturesBase.java index 79af8224881..3706864b8c9 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/ResizeFeaturesBase.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/ResizeFeaturesBase.java @@ -57,7 +57,7 @@ public ResizeFeaturesBase(@NamedArg("column") TableColumnBase column, @Name /** * Returns the width of the area available for columns. * - * @return the width availabe for columns + * @return the width available for columns * * @since 20 */ diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/TextFormatter.java b/modules/javafx.controls/src/main/java/javafx/scene/control/TextFormatter.java index f23b276de8a..47e946a11de 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/TextFormatter.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/TextFormatter.java @@ -117,8 +117,8 @@ public TextFormatter(@NamedArg("valueConverter") StringConverter valueConvert /** * The converter between the values and text. * It maintains a "binding" between the {@link javafx.scene.control.TextInputControl#textProperty()} } - * and {@link #valueProperty()} }. The value is updated when the control loses it's focus or it is commited (TextField only). - * Setting the value will update the text of the control, usin the provided converter. + * and {@link #valueProperty()} }. The value is updated when the control loses it's focus or it is committed (TextField only). + * Setting the value will update the text of the control, using the provided converter. * * If it's impossible to convert text to value, an exception should be thrown. * @return StringConverter for values or null if none provided @@ -143,7 +143,7 @@ public final UnaryOperator getFilter() { /** * The current value for this formatter. When the formatter is set on a {@code TextInputControl} and has a - * {@code valueConverter}, the value is set by the control, when the text is commited. + * {@code valueConverter}, the value is set by the control, when the text is committed. */ private final ObjectProperty value = new ObjectPropertyBase<>() { @@ -231,7 +231,7 @@ void updateValue(String text) { * an empty {@code text}. Similarly, if you want to delete some different or additional text, just set the {@code range}. * If you want to remove first word instead of the second, just call {@code setRange(0,5)} *
  • Some text was added: Now the {@code range} is empty (means nothing was deleted), but it's value is still important. - * Both the start and end of the {@code range} point to the index wheret the new text was added. E.g. adding "ipsum " to "Lorem dolor sit amet" + * Both the start and end of the {@code range} point to the index where the new text was added. E.g. adding "ipsum " to "Lorem dolor sit amet" * would result in a change with {@code range} of (6,6) and {@code text} containing the String "ipsum ".
  • *
  • Some text was replaced: The combination of the 2 cases above. Both {@code text} and {@code range} are not empty. The text in {@code range} is deleted * and replaced by {@code text} in the Change. The new text is added instead of the old text, which is at the beginning of the {@code range}. diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/TextInputControl.java b/modules/javafx.controls/src/main/java/javafx/scene/control/TextInputControl.java index f5b8705e560..25812209f2c 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/TextInputControl.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/TextInputControl.java @@ -1331,7 +1331,7 @@ public final void commitValue() { } /** - * If the field is currently being edited, this call will set text to the last commited value. + * If the field is currently being edited, this call will set text to the last committed value. * @since JavaFX 8u40 */ public final void cancelEdit() { diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/cell/MapValueFactory.java b/modules/javafx.controls/src/main/java/javafx/scene/control/cell/MapValueFactory.java index fbd4ac35930..f2d1452af09 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/cell/MapValueFactory.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/cell/MapValueFactory.java @@ -59,7 +59,7 @@ * * *

    In this example, there is a list of Map instances, where each Map instance - * representsa single row in the TableView. The "firstName" string is used as a + * represents a single row in the TableView. The "firstName" string is used as a * key into this map, and the value corresponding to this key is returned, if * one exists. If the value is an {@link ObservableValue}, then this is returned * directly, otherwise the value is wrapped in a {@link ReadOnlyObjectWrapper}. diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/package-info.java b/modules/javafx.controls/src/main/java/javafx/scene/control/package-info.java index c74ccbfa8f1..c807b84ac16 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/package-info.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/package-info.java @@ -62,7 +62,7 @@ * Skin the responsibility of computing the min, max, and pref sizes of the * Control, the baseline offset, and hit testing (containment and * intersection). It is also the responsibility of the Skin, or a delegate of - * the Skin, to implement and repond to all relevant key + * the Skin, to implement and respond to all relevant key * events which occur on the Control when it contains the focus.

    * *

    Control

    diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextInputControlSkin.java b/modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextInputControlSkin.java index 305406a08e4..e282c44266d 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextInputControlSkin.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextInputControlSkin.java @@ -663,7 +663,7 @@ protected final boolean isForwardBias() { * * @param unit the unit of text to move by. * @param dir the direction of movement. - * @param select whether to extends the selection to the new posititon. + * @param select whether to extends the selection to the new position. */ public abstract void moveCaret(TextUnit unit, Direction dir, boolean select); diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/skin/VirtualContainerBase.java b/modules/javafx.controls/src/main/java/javafx/scene/control/skin/VirtualContainerBase.java index d7509a0d6a5..9adf8048a1f 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/skin/VirtualContainerBase.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/skin/VirtualContainerBase.java @@ -118,7 +118,7 @@ public VirtualContainerBase(final C control) { * Create the virtualized container that handles the layout and scrolling of * all the cells. This enables skin subclasses to provide * a custom {@link VirtualFlow} implementation. - * If not overridden, this method intantiates a default VirtualFlow instance. + * If not overridden, this method instantiates a default VirtualFlow instance. * @return newly created VirtualFlow instance * @since 10 */ diff --git a/modules/javafx.fxml/src/main/java/javafx/fxml/FXMLLoader.java b/modules/javafx.fxml/src/main/java/javafx/fxml/FXMLLoader.java index 43484a2d68c..670124b04b7 100644 --- a/modules/javafx.fxml/src/main/java/javafx/fxml/FXMLLoader.java +++ b/modules/javafx.fxml/src/main/java/javafx/fxml/FXMLLoader.java @@ -2125,7 +2125,7 @@ public void invoke(Object... params) { public static final String JAVAFX_VERSION; /** - * Contains the current fx namepsace version. + * Contains the current fx namespace version. * @since JavaFX 8.0 */ public static final String FX_NAMESPACE_VERSION = "1"; diff --git a/modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/cssref.html b/modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/cssref.html index d82793fd380..9c7c8a8db12 100644 --- a/modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/cssref.html +++ b/modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/cssref.html @@ -617,7 +617,7 @@

    Naming Conventions

    lower case, with compound words separated by hyphens. The convention is therefore to take JavaFX class names and form their corresponding CSS style‑class name by separating the compound words with hyphens and - convering the letters to all lower case. For example, the JavaFX + converting the letters to all lower case. For example, the JavaFX ToggleButton class would have a style‑class of "toggle-button". The convention for mapping JavaFX variable names to CSS property names is similar, with the addition of the "-fx-" prefix. For example, the @@ -1521,7 +1521,7 @@

    Looked-up Colors <looke

    With looked-up colors you can refer to any other color property that is set on the current node or any of its parents. This is a very powerful feature, as it allows a generic palette of colors to be specified on the - scene then used thoughout the application. If you want to change one of + scene then used throughout the application. If you want to change one of those palette colors you can do so at any level in the scene tree and it will affect that node and all its decendents. Looked-up colors are not looked up until they are applied, so they are live and react to any style @@ -2520,7 +2520,7 @@

    Region

    [ , [<size>]{1,4} [ / [<size>]{1,4} ]? ]* 0 0 0 0 -

    The same syntax and semenatics as CSS Backgrounds and Borders Module Level 3: Curve Radii +

    The same syntax and semantics as CSS Backgrounds and Borders Module Level 3: Curve Radii applies to -fx-background-radius. Note that JavaFX supports only the short-hand syntax.

    Each comma-separated value or set of values in the series applies to the corresponding background color.

    @@ -2894,7 +2894,7 @@

    Region

    <size> -1 Percentage values are not useful since the actual value would be - computed from the width and/or height of the Regions's parent before + computed from the width and/or height of the Region's parent before the parent is laid out. @@ -4352,7 +4352,7 @@

    Pseudo-classes

    applies if the indeterminate variable is false - indetermindate + indeterminate applies if the indeterminate variable is true @@ -4419,7 +4419,7 @@

    Pseudo-classes

    applies if the indeterminate variable is false - indetermindate + indeterminate applies if the indeterminate variable is true @@ -5599,7 +5599,7 @@

    TreeCell

    -fx-indent <size> 10 - The amout of space to multiply by the treeItem.level to get the + The amount of space to multiply by the treeItem.level to get the left margin diff --git a/modules/javafx.graphics/src/main/java/javafx/animation/PathTransition.java b/modules/javafx.graphics/src/main/java/javafx/animation/PathTransition.java index 60aafd4aaae..5ead0a3e5ac 100644 --- a/modules/javafx.graphics/src/main/java/javafx/animation/PathTransition.java +++ b/modules/javafx.graphics/src/main/java/javafx/animation/PathTransition.java @@ -221,7 +221,7 @@ public final ObjectProperty pathProperty() { public static enum OrientationType { /** - * The targeted {@code node}'s rotation matrix stays unchange along the + * The targeted {@code node}'s rotation matrix stays unchanged along the * geometric path. */ NONE, diff --git a/modules/javafx.graphics/src/main/java/javafx/css/Selector.java b/modules/javafx.graphics/src/main/java/javafx/css/Selector.java index ed7ea8733f8..f6f1d37327e 100644 --- a/modules/javafx.graphics/src/main/java/javafx/css/Selector.java +++ b/modules/javafx.graphics/src/main/java/javafx/css/Selector.java @@ -121,7 +121,7 @@ public int getOrdinal() { * {@code PseudoClass} state that it finds along the way. * @param styleable the {@code Styleable} to match * @param triggerStates a set of {@code PseudoClass} states - * @param depth depth of the {@code Node} heirarchy to look for + * @param depth depth of the {@code Node} hierarchy to look for * @return {@code true} if this {@code Selector} and a set of {@code PseudoClass} * applies to the given {@code Styleable} */ diff --git a/modules/javafx.graphics/src/main/java/javafx/css/SizeUnits.java b/modules/javafx.graphics/src/main/java/javafx/css/SizeUnits.java index 8962ac096be..9fde65deb8a 100644 --- a/modules/javafx.graphics/src/main/java/javafx/css/SizeUnits.java +++ b/modules/javafx.graphics/src/main/java/javafx/css/SizeUnits.java @@ -366,8 +366,8 @@ private SizeUnits(boolean absolute) { private final boolean absolute; /** - * Gets wehther this {@code SizeUnits} value is absolute. - * @return whether value is absoulute + * Gets whether this {@code SizeUnits} value is absolute. + * @return whether value is absolute */ public boolean isAbsolute() { return absolute; diff --git a/modules/javafx.graphics/src/main/java/javafx/print/PrintQuality.java b/modules/javafx.graphics/src/main/java/javafx/print/PrintQuality.java index ca80d821af5..42d95aadef5 100644 --- a/modules/javafx.graphics/src/main/java/javafx/print/PrintQuality.java +++ b/modules/javafx.graphics/src/main/java/javafx/print/PrintQuality.java @@ -26,7 +26,7 @@ package javafx.print; /** - * Class to decribe printing quality setting. + * Class to describe printing quality setting. * @since JavaFX 8.0 */ diff --git a/modules/javafx.graphics/src/main/java/javafx/print/PrintResolution.java b/modules/javafx.graphics/src/main/java/javafx/print/PrintResolution.java index b5a57a080ad..b015c2d091b 100644 --- a/modules/javafx.graphics/src/main/java/javafx/print/PrintResolution.java +++ b/modules/javafx.graphics/src/main/java/javafx/print/PrintResolution.java @@ -31,7 +31,7 @@ * When printing in a portrait orientation * cross feed direction is usually x/horizontal resolution, and * feed direction is usually y/horizontal resolution. - * On most printers these are the same value, but it is possuble + * On most printers these are the same value, but it is possible * for them to be different. * @since JavaFX 8.0 */ diff --git a/modules/javafx.graphics/src/main/java/javafx/print/PrintSides.java b/modules/javafx.graphics/src/main/java/javafx/print/PrintSides.java index c943b9f2276..679ac85d262 100644 --- a/modules/javafx.graphics/src/main/java/javafx/print/PrintSides.java +++ b/modules/javafx.graphics/src/main/java/javafx/print/PrintSides.java @@ -39,7 +39,7 @@ public enum PrintSides { /** * Two sided printing where the vertical edge of the paper is to be used * for binding such as in a book. In PORTAIT mode printing, the - * vertical edge is usally the long edge but this is reversed if + * vertical edge is usually the long edge but this is reversed if * LANDSCAPE printing is requested */ DUPLEX, @@ -47,7 +47,7 @@ public enum PrintSides { /** * Two sided printing where the horizontal edge of the paper is to be used * for binding such as in a notepad. In PORTAIT mode printing, the - * horizontal edge is usally the short edge but this is reversed if + * horizontal edge is usually the short edge but this is reversed if * LANDSCAPE printing is requested */ TUMBLE diff --git a/modules/javafx.graphics/src/main/java/javafx/print/PrinterJob.java b/modules/javafx.graphics/src/main/java/javafx/print/PrinterJob.java index 0ab202fb32a..12edb618fd1 100644 --- a/modules/javafx.graphics/src/main/java/javafx/print/PrinterJob.java +++ b/modules/javafx.graphics/src/main/java/javafx/print/PrinterJob.java @@ -46,7 +46,7 @@ *
  • Job creation *
  • Job configuration based on supported printer capabilities *
  • Page setup - *
  • Rendering of a node hierachy to a page. + *
  • Rendering of a node hierarchy to a page. * *

    * Here ia a very simple example, which prints a single node. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAction.java b/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAction.java index 53b7825e973..abb5c172c6d 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAction.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAction.java @@ -96,7 +96,7 @@ public enum AccessibleAction { /** * Request that the node take focus. By default, a node will * request focus using {@link javafx.scene.Node#requestFocus()}. - * Both JavaFX and the assisteve technology have the concept of + * Both JavaFX and the assistive technology have the concept of * a focus node and most of the time, they are the same. * In some cases, a control might want the JavaFX focus to remain * on the parent, while the assistive technology focus is on the child. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAttribute.java b/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAttribute.java index 43628f3cf48..757ded6230e 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAttribute.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAttribute.java @@ -328,7 +328,7 @@ public enum AccessibleAttribute { HORIZONTAL_SCROLLBAR(Node.class), /** - * Returns true of the node is indeterminaite, otherwise false. + * Returns true of the node is indeterminate, otherwise false. *

      *
    • Used by: CheckBox and ProgressIndicator
    • *
    • Needs notify: yes
    • diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/Node.java b/modules/javafx.graphics/src/main/java/javafx/scene/Node.java index fe3f55b1460..d8c64f48aa4 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/Node.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/Node.java @@ -2673,8 +2673,8 @@ protected Node() {} * * **************************************************************************/ /** - * Defines whether or not this node's layout will be managed by it's parent. - * If the node is managed, it's parent will factor the node's geometry + * Defines whether or not this node's layout will be managed by its parent. + * If the node is managed, its parent will factor the node's geometry * into its own preferred size and {@link #layoutBoundsProperty layoutBounds} * calculations and will lay it * out during the scene's layout pass. If a managed node's layoutBounds diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/Parent.java b/modules/javafx.graphics/src/main/java/javafx/scene/Parent.java index 5fc016b3d7a..f432ec365f8 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/Parent.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/Parent.java @@ -657,8 +657,8 @@ private String constructExceptionMessage( * restored. An {@link IllegalArgumentException} is thrown in this case. * *

      - * If this {@link Parent} node is attached to a {@link Scene} attached to a {@link Window} - * that is showning ({@link javafx.stage.Window#isShowing()}), then its + * If this {@link Parent} node is attached to a {@link Scene} attached to a {@link Window}, + * that is, showing ({@link javafx.stage.Window#isShowing()}), then its * list of children must only be modified on the JavaFX Application Thread. * An {@link IllegalStateException} is thrown if this restriction is * violated. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/Clipboard.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/Clipboard.java index fb4590ca707..4d8ecb72cdd 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/input/Clipboard.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/Clipboard.java @@ -228,7 +228,7 @@ public final void clear() { /** * Gets the set of DataFormat types on this Clipboard instance which have * associated data registered on the clipboard. This set will always - * be non-null and immutable. If the Clipboard is subsequently modifed, + * be non-null and immutable. If the Clipboard is subsequently modified, * this returned set is not updated. * * @return A non-null immutable set of content types. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java index eafed468b2a..c06c336c22e 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java @@ -44,7 +44,7 @@ *

      * Drag and drop gesture can be started by calling {@code startDragAndDrop()} * (on a node or scene) inside of a {@link MouseEvent#DRAG_DETECTED DRAG_DETECTED} event handler. - * The data to be transfered to drop target are placed to a {@code dragBoard} + * The data to be transferred to drop target are placed to a {@code dragBoard} * at this moment. *

      * Drag entered/exited events behave similarly to mouse entered/exited @@ -70,7 +70,7 @@ * Inside a {@code DRAG_DETECTED} event handler, if the * {@code startDragAndDrop()} method is called on a node or scene and a dragged * data is made available to the returned {@code Dragboard}, the object on which - * {@code startDragAndDrop()} has been called is considred a gesture source + * {@code startDragAndDrop()} has been called is considered a gesture source * and the drag and drop gesture is started. The {@code Dragboard} has system * clipboard functionality but is specifically used for drag and drop data * transfer. @@ -133,7 +133,7 @@ * {@code DragBoard.getTransferModes()} (set of transfer modes supported by * the gesture source) and {@code DragEvent.getTransferMode()} (default * transfer mode issued by platform, driven by key modifiers) can be used. - * It is poosible to pass more transfer modes into the + * It is possible to pass more transfer modes into the * {@code acceptTransferModes(TransferMode...)} method. In this case * it makes the decision in behalf of the * application (it chooses the default mode if it's supported by gesture source @@ -238,7 +238,7 @@ public final class DragEvent extends InputEvent { /** * This event occurs when drag gesture exits a node. It's the * bubbling variant, which is delivered also to all parents of the - * eixited node (unless it was consumed). When notifications about + * exited node (unless it was consumed). When notifications about * exiting some of node's children are not desired, * {@code DRAG_EXITED} event handler should be used. * diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java index 150786a7f4d..82306df1899 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java @@ -56,7 +56,7 @@ Object getContentImpl(DataFormat dataFormat) { } /** - * Gets set of transport modes supported by source of this drag opeation. + * Gets set of transport modes supported by source of this drag operation. * @return set of supported transfer modes */ public final Set getTransferModes() { @@ -73,7 +73,7 @@ static Dragboard createDragboard(TKClipboard peer) { // PENDING_DOC_REVIEW /** - * Sets the visual representation of data being transfered + * Sets the visual representation of data being transferred * in a drag and drop gesture. * Uses the given image for the drag view with the offsetX and offsetY * specifying cursor position over the image. @@ -92,7 +92,7 @@ public void setDragView(Image image, double offsetX, double offsetY) { } /** - * Sets the visual representation of data being transfered + * Sets the visual representation of data being transferred * in a drag and drop gesture. * This method should be called only when starting drag and drop operation * in the DRAG_DETECTED handler, calling it at other times diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/MouseEvent.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/MouseEvent.java index 9e3b3db37a1..de29ce140ea 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/input/MouseEvent.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/MouseEvent.java @@ -52,15 +52,15 @@ * a mouse press event and terminated as a result of a mouse released * event, the source node decides which gesture will take place. *

      - * The simple press-drag-release gesture is default. It's best used to allow - * changing size of a shape, dragging it around and so on. Whole + * The simple press-drag-release gesture is the default. It's best used to allow + * changing the size of a shape, dragging it around and so on. The whole * press-drag-release gesture is delivered to one node. When a mouse * button is pressed, the top-most node is picked and all subsequent - * mouse events are delivered to the same node until the button is released. + * mouse events are delivered to that same node until the button is released. * If a mouse clicked event is generated from these events, it is still * delivered to the same node. *

      - * During simple press-drag-release gesture, the other nodes are not involved + * During a simple press-drag-release gesture, the other nodes are not involved * and don't get any events. If these nodes need to be involved in the gesture, * full press-drag-release gesture has to be activated. This gesture is * best used for connecting nodes by "wires", dragging nodes to other nodes etc. @@ -68,16 +68,16 @@ * {@link javafx.scene.input.MouseDragEvent MouseDragEvent} which contains * the events delivered to the gesture targets. *

      - * The third gesture type is platform-supported drag-and-drop gesture. It serves + * The third gesture type is the platform-supported drag-and-drop gesture. It serves * best to transfer data and works also between (not necessarily FX) * applications. This gesture type is more closely described * at {@link javafx.scene.input.DragEvent DragEvent}. *

      - * In a short summary, simple press-drag-release gesture is activated + * In summary, simple press-drag-release gestures are activated * automatically when a mouse button is pressed and delivers all * {@code MouseEvent}s to the gesture source. When you start dragging, - * eventually the {@code DRAG_DETECTED} event arrives. In its handler - * you can either start full press-drag-release gesture by calling + * eventually the {@code DRAG_DETECTED} event arrives. In its handler, + * you can either start a full press-drag-release gesture by calling the * {@code startFullDrag} method on a node or scene - the {@code MouseDragEvent}s * start to be delivered to gesture targets, or you can start drag and drop * gesture by calling {@code startDragAndDrop} method on a node or scene - @@ -93,14 +93,14 @@ * *

      Mouse enter/exit handling

      *

      - * When the mouse enters a node, the node gets {@code MOUSE_ENTERED} event, when - * it leaves, it gets {@code MOUSE_EXITED} event. These events are delivered + * When the mouse enters a node, the node gets a {@code MOUSE_ENTERED} event, when + * it leaves, it gets a {@code MOUSE_EXITED} event. These events are delivered * only to the entered/exited node and seemingly don't go through the * capturing/bubbling phases. This is the most common use-case. *

      - * When the capturing or bubbling is desired, there are + * When capturing or bubbling is desired, there are * {@code MOUSE_ENTERED_TARGET}/{@code MOUSE_EXITED_TARGET} events. These events - * go through capturing/bubbling phases normally. This means that parent may + * go through capturing/bubbling phases normally. This means that a parent may * receive the {@code MOUSE_ENTERED_TARGET} event when the mouse entered * either the parent itself or some of its children. To distinguish between * these two cases, the event target can be tested on equality with the node. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java index c4bf55c00af..58aa9264b5d 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java @@ -50,7 +50,7 @@ * indirectly as on track pad - the mouse cursor location is usually used * as the gesture coordinates). *

      - * The gesture's {@code ROTATE} events are surounded by {@code ROTATION_STARTED} + * The gesture's {@code ROTATE} events are surrounded by {@code ROTATION_STARTED} * and {@code ROTATION_FINISHED} events. If rotation inertia is active on the * given platform, some {@code ROTATE} events with {@code isInertia()} returning * {@code true} can come after {@code ROTATION_FINISHED}. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java index 8e3b5d8728c..237349f4805 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java @@ -50,7 +50,7 @@ * indirectly as on track pad - the mouse cursor location is usually used * as the gesture coordinates). *

      - * The gesture's {@code ZOOM} events are surounded by {@code ZOOM_STARTED} + * The gesture's {@code ZOOM} events are surrounded by {@code ZOOM_STARTED} * and {@code ZOOM_FINISHED} events. If zooming inertia is active on the * given platform, some {@code ZOOM} events with {@code isInertia()} returning * {@code true} can come after {@code ZOOM_FINISHED}. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/layout/ColumnConstraints.java b/modules/javafx.graphics/src/main/java/javafx/scene/layout/ColumnConstraints.java index 78c7c903926..d63bb4c3f68 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/layout/ColumnConstraints.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/layout/ColumnConstraints.java @@ -109,13 +109,13 @@ public ColumnConstraints(double minWidth, double prefWidth, double maxWidth) { /** * Creates a column constraint object with a fixed size range, horizontal - * grow priority, horizonal alignment, and horizontal fill behavior. + * grow priority, horizontal alignment, and horizontal fill behavior. * * @param minWidth the minimum width * @param prefWidth the preferred width * @param maxWidth the maximum width * @param hgrow the horizontal grow priority - * @param halignment the horizonal alignment + * @param halignment the horizontal alignment * @param fillWidth the horizontal fill behavior */ public ColumnConstraints(double minWidth, double prefWidth, double maxWidth, Priority hgrow, HPos halignment, boolean fillWidth) { diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java b/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java index 80a62e8c818..e9126037d6c 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java @@ -421,7 +421,7 @@ private double getBaselineComplementForChild(Node child) { * If set, will override the gridpane's default horizontal alignment. * Setting the value to null will remove the constraint. * @param child the child node of a gridpane - * @param value the hozizontal alignment for the child + * @param value the horizontal alignment for the child */ public static void setHalignment(Node child, HPos value) { setConstraint(child, HALIGNMENT_CONSTRAINT, value); @@ -547,7 +547,7 @@ public static Boolean isFillHeight(Node child) { } /** - * Sets the column,row indeces for the child when contained in a gridpane. + * Sets the column,row indices for the child when contained in a gridpane. * @param child the child node of a gridpane * @param columnIndex the column index position for the child * @param rowIndex the row index position for the child diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java b/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java index a8e946f7812..65a8e576bef 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java @@ -472,7 +472,7 @@ public String getName() { /** * The preferred width of each tile. - * If equal to USE_COMPUTED_SIZE (the default) the tile width wlll be + * If equal to USE_COMPUTED_SIZE (the default) the tile width will be * automatically recomputed by the tilepane when the preferred size of children * changes to accommodate the widest child. If the application sets this property * to value greater than 0, then tiles will be set to that width and the tilepane @@ -513,7 +513,7 @@ public String getName() { /** * The preferred height of each tile. - * If equal to USE_COMPUTED_SIZE (the default) the tile height wlll be + * If equal to USE_COMPUTED_SIZE (the default) the tile height will be * automatically recomputed by the tilepane when the preferred size of children * changes to accommodate the tallest child. If the application sets this property * to value greater than 0, then tiles will be set to that height and the tilepane diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java b/modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java index 8533b7b8375..4790148ae76 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java @@ -63,7 +63,7 @@ * Color c = Color.rgb(0,0,255); //use 0->255 integers, implicit alpha of 1.0 * Color c = Color.rgb(0,0,255,1.0); //use 0->255 integers, explicit alpha of 1.0 * - * Color c = Color.hsb(270,1.0,1.0); //hue = 270, saturation & value = 1.0. inplicit alpha of 1.0 + * Color c = Color.hsb(270,1.0,1.0); //hue = 270, saturation & value = 1.0. implicit alpha of 1.0 * Color c = Color.hsb(270,1.0,1.0,1.0); //hue = 270, saturation & value = 1.0, explicit alpha of 1.0 * * Color c = Color.web("0x0000FF",1.0);// blue as a hex web value, explicit alpha diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java b/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java index 8226b121aee..e89fdec2999 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java @@ -376,9 +376,9 @@ Object acc_getPlatformPaint() { * <point> = [ [ <length> <length> ] | [ <percentage> | <percentage> ] ] * <color-stop> = [ <color> [ <percentage> | <length>]? ] * - *

      Currently length can be only specified in px, the specification of unit can be omited. + *

      Currently length can be only specified in px, the specification of unit can be omitted. * Format of color representation is the one used in {@link Color#web(String color)}. - * The linear-gradient keyword can be omited. + * The linear-gradient keyword can be omitted. * For additional information about the format of string representation, see the * CSS Reference Guide. *

      diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/paint/RadialGradient.java b/modules/javafx.graphics/src/main/java/javafx/scene/paint/RadialGradient.java index a4244aa561d..b715d84c8ea 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/paint/RadialGradient.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/paint/RadialGradient.java @@ -404,9 +404,9 @@ Object acc_getPlatformPaint() { * <point> = [ [ <length> <length> ] | [ <percentage> | <percentage> ] ] * <color-stop> = [ <color> [ <percentage> | <length>]? ] * - *

      Currently length can be only specified in px, the specification of unit can be omited. + *

      Currently length can be only specified in px, the specification of unit can be omitted. * Format of color representation is the one used in {@link Color#web(String color)}. - * The radial-gradient keyword can be omited. + * The radial-gradient keyword can be omitted. * For additional information about the format of string representation, see the * CSS Reference Guide. *

      diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/robot/Robot.java b/modules/javafx.graphics/src/main/java/javafx/scene/robot/Robot.java index 0967d473278..7a462712b56 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/robot/Robot.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/robot/Robot.java @@ -287,7 +287,7 @@ public Color getPixelColor(Point2D location) { * on the screen. For example, in HiDPI mode on the Mac (aka Retina display) the * pixels are doubled, and thus a screen capture of an area of size (10x10) pixels * will result in an {@code Image} with dimensions (20x20). Calling code should - * use the returned images's {@link Image#getWidth()} and {@link Image#getHeight()} + * use the returned image's {@link Image#getWidth()} and {@link Image#getHeight()} * methods to determine the actual image size. *

      * If {@code scaleToFit} is {@literal true}, the returned {@code Image} is of @@ -371,7 +371,7 @@ public WritableImage getScreenCapture(WritableImage image, Rectangle2D region) { * on the screen. For example, in HiDPI mode on the Mac (aka Retina display) the * pixels are doubled, and thus a screen capture of an area of size (10x10) pixels * will result in an {@code Image} with dimensions (20x20). Calling code should - * use the returned images's {@link Image#getWidth()} and {@link Image#getHeight()} + * use the returned image's {@link Image#getWidth()} and {@link Image#getHeight()} * methods to determine the actual image size. *

      * If {@code scaleToFit} is {@literal true}, the returned {@code Image} is of diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/shape/LineTo.java b/modules/javafx.graphics/src/main/java/javafx/scene/shape/LineTo.java index c64f669407a..e529f9ae670 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/shape/LineTo.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/shape/LineTo.java @@ -68,7 +68,7 @@ public LineTo() { } /** - * Creates a new isntance of LineTo. + * Creates a new instance of LineTo. * @param x the horizontal coordinate of the line end point * @param y the vertical coordinate of the line end point */ diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/transform/Transform.java b/modules/javafx.graphics/src/main/java/javafx/scene/transform/Transform.java index fc83e53a40a..f73ac0fa76f 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/transform/Transform.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/transform/Transform.java @@ -1446,7 +1446,7 @@ public void transform2DPoints(double[] srcPts, int srcOff, * The coordinates are stored in the arrays starting at the specified * offset in the order [x0, y0, z0, x1, y1, z1, ..., xn, yn, zn]. * @param srcPts the array containing the source point coordinates. - * Each point is stored as a tiplet of x, y, z coordinates. + * Each point is stored as a triplet of x, y, z coordinates. * @param srcOff the offset to the first point to be transformed * in the source array * @param dstPts the array into which the transformed point coordinates diff --git a/modules/javafx.graphics/src/main/java/javafx/stage/Window.java b/modules/javafx.graphics/src/main/java/javafx/stage/Window.java index b3cc8f5c9eb..8f1139e174a 100644 --- a/modules/javafx.graphics/src/main/java/javafx/stage/Window.java +++ b/modules/javafx.graphics/src/main/java/javafx/stage/Window.java @@ -351,7 +351,7 @@ private void adjustSize(boolean selfSizePriority) { /** * Sets x and y properties on this Window so that it is centered on the - * curent screen. + * current screen. * The current screen is determined from the intersection of current window bounds and * visual bounds of all screens. */ diff --git a/modules/javafx.media/src/main/java/javafx/scene/media/package-info.java b/modules/javafx.media/src/main/java/javafx/scene/media/package-info.java index a770afadf51..86aafccc435 100644 --- a/modules/javafx.media/src/main/java/javafx/scene/media/package-info.java +++ b/modules/javafx.media/src/main/java/javafx/scene/media/package-info.java @@ -224,7 +224,7 @@ * class documentation. Some things which should be noted are: *

        *
      • One Media object may be shared among multiple MediaPlayers. - *
      • One MediaPlayer may be shared amoung multiple MediaViews. + *
      • One MediaPlayer may be shared among multiple MediaViews. *
      • Media may be played directly by a MediaPlayer * without creating a MediaView although a view is required for display.
      • *
      • Instead of MediaPlayer.play(),