public abstract class ValueAxis<T extends Number> extends Axis<T>
Type | プロパティと説明 |
---|---|
DoubleProperty |
lowerBound
この軸の下部の境界の値(つまり最小値)。
|
IntegerProperty |
minorTickCount
各大目盛の間に表示する小目盛の数。
|
DoubleProperty |
minorTickLength
小目盛の線の長さ。
|
BooleanProperty |
minorTickVisible
小目盛を表示する場合はtrue
|
ReadOnlyDoubleProperty |
scale
データ単位から表示単位へのスケール係数
|
ObjectProperty<StringConverter<T>> |
tickLabelFormatter
目盛ラベルをフォーマットするために使用するStringConverter。
|
DoubleProperty |
upperBound
この軸の上部の境界の値(つまり最大値)。
|
animated、autoRanging、label、side、tickLabelFill、tickLabelFont、tickLabelGap、tickLabelRotation、tickLabelsVisible、tickLength、tickMarkVisible
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
Axis.TickMark<T>
修飾子と型 | フィールドと説明 |
---|---|
protected DoubleProperty |
currentLowerBound
この軸のlowerBoundの現在値(つまり最小値)。
|
USE_COMPUTED_SIZE、USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
コンストラクタと説明 |
---|
ValueAxis()
自動範囲指定ValueAxisを作成します。
|
ValueAxis(double lowerBound, double upperBound)
指定された上部および下部の境界を持つ、非自動範囲指定ValueAxisを作成します。
|
修飾子と型 | メソッドと説明 |
---|---|
protected Object |
autoRange(double length)
invalidateRange()メソッドに入力されたデータに基づいて、上部および下部の境界を計算します。
|
protected Object |
autoRange(double minValue, double maxValue, double length, double labelSize)
上部の境界、下部の境界、および自動範囲指定が必要なその他のすべてのものを設定するために呼び出されます。
|
protected abstract List<T> |
calculateMinorTickMarks()
各小目盛のデータ値のリストを計算します。
|
protected double |
calculateNewScale(double length, double lowerBound, double upperBound)
この軸の新しいスケールを計算します。
|
static List<CssMetaData<? extends Styleable,?>> |
getClassCssMetaData() |
List<CssMetaData<? extends Styleable,?>> |
getCssMetaData()
NodeのCssMetaDataがリフレクションなしでアクセス可能になるように、このメソッドは
Node.getClassCssMetaData() に委任する必要があります。 |
double |
getDisplayPosition(T value)
指定された値に対する、この軸沿いの表示位置を取得します。
|
double |
getLowerBound()
プロパティlowerBoundの値を取得します。
|
int |
getMinorTickCount()
プロパティminorTickCountの値を取得します。
|
double |
getMinorTickLength()
プロパティminorTickLengthの値を取得します。
|
double |
getScale()
プロパティscaleの値を取得します。
|
StringConverter<T> |
getTickLabelFormatter()
プロパティtickLabelFormatterの値を取得します。
|
double |
getUpperBound()
プロパティupperBoundの値を取得します。
|
T |
getValueForDisplay(double displayPosition)
この軸上の指定された表示位置のデータ値を取得します。
|
double |
getZeroPosition()
この軸沿いのゼロ行の表示位置を取得します。
|
void |
invalidateRange(List<T> data)
データが変更され、その範囲が有効でなくなった可能性がある場合に呼び出されます。
|
boolean |
isMinorTickVisible()
プロパティminorTickVisibleの値を取得します。
|
boolean |
isValueOnAxis(T value)
指定された値がこの軸上でプロット可能であるかどうかをチェックします。
|
protected void |
layoutChildren()
レイアウトの受渡し中に、この軸およびそのすべてのコンテンツをレイアウトするために起動されます。
|
DoubleProperty |
lowerBoundProperty()
この軸の下部の境界の値(つまり最小値)。
|
IntegerProperty |
minorTickCountProperty()
各大目盛の間に表示する小目盛の数。
|
DoubleProperty |
minorTickLengthProperty()
小目盛の線の長さ。
|
BooleanProperty |
minorTickVisibleProperty()
小目盛を表示する場合はtrue
|
ReadOnlyDoubleProperty |
scaleProperty()
データ単位から表示単位へのスケール係数
|
void |
setLowerBound(double value)
プロパティlowerBoundの値を設定します。
|
void |
setMinorTickCount(int value)
プロパティminorTickCountの値を設定します。
|
void |
setMinorTickLength(double value)
プロパティminorTickLengthの値を設定します。
|
void |
setMinorTickVisible(boolean value)
プロパティminorTickVisibleの値を設定します。
|
protected void |
setScale(double scale)
プロパティscaleの値を設定します。
|
void |
setTickLabelFormatter(StringConverter<T> value)
プロパティtickLabelFormatterの値を設定します。
|
void |
setUpperBound(double value)
プロパティupperBoundの値を設定します。
|
ObjectProperty<StringConverter<T>> |
tickLabelFormatterProperty()
目盛ラベルをフォーマットするために使用するStringConverter。
|
protected void |
tickMarksUpdated()
レイアウト中に目盛が更新されると呼び出され、対応のために必要なすべてのことをサブクラスが実行できるようにします。
|
double |
toNumericValue(T value)
軸のすべての値は、なんらかの数値で表現できる必要があります。
|
T |
toRealValue(double value)
軸のすべての値は、なんらかの数値で表現できる必要があります。
|
DoubleProperty |
upperBoundProperty()
この軸の上部の境界の値(つまり最大値)。
|
animatedProperty、autoRangingProperty、calculateTickValues、computePrefHeight、computePrefWidth、getAnimated、getLabel、getRange、getSide、getTickLabelFill、getTickLabelFont、getTickLabelGap、getTickLabelRotation、getTickLength、getTickMarkLabel、getTickMarks、invalidateRange、isAutoRanging、isRangeValid、isTickLabelsVisible、isTickMarkVisible、labelProperty、measureTickMarkLabelSize、measureTickMarkSize、measureTickMarkSize、requestAxisLayout、requestLayout、setAnimated、setAutoRanging、setLabel、setRange、setSide、setTickLabelFill、setTickLabelFont、setTickLabelGap、setTickLabelRotation、setTickLabelsVisible、setTickLength、setTickMarkVisible、shouldAnimate、sideProperty、tickLabelFillProperty、tickLabelFontProperty、tickLabelGapProperty、tickLabelRotationProperty、tickLabelsVisibleProperty、tickLengthProperty、tickMarkVisibleProperty
backgroundProperty、borderProperty、cacheShapeProperty、centerShapeProperty、computeMaxHeight、computeMaxWidth、computeMinHeight、computeMinWidth、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、widthProperty
getBaselineOffset、getChildren、getChildrenUnmodifiable、getManagedChildren、getStylesheets、isNeedsLayout、layout、lookup、needsLayoutProperty、queryAccessibleAttribute、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、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、visibleProperty
public final BooleanProperty minorTickVisibleProperty
public final ReadOnlyDoubleProperty scaleProperty
getScale()
、setScale(double)
public final DoubleProperty upperBoundProperty
public final DoubleProperty lowerBoundProperty
public final ObjectProperty<StringConverter<T extends Number>> tickLabelFormatterProperty
public final DoubleProperty minorTickLengthProperty
public final IntegerProperty minorTickCountProperty
protected final DoubleProperty currentLowerBound
public ValueAxis()
public ValueAxis(double lowerBound, double upperBound)
lowerBound
- この軸の下部の境界、つまりプロット可能な最小値upperBound
- この軸の上部の境界、つまりプロット可能な最大値public final boolean isMinorTickVisible()
public final void setMinorTickVisible(boolean value)
public final BooleanProperty minorTickVisibleProperty()
public final double getScale()
protected final void setScale(double scale)
public final ReadOnlyDoubleProperty scaleProperty()
getScale()
、setScale(double)
public final double getUpperBound()
public final void setUpperBound(double value)
public final DoubleProperty upperBoundProperty()
public final double getLowerBound()
public final void setLowerBound(double value)
public final DoubleProperty lowerBoundProperty()
public final StringConverter<T> getTickLabelFormatter()
public final void setTickLabelFormatter(StringConverter<T> value)
public final ObjectProperty<StringConverter<T>> tickLabelFormatterProperty()
public final double getMinorTickLength()
public final void setMinorTickLength(double value)
public final DoubleProperty minorTickLengthProperty()
public final int getMinorTickCount()
public final void setMinorTickCount(int value)
public final IntegerProperty minorTickCountProperty()
protected final Object autoRange(double length)
protected final double calculateNewScale(double length, double lowerBound, double upperBound)
length
- 軸の表示長さlowerBound
- 下部の境界値upperBound
- 上部の境界値protected Object autoRange(double minValue, double maxValue, double length, double labelSize)
minValue
- この軸でプロットする必要がある最小のデータ値maxValue
- この軸でプロットする必要がある最大のデータ値length
- 表示座標の軸の長さlabelSize
- 軸沿いのラベルが使用するおおよその平均サイズprotected abstract List<T> calculateMinorTickMarks()
protected void tickMarksUpdated()
tickMarksUpdated
、クラス: Axis<T extends Number>
protected void layoutChildren()
layoutChildren
、クラス: Axis<T extends Number>
public void invalidateRange(List<T> data)
invalidateRange
、クラス: Axis<T extends Number>
data
- この軸にプロットされる必要があるすべてのデータの現在のセットpublic double getDisplayPosition(T value)
getDisplayPosition
、クラス: Axis<T extends Number>
value
- 表示位置を算出するためのデータ値public T getValueForDisplay(double displayPosition)
getValueForDisplay
、クラス: Axis<T extends Number>
displayPosition
- この軸上のピクセル位置public double getZeroPosition()
getZeroPosition
、クラス: Axis<T extends Number>
public boolean isValueOnAxis(T value)
isValueOnAxis
、クラス: Axis<T extends Number>
value
- 軸上にあるかどうかをチェックする値public double toNumericValue(T value)
toNumericValue
、クラス: Axis<T extends Number>
value
- 変換するデータ値public T toRealValue(double value)
toRealValue
、クラス: Axis<T extends Number>
value
- 変換する数値public static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData()
public List<CssMetaData<? extends Styleable,?>> getCssMetaData()
Node.getClassCssMetaData()
に委任する必要があります。getCssMetaData
、インタフェース: Styleable
getCssMetaData
、クラス: Axis<T extends Number>
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.