public final class CategoryAxis extends Axis<String>
Type | プロパティと説明 |
---|---|
ReadOnlyDoubleProperty |
categorySpacing
これは、この軸の1つのカテゴリと次のカテゴリの間の間隔です
|
DoubleProperty |
endMargin
最後の目盛と軸の終了点の間の余白
|
BooleanProperty |
gapStartAndEnd
これがtrueの場合は、目盛の間の半分のスペースが開始点と終了点に残されます
|
DoubleProperty |
startMargin
軸の開始点と最初の目盛の間の余白
|
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>
USE_COMPUTED_SIZE、USE_PREF_SIZE
BASELINE_OFFSET_SAME_AS_HEIGHT
コンストラクタと説明 |
---|
CategoryAxis()
カテゴリの空のリストを使用して自動範囲指定カテゴリ軸を作成します。
|
CategoryAxis(ObservableList<String> categories)
指定されたカテゴリを使用してカテゴリ軸を作成します。
|
修飾子と型 | メソッドと説明 |
---|---|
protected Object |
autoRange(double length)
invalidateRange()メソッドに入力されたデータに基づいてカテゴリを計算します。
|
protected List<String> |
calculateTickValues(double length, Object range)
範囲内の各目盛に対するすべてのデータ値のリストを計算します。
|
ReadOnlyDoubleProperty |
categorySpacingProperty()
これは、この軸の1つのカテゴリと次のカテゴリの間の間隔です
|
DoubleProperty |
endMarginProperty()
最後の目盛と軸の終了点の間の余白
|
BooleanProperty |
gapStartAndEndProperty()
これがtrueの場合は、目盛の間の半分のスペースが開始点と終了点に残されます
|
ObservableList<String> |
getCategories()
この軸上にプロットされたカテゴリの
ObservableList を返します。 |
double |
getCategorySpacing()
プロパティcategorySpacingの値を取得します。
|
static List<CssMetaData<? extends Styleable,?>> |
getClassCssMetaData() |
List<CssMetaData<? extends Styleable,?>> |
getCssMetaData()
NodeのCssMetaDataがリフレクションなしでアクセス可能になるように、このメソッドは
Node.getClassCssMetaData() に委任する必要があります。 |
double |
getDisplayPosition(String value)
指定された値に対する、この軸沿いの表示位置を取得します。
|
double |
getEndMargin()
プロパティendMarginの値を取得します。
|
protected Object |
getRange()
現在の軸の範囲を取得するために呼び出されます。
|
double |
getStartMargin()
プロパティstartMarginの値を取得します。
|
protected String |
getTickMarkLabel(String value)
指定された値の目盛の文字列ラベル名を取得します。
|
String |
getValueForDisplay(double displayPosition)
この軸上の指定された表示位置のデータ値を取得します。
|
double |
getZeroPosition()
この軸沿いのゼロ行の表示位置を取得します。
|
void |
invalidateRange(List<String> data)
データが変更され、その範囲が有効でなくなった可能性がある場合に呼び出されます。
|
boolean |
isGapStartAndEnd()
プロパティgapStartAndEndの値を取得します。
|
boolean |
isValueOnAxis(String value)
指定された値がこの軸上でプロット可能であるかどうかをチェックします。
|
protected Dimension2D |
measureTickMarkSize(String value, Object range)
特定の目盛値のラベルのサイズを測定します。
|
void |
setCategories(ObservableList<String> value)
この軸上にプロットされたカテゴリの順序付けられたリスト。
|
void |
setEndMargin(double value)
プロパティendMarginの値を設定します。
|
void |
setGapStartAndEnd(boolean value)
プロパティgapStartAndEndの値を設定します。
|
protected void |
setRange(Object range, boolean animate)
現在の軸の範囲を指定された範囲に設定するために呼び出されます。
|
void |
setStartMargin(double value)
プロパティstartMarginの値を設定します。
|
DoubleProperty |
startMarginProperty()
軸の開始点と最初の目盛の間の余白
|
double |
toNumericValue(String value)
軸のすべての値は、なんらかの数値で表現できる必要があります。
|
String |
toRealValue(double value)
軸のすべての値は、なんらかの数値で表現できる必要があります。
|
animatedProperty、autoRangingProperty、computePrefHeight、computePrefWidth、getAnimated、getLabel、getSide、getTickLabelFill、getTickLabelFont、getTickLabelGap、getTickLabelRotation、getTickLength、getTickMarks、invalidateRange、isAutoRanging、isRangeValid、isTickLabelsVisible、isTickMarkVisible、labelProperty、layoutChildren、measureTickMarkLabelSize、measureTickMarkSize、requestAxisLayout、requestLayout、setAnimated、setAutoRanging、setLabel、setSide、setTickLabelFill、setTickLabelFont、setTickLabelGap、setTickLabelRotation、setTickLabelsVisible、setTickLength、setTickMarkVisible、shouldAnimate、sideProperty、tickLabelFillProperty、tickLabelFontProperty、tickLabelGapProperty、tickLabelRotationProperty、tickLabelsVisibleProperty、tickLengthProperty、tickMarksUpdated、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 DoubleProperty startMarginProperty
public final DoubleProperty endMarginProperty
public final BooleanProperty gapStartAndEndProperty
public final ReadOnlyDoubleProperty categorySpacingProperty
getCategorySpacing()
public CategoryAxis()
public CategoryAxis(ObservableList<String> categories)
categories
- この軸のカテゴリのリストpublic final double getStartMargin()
public final void setStartMargin(double value)
public final DoubleProperty startMarginProperty()
public final double getEndMargin()
public final void setEndMargin(double value)
public final DoubleProperty endMarginProperty()
public final boolean isGapStartAndEnd()
public final void setGapStartAndEnd(boolean value)
public final BooleanProperty gapStartAndEndProperty()
public final void setCategories(ObservableList<String> value)
IllegalArgumentException
がスローされます。public final ObservableList<String> getCategories()
ObservableList
を返します。categories
public final double getCategorySpacing()
public final ReadOnlyDoubleProperty categorySpacingProperty()
getCategorySpacing()
protected Object getRange()
protected void setRange(Object range, boolean animate)
protected Object autoRange(double length)
protected List<String> calculateTickValues(double length, Object range)
calculateTickValues
、クラス: Axis<String>
length
- 表示単位の軸の長さrange
- autoRange()から返された範囲オブジェクトprotected String getTickMarkLabel(String value)
getTickMarkLabel
、クラス: Axis<String>
value
- 目盛ラベル文字列にフォーマットする値protected Dimension2D measureTickMarkSize(String value, Object range)
measureTickMarkSize
、クラス: Axis<String>
value
- 目盛の値range
- 計算中に使用する範囲public void invalidateRange(List<String> data)
invalidateRange
、クラス: Axis<String>
data
- この軸にプロットされる必要があるすべてのデータの現在のセットpublic double getDisplayPosition(String value)
getDisplayPosition
、クラス: Axis<String>
value
- 表示位置を算出するためのデータ値public String getValueForDisplay(double displayPosition)
getValueForDisplay
、クラス: Axis<String>
displayPosition
- この軸上のピクセル位置public boolean isValueOnAxis(String value)
isValueOnAxis
、クラス: Axis<String>
value
- 軸上にあるかどうかをチェックする値public double toNumericValue(String value)
toNumericValue
、クラス: Axis<String>
value
- 変換するデータ値public String toRealValue(double value)
toRealValue
、クラス: Axis<String>
value
- 変換する数値public double getZeroPosition()
getZeroPosition
、クラス: Axis<String>
public static List<CssMetaData<? extends Styleable,?>> getClassCssMetaData()
public List<CssMetaData<? extends Styleable,?>> getCssMetaData()
Node.getClassCssMetaData()
に委任する必要があります。getCssMetaData
、インタフェース: Styleable
getCssMetaData
、クラス: Axis<String>
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.