java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
com.tlcsdm.core.javafx.control.ZoomImageView
- 所有已实现的接口:
javafx.css.Styleable,javafx.event.EventTarget,javafx.scene.control.Skinnable
@DefaultProperty("image")
public class ZoomImageView
extends javafx.scene.control.Control
- 作者:
- unknowIfGuestInDream
-
属性概要
属性类型属性说明final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> final javafx.beans.property.DoublePropertySets the upper bounds for zoom operations.final javafx.beans.property.DoublePropertySets the upper bounds for zoom operations.final javafx.beans.property.DoublePropertyThe page rotation in degrees.final javafx.beans.property.BooleanPropertyA flag that controls whether we always want to show the entire page.final javafx.beans.property.BooleanPropertyA flag used to control whether the view will include a toolbar with zoom, search, rotation controls.final javafx.beans.property.DoublePropertyThe current zoom factor.从类继承的属性 javafx.scene.control.Control
contextMenu, skin, tooltip从类继承的属性 javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width从类继承的属性 javafx.scene.Parent
needsLayout从类继承的属性 javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, focusVisible, focusWithin, 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 -
字段概要
字段修饰符和类型字段说明private final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> private final javafx.beans.property.DoublePropertySets the upper bounds for zoom operations.private final javafx.beans.property.DoublePropertySets the upper bounds for zoom operations.private final javafx.beans.property.DoublePropertyThe page rotation in degrees.private final javafx.beans.property.BooleanPropertyA flag that controls whether we always want to show the entire page.private final javafx.beans.property.BooleanPropertyA flag used to control whether the view will include a toolbar with zoom, search, rotation controls.private final javafx.beans.property.DoublePropertyThe current zoom factor.从类继承的字段 javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZE从类继承的字段 javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected javafx.scene.control.Skin<?> javafx.scene.image.ImagegetImage()获取image属性的值。final double获取maxZoomFactor属性的值。final double获取minZoomFactor属性的值。final double获取pageRotation属性的值。final double获取zoomFactor属性的值。final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> final boolean获取showAll属性的值。final boolean获取showToolBar属性的值。final javafx.beans.property.DoublePropertySets the upper bounds for zoom operations.final javafx.beans.property.DoublePropertySets the upper bounds for zoom operations.final javafx.beans.property.DoublePropertyThe page rotation in degrees.final voidConvenience method to rotate the generated image by -90 degrees.final voidConvenience method to rotate the generated image by +90 degrees.voidsetImage(javafx.scene.image.Image image) 设置image属性的值。final voidsetMaxZoomFactor(double maxZoomFactor) 设置maxZoomFactor属性的值。final voidsetMinZoomFactor(double minZoomFactor) 设置minZoomFactor属性的值。final voidsetPageRotation(double pageRotation) 设置pageRotation属性的值。final voidsetShowAll(boolean showAll) 设置showAll属性的值。final voidsetShowToolBar(boolean showToolBar) 设置showToolBar属性的值。final voidsetZoomFactor(double zoomFactor) 设置zoomFactor属性的值。final javafx.beans.property.BooleanPropertyA flag that controls whether we always want to show the entire page.final javafx.beans.property.BooleanPropertyA flag used to control whether the view will include a toolbar with zoom, search, rotation controls.final javafx.beans.property.DoublePropertyThe current zoom factor.从类继承的方法 javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty从类继承的方法 javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, 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.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds从类继承的方法 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, focusVisibleProperty, focusWithinProperty, 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, isFocusVisible, isFocusWithin, 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.css.Styleable
getStyleableNode
-
属性详细资料
-
showToolBar
public final javafx.beans.property.BooleanProperty showToolBarPropertyA flag used to control whether the view will include a toolbar with zoom, search, rotation controls.- 另请参阅:
-
maxZoomFactor
public final javafx.beans.property.DoubleProperty maxZoomFactorPropertySets the upper bounds for zoom operations. The default value is "4".- 另请参阅:
-
minZoomFactor
public final javafx.beans.property.DoubleProperty minZoomFactorPropertySets the upper bounds for zoom operations. The default value is "4".- 另请参阅:
-
zoomFactor
public final javafx.beans.property.DoubleProperty zoomFactorPropertyThe current zoom factor. The default value is "1".- 另请参阅:
-
image
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> imageProperty- 另请参阅:
-
showAll
public final javafx.beans.property.BooleanProperty showAllPropertyA flag that controls whether we always want to show the entire page. If "true" then the page will be constantly resized to fit the viewport of the scroll pane in which it is showing. In this mode zooming is not possible.- 另请参阅:
-
pageRotation
public final javafx.beans.property.DoubleProperty pageRotationPropertyThe page rotation in degrees. Supported values are only "0", "90", "180", "270", "360", ... multiples of "90".- 另请参阅:
-
-
字段详细资料
-
showToolBar
private final javafx.beans.property.BooleanProperty showToolBarA flag used to control whether the view will include a toolbar with zoom, search, rotation controls. -
maxZoomFactor
private final javafx.beans.property.DoubleProperty maxZoomFactorSets the upper bounds for zoom operations. The default value is "4". -
minZoomFactor
private final javafx.beans.property.DoubleProperty minZoomFactorSets the upper bounds for zoom operations. The default value is "4". -
zoomFactor
private final javafx.beans.property.DoubleProperty zoomFactorThe current zoom factor. The default value is "1". -
image
private final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> image -
showAll
private final javafx.beans.property.BooleanProperty showAllA flag that controls whether we always want to show the entire page. If "true" then the page will be constantly resized to fit the viewport of the scroll pane in which it is showing. In this mode zooming is not possible. -
pageRotation
private final javafx.beans.property.DoubleProperty pageRotationThe page rotation in degrees. Supported values are only "0", "90", "180", "270", "360", ... multiples of "90".
-
-
构造器详细资料
-
ZoomImageView
public ZoomImageView() -
ZoomImageView
public ZoomImageView(javafx.scene.image.Image image)
-
-
方法详细资料
-
isShowToolBar
public final boolean isShowToolBar()获取showToolBar属性的值。- 属性说明:
- A flag used to control whether the view will include a toolbar with zoom, search, rotation controls.
- 返回:
showToolBar属性的值- 另请参阅:
-
showToolBarProperty
public final javafx.beans.property.BooleanProperty showToolBarProperty()A flag used to control whether the view will include a toolbar with zoom, search, rotation controls.- 返回:
showToolBar属性- 另请参阅:
-
setShowToolBar
public final void setShowToolBar(boolean showToolBar) 设置showToolBar属性的值。- 属性说明:
- A flag used to control whether the view will include a toolbar with zoom, search, rotation controls.
- 参数:
showToolBar-showToolBar属性的值- 另请参阅:
-
getMaxZoomFactor
public final double getMaxZoomFactor()获取maxZoomFactor属性的值。- 属性说明:
- Sets the upper bounds for zoom operations. The default value is "4".
- 返回:
maxZoomFactor属性的值- 另请参阅:
-
maxZoomFactorProperty
public final javafx.beans.property.DoubleProperty maxZoomFactorProperty()Sets the upper bounds for zoom operations. The default value is "4".- 返回:
maxZoomFactor属性- 另请参阅:
-
setMaxZoomFactor
public final void setMaxZoomFactor(double maxZoomFactor) 设置maxZoomFactor属性的值。- 属性说明:
- Sets the upper bounds for zoom operations. The default value is "4".
- 参数:
maxZoomFactor-maxZoomFactor属性的值- 另请参阅:
-
getMinZoomFactor
public final double getMinZoomFactor()获取minZoomFactor属性的值。- 属性说明:
- Sets the upper bounds for zoom operations. The default value is "4".
- 返回:
minZoomFactor属性的值- 另请参阅:
-
minZoomFactorProperty
public final javafx.beans.property.DoubleProperty minZoomFactorProperty()Sets the upper bounds for zoom operations. The default value is "4".- 返回:
minZoomFactor属性- 另请参阅:
-
setMinZoomFactor
public final void setMinZoomFactor(double minZoomFactor) 设置minZoomFactor属性的值。- 属性说明:
- Sets the upper bounds for zoom operations. The default value is "4".
- 参数:
minZoomFactor-minZoomFactor属性的值- 另请参阅:
-
getZoomFactor
public final double getZoomFactor()获取zoomFactor属性的值。- 属性说明:
- The current zoom factor. The default value is "1".
- 返回:
zoomFactor属性的值- 另请参阅:
-
zoomFactorProperty
public final javafx.beans.property.DoubleProperty zoomFactorProperty()The current zoom factor. The default value is "1".- 返回:
zoomFactor属性- 另请参阅:
-
setZoomFactor
public final void setZoomFactor(double zoomFactor) 设置zoomFactor属性的值。- 属性说明:
- The current zoom factor. The default value is "1".
- 参数:
zoomFactor-zoomFactor属性的值- 另请参阅:
-
imageProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> imageProperty()- 返回:
image属性- 另请参阅:
-
setImage
public void setImage(javafx.scene.image.Image image) 设置image属性的值。- 属性说明:
- 参数:
image-image属性的值- 另请参阅:
-
getImage
public javafx.scene.image.Image getImage()获取image属性的值。- 属性说明:
- 返回:
image属性的值- 另请参阅:
-
isShowAll
public final boolean isShowAll()获取showAll属性的值。- 属性说明:
- A flag that controls whether we always want to show the entire page. If "true" then the page will be constantly resized to fit the viewport of the scroll pane in which it is showing. In this mode zooming is not possible.
- 返回:
showAll属性的值- 另请参阅:
-
showAllProperty
public final javafx.beans.property.BooleanProperty showAllProperty()A flag that controls whether we always want to show the entire page. If "true" then the page will be constantly resized to fit the viewport of the scroll pane in which it is showing. In this mode zooming is not possible.- 返回:
showAll属性- 另请参阅:
-
setShowAll
public final void setShowAll(boolean showAll) 设置showAll属性的值。- 属性说明:
- A flag that controls whether we always want to show the entire page. If "true" then the page will be constantly resized to fit the viewport of the scroll pane in which it is showing. In this mode zooming is not possible.
- 参数:
showAll-showAll属性的值- 另请参阅:
-
getPageRotation
public final double getPageRotation()获取pageRotation属性的值。- 属性说明:
- The page rotation in degrees. Supported values are only "0", "90", "180", "270", "360", ... multiples of "90".
- 返回:
pageRotation属性的值- 另请参阅:
-
pageRotationProperty
public final javafx.beans.property.DoubleProperty pageRotationProperty()The page rotation in degrees. Supported values are only "0", "90", "180", "270", "360", ... multiples of "90".- 返回:
pageRotation属性- 另请参阅:
-
setPageRotation
public final void setPageRotation(double pageRotation) 设置pageRotation属性的值。- 属性说明:
- The page rotation in degrees. Supported values are only "0", "90", "180", "270", "360", ... multiples of "90".
- 参数:
pageRotation-pageRotation属性的值- 另请参阅:
-
rotateLeft
public final void rotateLeft()Convenience method to rotate the generated image by -90 degrees. -
rotateRight
public final void rotateRight()Convenience method to rotate the generated image by +90 degrees. -
createDefaultSkin
protected javafx.scene.control.Skin<?> createDefaultSkin()- 覆盖:
createDefaultSkin在类中javafx.scene.control.Control
-
getUserAgentStylesheet
- 覆盖:
getUserAgentStylesheet在类中javafx.scene.layout.Region
-