- java.lang.Object
- 
- javafx.scene.Node
- 
- javafx.scene.Parent
- 
- javafx.scene.layout.Region
- 
- javafx.scene.control.Control
- 
- javafx.scene.control.ProgressIndicator
 
 
 
 
 
- 
- すべての実装されたインタフェース:
- Styleable,- EventTarget,- Skinnable
 - 直系の既知のサブクラス:
- ProgressBar
 
 
 public class ProgressIndicator extends Control 進行状況を無限(不確定)または有限として示す円形コントロール。 多くの場合、バックグラウンド・タスクの進捗を表すためにタスクAPIとともに使用されます。ProgressIndicatorは、focusTraversableをfalseに設定します。 この最初の例では、値が不確定のProgressIndicatorを作成します。 import javafx.scene.control.ProgressIndicator; ProgressIndicator p1 = new ProgressIndicator();この次の例では、25%完了しているProgressIndicatorを作成します。 
 JavaFX UIコントロールAPI仕様に従ったProgressIndicatorの実装import javafx.scene.control.ProgressIndicator; ProgressIndicator p2 = new ProgressIndicator(); p2.setProgress(0.25F);- 導入されたバージョン:
- JavaFX 2.0
 
- 
- 
プロパティのサマリープロパティ Type プロパティ 説明 ReadOnlyBooleanPropertyindeterminateProgressIndicatorの進捗を判別できるかどうかを示すフラグ。DoublePropertyprogressProgressIndicatorの実際の進捗。- 
クラス javafx.scene.control.Controlから継承されたプロパティcontextMenu、skin、tooltip
 - 
クラスjavafx.scene.Nodeから継承されたプロパティ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, viewOrder, visible
 - 
クラス javafx.scene.Parentから継承されたプロパティneedsLayout
 - 
クラス javafx.scene.layout.Regionから継承されたプロパティbackground、border、cacheShape、centerShape、height、insets、maxHeight、maxWidth、minHeight、minWidth、opaqueInsets、padding、prefHeight、prefWidth、scaleShape、shape、snapToPixel、width
 
- 
 - 
フィールドのサマリーフィールド 修飾子と型 フィールド 説明 static doubleINDETERMINATE_PROGRESS進捗が不確定であることを示す進捗の値。- 
クラスjavafx.scene.Nodeから継承されたフィールドBASELINE_OFFSET_SAME_AS_HEIGHT
 - 
クラス javafx.scene.layout.Regionから継承されたフィールドUSE_COMPUTED_SIZE、USE_PREF_SIZE
 
- 
 - 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 ProgressIndicator()新しい不確定なProgressIndicatorを作成します。ProgressIndicator(double progress)指定された進捗値で新しいProgressIndicatorを作成します。
 - 
メソッドのサマリーすべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 protected Skin<?>createDefaultSkin()このコントロールのデフォルト・スキンの新しいインスタンスを作成します。protected BooleangetInitialFocusTraversable()このコントロールの初期フォーカス・トラバーサブル状態を返します。これは、JavaFX CSSエンジンが初期値を正しく設定するために使用します。doublegetProgress()プロパティprogressの値を取得します。ReadOnlyBooleanPropertyindeterminateProperty()ProgressIndicatorの進捗を判別できるかどうかを示すフラグ。booleanisIndeterminate()プロパティindeterminateの値を取得します。DoublePropertyprogressProperty()ProgressIndicatorの実際の進捗。ObjectqueryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters)このメソッドは、属性の値をリクエストするためにアシスティブ・テクノロジによって呼び出されます。voidsetProgress(double value)プロパティprogressの値を設定します。- 
クラス javafx.scene.control.Controlから継承されたメソッドcomputeMaxHeight、computeMaxWidth、computeMinHeight、computeMinWidth、computePrefHeight、computePrefWidth、contextMenuProperty、executeAccessibleAction、getBaselineOffset、getClassCssMetaData、getContextMenu、getControlCssMetaData、getCssMetaData、getSkin、getTooltip、isResizable、layoutChildren、setContextMenu、setSkin、setTooltip、skinProperty、tooltipProperty
 - 
クラスjavafx.scene.Nodeから継承されたメソッド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, getInitialCursor, 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, getViewOrder, 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, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
 - 
クラス java.lang.Objectから継承されたメソッドclone、equals、finalize、getClass、hashCode、notify、notifyAll、wait、wait、wait
 - 
クラス javafx.scene.Parentから継承されたメソッドgetChildren、getChildrenUnmodifiable、getManagedChildren、getStylesheets、isNeedsLayout、layout、lookup、needsLayoutProperty、requestLayout、requestParentLayout、setNeedsLayout、updateBounds
 - 
クラス javafx.scene.layout.Regionから継承されたメソッド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, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
 - 
