类 ZoomImageViewSkin2

java.lang.Object
javafx.scene.control.SkinBase<ZoomImageView>
com.tlcsdm.core.javafx.control.skin.ZoomImageViewSkin2
所有已实现的接口:
javafx.scene.control.Skin<ZoomImageView>

public class ZoomImageViewSkin2 extends javafx.scene.control.SkinBase<ZoomImageView>
作者:
unknowIfGuestInDream
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    (专用程序包) class 
     
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
     
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    private double
    clamp(double value, double min, double max)
     
    private javafx.scene.control.ToolBar
     
    private boolean
    decreaseZoomFactor(double delta)
    Method to decrease the zoom factor for value specified as delta.
    private javafx.geometry.Point2D
    imageViewToImage(javafx.scene.image.ImageView imageView, javafx.geometry.Point2D imageViewCoordinates)
     
    private boolean
    increaseZoomFactor(double delta)
    Method to increase the zoom factor for value specified as delta.
    private void
    shift(javafx.scene.image.ImageView imageView, javafx.geometry.Point2D delta)
     

    从类继承的方法 javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 javafx.scene.control.Skin

    install
  • 字段详细资料

  • 构造器详细资料

    • ZoomImageViewSkin2

      public ZoomImageViewSkin2(ZoomImageView zoomView)
  • 方法详细资料

    • createToolBar

      private javafx.scene.control.ToolBar createToolBar(ZoomImageView zoomView)
    • decreaseZoomFactor

      private boolean decreaseZoomFactor(double delta)
      Method to decrease the zoom factor for value specified as delta.
      参数:
      delta - zoom factor (decrease) delta
      返回:
      true if the operation actually did cause a zoom change
    • increaseZoomFactor

      private boolean increaseZoomFactor(double delta)
      Method to increase the zoom factor for value specified as delta.
      参数:
      delta - zoom factor (increase) delta
      返回:
      true if the operation actually did cause a zoom change
    • shift

      private void shift(javafx.scene.image.ImageView imageView, javafx.geometry.Point2D delta)
    • clamp

      private double clamp(double value, double min, double max)
    • imageViewToImage

      private javafx.geometry.Point2D imageViewToImage(javafx.scene.image.ImageView imageView, javafx.geometry.Point2D imageViewCoordinates)