@DefaultProperty(value="text") public abstract class TextInputControl extends Control
Type | Property and Description |
---|---|
ReadOnlyIntegerProperty |
anchor
The
anchor of the text selection. |
ReadOnlyIntegerProperty |
caretPosition
The current position of the caret within the text.
|
BooleanProperty |
editable
Indicates whether this TextInputControl can be edited by the user.
|
ObjectProperty<Font> |
font
The default font to use for text in the TextInputControl.
|
ReadOnlyIntegerProperty |
length
The number of characters in the text input.
|
StringProperty |
promptText
The prompt text to display in the
TextInputControl , or
null if no prompt text is displayed. |
ReadOnlyBooleanProperty |
redoable
The property describes if it's currently possible to redo the latest change of the content that was undone.
|
ReadOnlyStringProperty |
selectedText
Defines the characters in the TextInputControl which are selected
|
ReadOnlyObjectProperty<IndexRange> |
selection
The current selection.
|
ObjectProperty<TextFormatter<?>> |
textFormatter
The property contains currently attached
TextFormatter . |
StringProperty |
text
The textual content of this TextInputControl.
|
ReadOnlyBooleanProperty |
undoable
The property describes if it's currently possible to undo the latest change of the content that was done.
|
contextMenu, skin, tooltip
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width
needsLayout
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, visible
Modifier and Type | Class and Description |
---|---|
protected static interface |
TextInputControl.Content
Interface representing a text input's content.
|
USE_COMPUTED_SIZE, USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
Modifier | Constructor and Description |
---|---|
protected |
TextInputControl(TextInputControl.Content content)
Creates a new TextInputControl.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyIntegerProperty |
anchorProperty()
The
anchor of the text selection. |
void |
appendText(String text)
Appends a sequence of characters to the content.
|
void |
backward()
Moves the caret position backward.
|
void |
cancelEdit()
If the field is currently being edited, this call will set text to the last commited value.
|
ReadOnlyIntegerProperty |
caretPositionProperty()
The current position of the caret within the text.
|
void |
clear()
Clears the text.
|
void |
commitValue()
Commit the current text and convert it to a value.
|
void |
copy()
Transfers the currently selected range in the text to the clipboard,
leaving the current selection.
|
void |
cut()
Transfers the currently selected range in the text to the clipboard,
removing the current selection.
|
boolean |
deleteNextChar()
Deletes the character that follows the current caret position from the
text if there is no selection, or deletes the selection if there is one.
|
boolean |
deletePreviousChar()
Deletes the character that precedes the current caret position from the
text if there is no selection, or deletes the selection if there is one.
|
void |
deleteText(IndexRange range)
Removes a range of characters from the content.
|
void |
deleteText(int start,
int end)
Removes a range of characters from the content.
|
void |
deselect()
Clears the selection.
|
BooleanProperty |
editableProperty()
Indicates whether this TextInputControl can be edited by the user.
|
void |
end()
Moves the caret to after the last char of the text.
|
void |
endOfNextWord()
Moves the caret to the end of the next word.
|
void |
executeAccessibleAction(AccessibleAction action,
Object... parameters)
This method is called by the assistive technology to request the action
indicated by the argument should be executed.
|
void |
extendSelection(int pos)
This function will extend the selection to include the specified pos.
|
ObjectProperty<Font> |
fontProperty()
The default font to use for text in the TextInputControl.
|
void |
forward()
Moves the caret position forward.
|
int |
getAnchor()
Gets the value of the property anchor.
|
int |
getCaretPosition()
Gets the value of the property caretPosition.
|
static List<CssMetaData<? extends Styleable,?>> |
getClassCssMetaData() |
protected TextInputControl.Content |
getContent()
Returns the text input's content model.
|
List<CssMetaData<? extends Styleable,?>> |
getControlCssMetaData() |
Font |
getFont()
Gets the value of the property font.
|
int |
getLength()
Gets the value of the property length.
|
String |
getPromptText()
Gets the value of the property promptText.
|
String |
getSelectedText()
Gets the value of the property selectedText.
|
IndexRange |
getSelection()
Gets the value of the property selection.
|
String |
getText()
Gets the value of the property text.
|
String |
getText(int start,
int end)
Returns a subset of the text input's content.
|
TextFormatter<?> |
getTextFormatter()
Gets the value of the property textFormatter.
|
void |
home()
Moves the caret to before the first char of the text.
|
void |
insertText(int index,
String text)
Inserts a sequence of characters into the content.
|
boolean |
isEditable()
Gets the value of the property editable.
|
boolean |
isRedoable()
Gets the value of the property redoable.
|
boolean |
isUndoable()
Gets the value of the property undoable.
|
ReadOnlyIntegerProperty |
lengthProperty()
The number of characters in the text input.
|
void |
nextWord()
Moves the caret to the beginning of next word.
|
void |
paste()
Transfers the contents in the clipboard into this text,
replacing the current selection.
|
void |
positionCaret(int pos)
Positions the caret to the position indicated by
pos . |
void |
previousWord()
Moves the caret to the beginning of previous word.
|
StringProperty |
promptTextProperty()
The prompt text to display in the
TextInputControl , or
null if no prompt text is displayed. |
Object |
queryAccessibleAttribute(AccessibleAttribute attribute,
Object... parameters)
*
Accessibility handling *
*
|
void |
redo()
If possible, redoes the last undone modification.
|
ReadOnlyBooleanProperty |
redoableProperty()
The property describes if it's currently possible to redo the latest change of the content that was undone.
|
void |
replaceSelection(String replacement)
Replaces the selection with the given replacement String.
|
void |
replaceText(IndexRange range,
String text)
Replaces a range of characters with the given text.
|
void |
replaceText(int start,
int end,
String text)
Replaces a range of characters with the given text.
|
void |
selectAll()
Selects all text in the text input.
|
void |
selectBackward()
Moves the selection backward one char in the text.
|
ReadOnlyStringProperty |
selectedTextProperty()
Defines the characters in the TextInputControl which are selected
|
void |
selectEnd()
Moves the caret to after the last char of text.
|
void |
selectEndOfNextWord()
Moves the caret to the end of the next word.
|
void |
selectForward()
Moves the selection forward one char in the text.
|
void |
selectHome()
Moves the caret to before the first char of text.
|
ReadOnlyObjectProperty<IndexRange> |
selectionProperty()
The current selection.
|
void |
selectNextWord()
Moves the caret to the beginning of next word.
|
void |
selectPositionCaret(int pos)
Positions the caret to the position indicated by
pos and extends
the selection, if there is one. |
void |
selectPreviousWord()
Moves the caret to the beginning of previous word.
|
void |
selectRange(int anchor,
int caretPosition)
Positions the anchor and caretPosition explicitly.
|
void |
setEditable(boolean value)
Sets the value of the property editable.
|
void |
setFont(Font value)
Sets the value of the property font.
|
void |
setPromptText(String value)
Sets the value of the property promptText.
|
void |
setText(String value)
Sets the value of the property text.
|
void |
setTextFormatter(TextFormatter<?> value)
Sets the value of the property textFormatter.
|
ObjectProperty<TextFormatter<?>> |
textFormatterProperty()
The property contains currently attached
TextFormatter . |
StringProperty |
textProperty()
The textual content of this TextInputControl.
|
void |
undo()
If possible, undoes the last modification.
|
ReadOnlyBooleanProperty |
undoableProperty()
The property describes if it's currently possible to undo the latest change of the content that was done.
|
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, getBaselineOffset, getContextMenu, getCssMetaData, getSkin, getTooltip, isResizable, layoutChildren, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace, snapToPixelProperty, widthProperty
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, visibleProperty
public final ObjectProperty<Font> fontProperty
getFont()
,
setFont(Font)
public final StringProperty promptTextProperty
TextInputControl
, or
null if no prompt text is displayed.getPromptText()
,
setPromptText(String)
public final ObjectProperty<TextFormatter<?>> textFormatterProperty
TextFormatter
.
Since the value is part of the Formatter
, changing the TextFormatter will update the text based on the new textFormatter.getTextFormatter()
,
setTextFormatter(TextFormatter)
public final StringProperty textProperty
getText()
,
setText(String)
public final ReadOnlyIntegerProperty lengthProperty
getLength()
public final BooleanProperty editableProperty
isEditable()
,
setEditable(boolean)
public final ReadOnlyObjectProperty<IndexRange> selectionProperty
getSelection()
public final ReadOnlyStringProperty selectedTextProperty
getSelectedText()
public final ReadOnlyIntegerProperty anchorProperty
anchor
of the text selection.
The anchor
and caretPosition
make up the selection
range. Selection must always be specified in terms of begin <= end, but
anchor
may be less than, equal to, or greater than the
caretPosition
. Depending on how the user selects text,
the anchor might represent the lower or upper bound of the selection.getAnchor()
public final ReadOnlyIntegerProperty caretPositionProperty
anchor
and caretPosition
make up the selection
range. Selection must always be specified in terms of begin <= end, but
anchor
may be less than, equal to, or greater than the
caretPosition
. Depending on how the user selects text,
the caretPosition might represent the lower or upper bound of the selection.getCaretPosition()
public final ReadOnlyBooleanProperty undoableProperty
isUndoable()
public final ReadOnlyBooleanProperty redoableProperty
isRedoable()
protected TextInputControl(TextInputControl.Content content)
content
- a non-null implementation of Content.public final ObjectProperty<Font> fontProperty()
getFont()
,
setFont(Font)
public final void setFont(Font value)
public final Font getFont()
public final StringProperty promptTextProperty()
TextInputControl
, or
null if no prompt text is displayed.getPromptText()
,
setPromptText(String)
public final String getPromptText()
TextInputControl
, or
null if no prompt text is displayed.public final void setPromptText(String value)
TextInputControl
, or
null if no prompt text is displayed.public final ObjectProperty<TextFormatter<?>> textFormatterProperty()
TextFormatter
.
Since the value is part of the Formatter
, changing the TextFormatter will update the text based on the new textFormatter.getTextFormatter()
,
setTextFormatter(TextFormatter)
public final TextFormatter<?> getTextFormatter()
TextFormatter
.
Since the value is part of the Formatter
, changing the TextFormatter will update the text based on the new textFormatter.public final void setTextFormatter(TextFormatter<?> value)
TextFormatter
.
Since the value is part of the Formatter
, changing the TextFormatter will update the text based on the new textFormatter.protected final TextInputControl.Content getContent()
public final String getText()
public final void setText(String value)
public final StringProperty textProperty()
getText()
,
setText(String)
public final int getLength()
public final ReadOnlyIntegerProperty lengthProperty()
getLength()
public final boolean isEditable()
public final void setEditable(boolean value)
public final BooleanProperty editableProperty()
isEditable()
,
setEditable(boolean)
public final IndexRange getSelection()
public final ReadOnlyObjectProperty<IndexRange> selectionProperty()
getSelection()
public final String getSelectedText()
public final ReadOnlyStringProperty selectedTextProperty()
getSelectedText()
public final int getAnchor()
anchor
of the text selection.
The anchor
and caretPosition
make up the selection
range. Selection must always be specified in terms of begin <= end, but
anchor
may be less than, equal to, or greater than the
caretPosition
. Depending on how the user selects text,
the anchor might represent the lower or upper bound of the selection.public final ReadOnlyIntegerProperty anchorProperty()
anchor
of the text selection.
The anchor
and caretPosition
make up the selection
range. Selection must always be specified in terms of begin <= end, but
anchor
may be less than, equal to, or greater than the
caretPosition
. Depending on how the user selects text,
the anchor might represent the lower or upper bound of the selection.getAnchor()
public final int getCaretPosition()
anchor
and caretPosition
make up the selection
range. Selection must always be specified in terms of begin <= end, but
anchor
may be less than, equal to, or greater than the
caretPosition
. Depending on how the user selects text,
the caretPosition might represent the lower or upper bound of the selection.public final ReadOnlyIntegerProperty caretPositionProperty()
anchor
and caretPosition
make up the selection
range. Selection must always be specified in terms of begin <= end, but
anchor
may be less than, equal to, or greater than the
caretPosition
. Depending on how the user selects text,
the caretPosition might represent the lower or upper bound of the selection.getCaretPosition()
public final boolean isUndoable()
public final ReadOnlyBooleanProperty undoableProperty()
isUndoable()
public final boolean isRedoable()
public final ReadOnlyBooleanProperty redoableProperty()
isRedoable()
public String getText(int start, int end)
start
- must be a value between 0 and end - 1.end
- must be less than or equal to the lengthpublic void appendText(String text)
text
- a non null Stringpublic void insertText(int index, String text)
index
- The location to insert the text.text
- The text to insert.public void deleteText(IndexRange range)
range
- The range of text to delete. The range object must not be null.deleteText(int, int)
public void deleteText(int start, int end)
start
- The starting index in the range, inclusive. This must be >= 0 and < the end.end
- The ending index in the range, exclusive. This is one-past the last character to
delete (consistent with the String manipulation methods). This must be > the start,
and <= the length of the text.public void replaceText(IndexRange range, String text)
range
- The range of text to replace. The range object must not be null.text
- The text that is to replace the range. This must not be null.replaceText(int, int, String)
public void replaceText(int start, int end, String text)
start
- The starting index in the range, inclusive. This must be >= 0 and < the end.end
- The ending index in the range, exclusive. This is one-past the last character to
delete (consistent with the String manipulation methods). This must be > the start,
and <= the length of the text.text
- The text that is to replace the range. This must not be null.public void cut()
public void copy()
public void paste()
public void selectBackward()
public void selectForward()
public void previousWord()
public void nextWord()
public void endOfNextWord()
public void selectPreviousWord()
public void selectNextWord()
public void selectEndOfNextWord()
public void selectAll()
public void home()
public void end()
public void selectHome()
public void selectEnd()
public boolean deletePreviousChar()
public boolean deleteNextChar()
public void forward()
public void backward()
public void positionCaret(int pos)
pos
. This
function will also clear the selection.public void selectPositionCaret(int pos)
pos
and extends
the selection, if there is one. If there is no selection, then a
selection is formed where the anchor is at the current caret position
and the caretPosition is moved to pos.public void selectRange(int anchor, int caretPosition)
public void extendSelection(int pos)
public void clear()
public void deselect()
public void replaceSelection(String replacement)
public final void undo()
isUndoable()
returns
false, then calling this method has no effect.public final void redo()
isRedoable()
returns
false, then calling this method has no effect.public final void commitValue()
public final void cancelEdit()
public static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData()
public List<CssMetaData<? extends Styleable,?>> getControlCssMetaData()
getControlCssMetaData
in class Control
public Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)
queryAccessibleAttribute
in class Control
attribute
- the requested attributeparameters
- optional list of parametersAccessibleAttribute
public void executeAccessibleAction(AccessibleAction action, Object... parameters)
Node
This method is commonly overridden by subclasses to implement
action that are required for a specific role.
If a particular action is not handled, the super class implementation
must be called.
executeAccessibleAction
in class Control
action
- the action to executeparameters
- optional list of parametersAccessibleAction
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.