public abstract class Chart extends Region
| Type | プロパティと説明 |
|---|---|
BooleanProperty |
animated
trueの場合、データの変更がアニメーション化されます。
|
protected ObjectProperty<Node> |
legend
凡例として表示するノード。
|
ObjectProperty<Side> |
legendSide
チャートの、凡例を表示する側
|
BooleanProperty |
legendVisible
trueに設定すると、チャートの凡例はチャートの実装でサポートされている場合に表示されます。
|
StringProperty |
title
チャート・タイトル
|
ObjectProperty<Side> |
titleSide
チャートの、タイトルを表示する側
|
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthneedsLayoutaccessibleHelp, 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, visibleUSE_COMPUTED_SIZE, USE_PREF_SIZEBASELINE_OFFSET_SAME_AS_HEIGHT| コンストラクタと説明 |
|---|
Chart()
新しいデフォルトのChartインスタンスを作成します。
|
| 修飾子と型 | メソッドと説明 |
|---|---|
protected void |
animate(Animation animation)
特定のアニメーションをそのアニメーションの各フレームで再生します。アニメーションが終了するまでチャートがリレー出力されます。
|
BooleanProperty |
animatedProperty()
trueの場合、データの変更がアニメーション化されます。
|
protected double |
computeMinHeight(double width)
チャートのサイズ指定は外側から行います。つまり、チャートのスペースの大きさをユーザーが指定し、チャートはその中に描画します。
|
protected double |
computeMinWidth(double height)
チャートのサイズ指定は外側から行います。つまり、チャートのスペースの大きさをユーザーが指定し、チャートはその中に描画します。
|
protected double |
computePrefHeight(double width)
チャートのサイズ指定は外側から行います。つまり、チャートのスペースの大きさをユーザーが指定し、チャートはその中に描画します。
|
protected double |
computePrefWidth(double height)
チャートのサイズ指定は外側から行います。つまり、チャートのスペースの大きさをユーザーが指定し、チャートはその中に描画します。
|
boolean |
getAnimated()
データの変更がアニメーション化されるかどうかを示します。
|
protected ObservableList<Node> |
getChartChildren()
チャートのすべてのコンテンツの変更可能かつ監視可能なリスト。
|
static List<CssMetaData<? extends Styleable,?>> |
getClassCssMetaData() |
List<CssMetaData<? extends Styleable,?>> |
getCssMetaData()
NodeのCssMetaDataがリフレクションなしでアクセス可能になるように、このメソッドは
Node.getClassCssMetaData()に委任する必要があります。 |
protected Node |
getLegend()
プロパティlegendの値を取得します。
|
Side |
getLegendSide()
プロパティlegendSideの値を取得します。
|
String |
getTitle()
プロパティtitleの値を取得します。
|
Side |
getTitleSide()
プロパティtitleSideの値を取得します。
|
boolean |
isLegendVisible()
プロパティlegendVisibleの値を取得します。
|
protected abstract void |
layoutChartChildren(double top, double left, double width, double height)
getChartChildren()で使用可能なチャートの子を更新およびレイアウトするために呼び出されます。
|
protected void |
layoutChildren()
レイアウトの受渡し中に起動され、このチャートおよびそのすべてのコンテンツをレイアウトします。
|
protected ObjectProperty<Node> |
legendProperty()
凡例として表示するノード。
|
ObjectProperty<Side> |
legendSideProperty()
チャートの、凡例を表示する側
|
BooleanProperty |
legendVisibleProperty()
trueに設定すると、チャートの凡例はチャートの実装でサポートされている場合に表示されます。
|
protected void |
requestChartLayout()
チャートのレイアウトが必要となるなんらかの変更が行われたことを認識した場合に呼び出します。
|
void |
setAnimated(boolean value)
プロパティanimatedの値を設定します。
|
protected void |
setLegend(Node value)
プロパティlegendの値を設定します。
|
void |
setLegendSide(Side value)
プロパティlegendSideの値を設定します。
|
void |
setLegendVisible(boolean value)
プロパティlegendVisibleの値を設定します。
|
void |
setTitle(String value)
プロパティtitleの値を設定します。
|
void |
setTitleSide(Side value)
プロパティtitleSideの値を設定します。
|
protected boolean |
shouldAnimate()
指定されたアニメーションを実行する必要があるかどうかをチェックするために使用されます。
|
StringProperty |
titleProperty()
チャート・タイトル
|
ObjectProperty<Side> |
titleSideProperty()
チャートの、タイトルを表示する側
|
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, snapSize, snapSpace, snapToPixelProperty, widthPropertygetBaselineOffset, getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsaccessibleHelpProperty, 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, 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, visiblePropertypublic final StringProperty titleProperty
getTitle()、setTitle(String)public final ObjectProperty<Side> titleSideProperty
protected final ObjectProperty<Node> legendProperty
getLegend()、setLegend(Node)public final BooleanProperty legendVisibleProperty
public final ObjectProperty<Side> legendSideProperty
getLegendSide()、setLegendSide(Side)public final BooleanProperty animatedProperty
public final String getTitle()
public final void setTitle(String value)
public final StringProperty titleProperty()
getTitle()、setTitle(String)public final Side getTitleSide()
public final void setTitleSide(Side value)
public final ObjectProperty<Side> titleSideProperty()
protected final Node getLegend()
protected final void setLegend(Node value)
protected final ObjectProperty<Node> legendProperty()
getLegend()、setLegend(Node)public final boolean isLegendVisible()
public final void setLegendVisible(boolean value)
public final BooleanProperty legendVisibleProperty()
public final Side getLegendSide()
public final void setLegendSide(Side value)
public final ObjectProperty<Side> legendSideProperty()
getLegendSide()、setLegendSide(Side)public final boolean getAnimated()
public final void setAnimated(boolean value)
public final BooleanProperty animatedProperty()
protected ObservableList<Node> getChartChildren()
protected void animate(Animation animation)
animation - 再生するアニメーションprotected void requestChartLayout()
protected final boolean shouldAnimate()
protected abstract void layoutChartChildren(double top,
double left,
double width,
double height)
top - チャート・コンテンツ上の余白に対応するための、原点からの上部のオフセットleft - チャート・コンテンツ上の余白に対応するための、原点からの左側のオフセットwidth - チャートを内部にレイアウトする領域の幅height - チャートを内部にレイアウトする領域の高さprotected void layoutChildren()
layoutChildren、クラスParentprotected double computeMinHeight(double width)
computeMinHeight、クラスRegionwidth - 最小高が幅に依存する場合に使用する必要がある幅protected double computeMinWidth(double height)
computeMinWidth、クラスRegionheight - 最小幅が高さに依存する場合に使用する必要がある高さprotected double computePrefWidth(double height)
computePrefWidth、クラスRegionheight - 推奨される幅がそれに依存する場合に使用する必要がある高さprotected double computePrefHeight(double width)
computePrefHeight、クラスRegionwidth - 推奨される高さがそれに依存する場合に使用する必要がある幅public static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData()
public List<CssMetaData<? extends Styleable,?>> getCssMetaData()
Node.getClassCssMetaData()に委任する必要があります。getCssMetaData、インタフェースStyleablegetCssMetaData、クラスRegionCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.