- java.lang.Object
-
- javafx.scene.Node
-
- javafx.scene.Parent
-
- javafx.scene.layout.Region
-
- javafx.scene.chart.Chart
-
- javafx.scene.chart.XYChart<X,Y>
-
- javafx.scene.chart.BubbleChart<X,Y>
-
- すべての実装されたインタフェース:
Styleable
,EventTarget
public class BubbleChart<X,Y> extends XYChart<X,Y>
系列のデータ・ポイントのバブルをプロットするチャート・タイプ。 データの追加の値プロパティを使用して、java.lang.Numberである必要があるバブルの半径を表します。- 導入されたバージョン:
- JavaFX 2.0
-
-
プロパティのサマリー
-
クラス javafx.scene.chart.Chartから継承されたプロパティ
animated、legend、legendSide、legendVisible、title、titleSide
-
クラス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
-
クラス javafx.scene.chart.XYChartから継承されたプロパティ
alternativeColumnFillVisible、alternativeRowFillVisible、data、horizontalGridLinesVisible、horizontalZeroLineVisible、verticalGridLinesVisible、verticalZeroLineVisible
-
-
ネストされたクラスのサマリー
-
クラス javafx.scene.chart.XYChartから継承されたネストされたクラス/インタフェース
XYChart.Data<X,Y>、XYChart.Series<X,Y>
-
-
フィールドのサマリー
-
クラスjavafx.scene.Nodeから継承されたフィールド
BASELINE_OFFSET_SAME_AS_HEIGHT
-
クラス javafx.scene.layout.Regionから継承されたフィールド
USE_COMPUTED_SIZE、USE_PREF_SIZE
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 BubbleChart(Axis<X> xAxis, Axis<Y> yAxis)
所定の軸を持つ新しいBubbleChartを構築します。BubbleChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)
指定された軸とデータを使用した新しいBubbleChartを構築します。
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 protected void
dataItemAdded(XYChart.Series<X,Y> series, int itemIndex, XYChart.Data<X,Y> item)
データ・アイテムが系列に追加されたときに呼び出されます。protected void
dataItemChanged(XYChart.Data<X,Y> item)
データ・アイテムが変更されたとき、つまり、そのxValue、yValueまたはextraValueが変更されたときに呼び出されます。protected void
dataItemRemoved(XYChart.Data<X,Y> item, XYChart.Series<X,Y> series)
データ・アイテムがデータ・モデルから削除されたが、チャートで引き続き表示可能な場合に呼び出されます。protected void
layoutPlotChildren()
プロットの子を更新およびレイアウトするために呼び出されます。protected void
seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)
系列がチャート・データ・モデルに追加されました。protected void
seriesRemoved(XYChart.Series<X,Y> series)
系列はデータ・モデルから削除されましたが、引き続きチャートで表示可能です。protected void
updateAxisRange()
範囲が無効化され、その範囲を更新する必要がある場合に呼び出されます。-
クラス javafx.scene.chart.Chartから継承されたメソッド
animate、animatedProperty、computeMinHeight、computeMinWidth、computePrefHeight、computePrefWidth、getAnimated、getChartChildren、getLegend、getLegendSide、getTitle、getTitleSide、isLegendVisible、layoutChildren、legendProperty、legendSideProperty、legendVisibleProperty、requestChartLayout、setAnimated、setLegend、setLegendSide、setLegendVisible、setTitle、setTitleSide、shouldAnimate、titleProperty、titleSideProperty
-
クラス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, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, 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から継承されたメソッド
getBaselineOffset、getChildren、getChildrenUnmodifiable、getManagedChildren、getStylesheets、isNeedsLayout、layout、lookup、needsLayoutProperty、queryAccessibleAttribute、requestLayout、requestParentLayout、setNeedsLayout、updateBounds
-
クラス javafx.scene.layout.Regionから継承されたメソッド
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, computeMaxHeight, computeMaxWidth, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getUserAgentStylesheet, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isResizable, 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
-
クラス javafx.scene.chart.XYChartから継承されたメソッド
alternativeColumnFillVisibleProperty, alternativeRowFillVisibleProperty, currentDisplayedExtraValueProperty, currentDisplayedXValueProperty, currentDisplayedYValueProperty, dataProperty, getClassCssMetaData, getCssMetaData, getCurrentDisplayedExtraValue, getCurrentDisplayedXValue, getCurrentDisplayedYValue, getData, getDisplayedDataIterator, getDisplayedSeriesIterator, getPlotChildren, getVerticalGridLinesVisible, getXAxis, getYAxis, horizontalGridLinesVisibleProperty, horizontalZeroLineVisibleProperty, isAlternativeColumnFillVisible, isAlternativeRowFillVisible, isHorizontalGridLinesVisible, isHorizontalZeroLineVisible, isVerticalZeroLineVisible, layoutChartChildren, removeDataItemFromDisplay, removeSeriesFromDisplay, seriesChanged, setAlternativeColumnFillVisible, setAlternativeRowFillVisible, setCurrentDisplayedExtraValue, setCurrentDisplayedXValue, setCurrentDisplayedYValue, setData, setHorizontalGridLinesVisible, setHorizontalZeroLineVisible, setVerticalGridLinesVisible, setVerticalZeroLineVisible, updateLegend, verticalGridLinesVisibleProperty, verticalZeroLineVisibleProperty
-
-
-
-
コンストラクタの詳細
-
BubbleChart
public BubbleChart(Axis<X> xAxis, Axis<Y> yAxis)
所定の軸を持つ新しいBubbleChartを構築します。 BubbleChartでは、カテゴリ軸を使用しません。 X軸とY軸の両方が、型NumberAxisである必要があります。- パラメータ:
xAxis
- 使用するX軸yAxis
- 使用するY軸
-
BubbleChart
public BubbleChart(Axis<X> xAxis, Axis<Y> yAxis, ObservableList<XYChart.Series<X,Y>> data)
指定された軸とデータを使用した新しいBubbleChartを構築します。 BubbleChartでは、カテゴリ軸を使用しません。 X軸とY軸の両方が、型NumberAxisである必要があります。- パラメータ:
xAxis
- 使用するX軸yAxis
- 使用するY軸data
- 使用するデータ(使用される実際のリストであるため、変更が加えられるとチャートに反映されます)
-
-
メソッドの詳細
-
layoutPlotChildren
protected void layoutPlotChildren()
プロットの子を更新およびレイアウトするために呼び出されます。 軸やグリッド線などの最上部のプロットを表すノードを更新するためにすべての作業が含まれる必要があります。原点はプロット面の左上で、プロット面を取得するには、X軸の幅と、Y軸の高さからのX軸の高さを取得します。- 定義:
layoutPlotChildren
、クラス:XYChart<X,Y>
-
dataItemAdded
protected void dataItemAdded(XYChart.Series<X,Y> series, int itemIndex, XYChart.Data<X,Y> item)
次のクラスからコピーされた説明:XYChart
データ・アイテムが系列に追加されたときに呼び出されます。 XYChartの実装では、ここで、このデータ・アイテムを表すgetPlotChildrenに対して新しいノードを作成または追加できます。 animated = trueの場合、フェードインや同様の効果を追加してそのデータをアニメーション化することもできます。- 定義:
dataItemAdded
、クラス:XYChart<X,Y>
- パラメータ:
series
- データ・アイテムが追加された系列itemIndex
- 系列内の新しいアイテムのインデックスitem
- 追加された新しいデータ・アイテム
-
dataItemRemoved
protected void dataItemRemoved(XYChart.Data<X,Y> item, XYChart.Series<X,Y> series)
次のクラスからコピーされた説明:XYChart
データ・アイテムがデータ・モデルから削除されたが、チャートで引き続き表示可能な場合に呼び出されます。 引き続き表示可能であるため、このメソッドでアニメーションの削除を処理できます。 データ・アイテムのアニメーション化を完了してから、removeDataItemFromDisplay()を呼び出して、チャートで表示されないようにアイテム・ノードを削除する必要があります。- 定義:
dataItemRemoved
、クラス:XYChart<X,Y>
- パラメータ:
item
- 系列から削除されたアイテムseries
- アイテムが削除された系列
-
dataItemChanged
protected void dataItemChanged(XYChart.Data<X,Y> item)
データ・アイテムが変更されたとき、つまり、そのxValue、yValueまたはextraValueが変更されたときに呼び出されます。- 定義:
dataItemChanged
、クラス:XYChart<X,Y>
- パラメータ:
item
- 変更されたデータ・アイテム
-
seriesAdded
protected void seriesAdded(XYChart.Series<X,Y> series, int seriesIndex)
次のクラスからコピーされた説明:XYChart
系列がチャート・データ・モデルに追加されました。 XYChartの実装では、ここで、この系列を表すgetPlotChildrenに対して新しいノードを作成または追加できます。 また、系列にすでに存在するデータ・アイテムの追加を処理することも必要となります。 それぞれに対してdataItemAdded()を単に呼び出すか、または追加される系列全体に様々なアニメーションを提供できます。- 定義:
seriesAdded
、クラス:XYChart<X,Y>
- パラメータ:
series
- 追加された系列seriesIndex
- 新しい系列のインデックス
-
seriesRemoved
protected void seriesRemoved(XYChart.Series<X,Y> series)
次のクラスからコピーされた説明:XYChart
系列はデータ・モデルから削除されましたが、引き続きチャートで表示可能です。 引き続き表示可能であるため、このメソッドでアニメーションの削除を処理できます。 データ・アイテムのアニメーション化を完了してから、removeSeriesFromDisplay()を呼び出して、系列を表示リストから削除する必要があります。- 定義:
seriesRemoved
、クラス:XYChart<X,Y>
- パラメータ:
series
- 削除された系列
-
updateAxisRange
protected void updateAxisRange()
範囲が無効化され、その範囲を更新する必要がある場合に呼び出されます。 軸が自動範囲指定である場合は、指定された軸によってプロットされる必要があるすべてのデータのリストをコンパイルし、invalidateRange()を軸で呼び出してデータを渡します。- オーバーライド:
updateAxisRange
、クラス:XYChart<X,Y>
-
-