インタフェース javafx.css.Styleableから継承されたメソッドgetStyleableNode
 
- 
 
- 
- 
- 
プロパティの詳細- 
indeterminatepublic final ReadOnlyBooleanProperty indeterminateProperty ProgressIndicatorの進捗を判別できるかどうかを示すフラグ。 通常、不確定進捗バーは、無限の進行状況である可能性を示すなんらかの形式のアニメーションとともにレンダリングされます。- 関連項目:
- isIndeterminate()
 
 - 
progresspublic final DoubleProperty progressProperty ProgressIndicatorの実際の進捗。 進捗の負の値は、進捗が不確定であることを示します。 0から1の正の値は進行状況の割合を示し、0は0%、1は100%です。 1よりも大きい値はすべて100%として解釈されます。
 
- 
 - 
フィールドの詳細- 
INDETERMINATE_PROGRESSpublic static final double INDETERMINATE_PROGRESS 進捗が不確定であることを示す進捗の値。- 関連項目:
- setProgress(double)、定数フィールド値
 
 
- 
 - 
メソッドの詳細- 
isIndeterminatepublic final boolean isIndeterminate() プロパティindeterminateの値を取得します。- プロパティの説明:
- ProgressIndicatorの進捗を判別できるかどうかを示すフラグ。 通常、不確定進捗バーは、無限の進行状況である可能性を示すなんらかの形式のアニメーションとともにレンダリングされます。
 
 - 
indeterminatePropertypublic final ReadOnlyBooleanProperty indeterminateProperty() ProgressIndicatorの進捗を判別できるかどうかを示すフラグ。 通常、不確定進捗バーは、無限の進行状況である可能性を示すなんらかの形式のアニメーションとともにレンダリングされます。- 関連項目:
- isIndeterminate()
 
 - 
setProgresspublic final void setProgress(double value) プロパティprogressの値を設定します。- プロパティの説明:
- ProgressIndicatorの実際の進捗。 進捗の負の値は、進捗が不確定であることを示します。 0から1の正の値は進行状況の割合を示し、0は0%、1は100%です。 1よりも大きい値はすべて100%として解釈されます。
 
 - 
getProgresspublic final double getProgress() プロパティprogressの値を取得します。- プロパティの説明:
- ProgressIndicatorの実際の進捗。 進捗の負の値は、進捗が不確定であることを示します。 0から1の正の値は進行状況の割合を示し、0は0%、1は100%です。 1よりも大きい値はすべて100%として解釈されます。
 
 - 
progressPropertypublic final DoubleProperty progressProperty() ProgressIndicatorの実際の進捗。 進捗の負の値は、進捗が不確定であることを示します。 0から1の正の値は進行状況の割合を示し、0は0%、1は100%です。 1よりも大きい値はすべて100%として解釈されます。
 - 
createDefaultSkinprotected Skin<?> createDefaultSkin() このコントロールのデフォルト・スキンの新しいインスタンスを作成します。 これは、CSS-fx-skinを介してスキンが提供されていない場合にコントロール用のスキンを作成するために、またはsetSkin(...)を使用してサブクラスで明示的に設定するために呼び出されます。- オーバーライド:
- createDefaultSkin、クラス:- Control
- 戻り値:
- このコントロールのデフォルト・スキンの新しいインスタンス。 nullの場合、コントロールにはスキンがありません(Cssで提供されている場合を除く)。
 
 - 
getInitialFocusTraversableprotected Boolean getInitialFocusTraversable() このコントロールの初期フォーカス・トラバーサブル状態を返します。これは、JavaFX CSSエンジンが初期値を正しく設定するために使用します。 このメソッドはオーバーライドされます。既定のUIコントロールでは、フォーカス・トラバーサルがtrueに設定されていますが、このコントロールには適切ではありません。- オーバーライド:
- クラスControlのgetInitialFocusTraversable
- 戻り値:
- このコントロールの最初のフォーカス・トラバーサル状態
- 導入されたバージョン:
- 9
 
 - 
queryAccessibleAttributepublic Object queryAccessibleAttribute(AccessibleAttribute attribute, Object... parameters) このメソッドは、属性の値をリクエストするためにアシスティブ・テクノロジによって呼び出されます。このメソッドは一般に、特定の役割に必要な属性を実装するためにサブクラスによってオーバーライドされます。 
 特定の属性が処理されない場合は、スーパークラスの実装を呼び出す必要があります。- オーバーライド:
- queryAccessibleAttribute、クラス:- Control
- パラメータ:
- attribute- リクエストされた属性
- parameters- オプションのパラメータ・リスト
- 戻り値:
- リクエストされた属性の値
- 関連項目:
- AccessibleAttribute
 
 
- 
 
-