Klasse Video

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.layout.Pane
javafx.scene.layout.VBox
ui.common.C64VBox
ui.videoscreen.Video
Alle implementierten Schnittstellen:
Consumer<VIC>, javafx.css.Styleable, javafx.event.EventTarget, javafx.fxml.Initializable, javafx.util.Builder<Object>, VideoDriver, UIPart

public class Video extends C64VBox implements UIPart, VideoDriver
  • Eigenschaftsübersicht

    Von Klasse geerbte Eigenschaften javafx.scene.layout.VBox

    alignment, fillWidth, spacing

    Von Klasse geerbte Eigenschaften javafx.scene.layout.Region

    background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, width

    Von Klasse geerbte Eigenschaften javafx.scene.Parent

    needsLayout

    Von Klasse geerbte Eigenschaften 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
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    private javafx.scene.control.CheckBox
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.control.Label
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private static javafx.scene.image.Image
    Note: volatile, because Screen Updater thread writes it and javafx thread reads it!
    private javafx.scene.image.ImageView
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.control.Label
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    static final String
     
    private ImageQueue<javafx.scene.image.Image>
     
    private javafx.scene.control.TitledPane
     
    private javafx.scene.image.ImageView
     
    private static final double
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private static final double
     
    private javafx.scene.control.CheckBox
     
    private javafx.animation.PauseTransition
     
    private javafx.scene.image.ImageView
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private static final double
     
    private double
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private javafx.scene.image.ImageView
     
    private javafx.animation.SequentialTransition
     
    private javafx.scene.control.CheckBox
     
     
    private javafx.scene.control.Label
     
    private javafx.animation.Timeline
     
    private javafx.scene.control.Slider
     
    private javafx.scene.control.Label
     
    private static final int
     
    private Keyboard
     

    Von Klasse geerbte Felder ui.common.C64VBox

    util

    Von Klasse geerbte Felder javafx.scene.layout.Region

    USE_COMPUTED_SIZE, USE_PREF_SIZE

    Von Klasse geerbte Felder javafx.scene.Node

    BASELINE_OFFSET_SAME_AS_HEIGHT
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
    Video(C64Window window, Player player)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    accept(VIC vic)
    Create an image per frame of VIC screen output.
    private void
     
    private void
     
    void
     
    static javafx.scene.image.Image
     
    protected void
     
    private void
     
    private void
     
    private void
     
    private void
     
    private void
     
    private void
    Connect Keyboard with C64 keyboard.
    private void
    Connect VIC output with screen.
    private void
    Make breadbox/pc64 image visible, if the internal SID player is used.
    private void
     
    private void
     
    private void
     
    private void
     
    private void
    updateVICChipConfiguration(Consumer<VIC> action, boolean apply)
     

    Von Klasse geerbte Methoden ui.common.C64VBox

    initialize

    Von Klasse geerbte Methoden javafx.scene.layout.VBox

    alignmentProperty, clearConstraints, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, fillWidthProperty, getAlignment, getClassCssMetaData, getContentBias, getCssMetaData, getMargin, getSpacing, getVgrow, isFillWidth, layoutChildren, requestLayout, setAlignment, setFillWidth, setMargin, setSpacing, setVgrow, spacingProperty

    Von Klasse geerbte Methoden javafx.scene.layout.Pane

    getChildren

    Von Klasse geerbte Methoden javafx.scene.layout.Region

    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, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty

    Von Klasse geerbte Methoden javafx.scene.Parent

    getBaselineOffset, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, queryAccessibleAttribute, requestParentLayout, setNeedsLayout, updateBounds

    Von Klasse geerbte Methoden 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, executeAccessibleAction, fireEvent, focusedProperty, focusTraversableProperty, focusVisibleProperty, focusWithinProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInitialFocusTraversable, 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

    Von Klasse geerbte Methoden java.lang.Object

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

    Von Schnittstelle geerbte Methoden java.util.function.Consumer

    andThen

    Von Schnittstelle geerbte Methoden javafx.css.Styleable

    getStyleableNode

    Von Schnittstelle geerbte Methoden ui.common.UIPart

    build, getBundleName, getFxml
  • Felddetails

    • ID

      public static final String ID
      Siehe auch:
    • SCALE_X

      private static final double SCALE_X
      Siehe auch:
    • PAL_SCALE_Y

      private static final double PAL_SCALE_Y
      Siehe auch:
    • NTSC_SCALE_Y

      private static final double NTSC_SCALE_Y
      Siehe auch:
    • TRANSLATE_Y

      private static final int TRANSLATE_Y
      Siehe auch:
    • monitor

      private javafx.scene.control.TitledPane monitor
    • screen

      private javafx.scene.image.ImageView screen
    • monitorBorder

      private javafx.scene.image.ImageView monitorBorder
    • breadbox

      private javafx.scene.image.ImageView breadbox
    • pc64

      private javafx.scene.image.ImageView pc64
    • scaling

      private javafx.scene.control.Slider scaling
    • brightness

      private javafx.scene.control.Slider brightness
    • contrast

      private javafx.scene.control.Slider contrast
    • gamma

      private javafx.scene.control.Slider gamma
    • saturation

      private javafx.scene.control.Slider saturation
    • phaseShift

      private javafx.scene.control.Slider phaseShift
    • offset

      private javafx.scene.control.Slider offset
    • tint

      private javafx.scene.control.Slider tint
    • blur

      private javafx.scene.control.Slider blur
    • bleed

      private javafx.scene.control.Slider bleed
    • palEmulation

      private javafx.scene.control.CheckBox palEmulation
    • applyImmediately

      private javafx.scene.control.CheckBox applyImmediately
    • showMonitorBorder

      private javafx.scene.control.CheckBox showMonitorBorder
    • scalingValue

      private javafx.scene.control.Label scalingValue
    • brightnessValue

      private javafx.scene.control.Label brightnessValue
    • contrastValue

      private javafx.scene.control.Label contrastValue
    • gammaValue

      private javafx.scene.control.Label gammaValue
    • saturationValue

      private javafx.scene.control.Label saturationValue
    • phaseShiftValue

      private javafx.scene.control.Label phaseShiftValue
    • offsetValue

      private javafx.scene.control.Label offsetValue
    • tintValue

      private javafx.scene.control.Label tintValue
    • blurValue

      private javafx.scene.control.Label blurValue
    • bleedValue

      private javafx.scene.control.Label bleedValue
    • datasetteOff

      private javafx.scene.image.ImageView datasetteOff
    • datasetteLoad

      private javafx.scene.image.ImageView datasetteLoad
    • datasetteSave

      private javafx.scene.image.ImageView datasetteSave
    • c1541Off

      private javafx.scene.image.ImageView c1541Off
    • c1541On

      private javafx.scene.image.ImageView c1541On
    • c1541Load

      private javafx.scene.image.ImageView c1541Load
    • c1541IIOff

      private javafx.scene.image.ImageView c1541IIOff
    • c1541IIOn

      private javafx.scene.image.ImageView c1541IIOn
    • c1541IILoad

      private javafx.scene.image.ImageView c1541IILoad
    • tapeName

      private javafx.scene.control.Label tapeName
    • diskName

      private javafx.scene.control.Label diskName
    • cartridgeName

      private javafx.scene.control.Label cartridgeName
    • virtualKeyboard

      private Keyboard virtualKeyboard
    • timer

      private javafx.animation.Timeline timer
    • imageQueue

      private ImageQueue<javafx.scene.image.Image> imageQueue
    • currentImage

      private static volatile javafx.scene.image.Image currentImage
      Note: volatile, because Screen Updater thread writes it and javafx thread reads it!
    • scaleY

      private double scaleY
    • pauseTransition

      private javafx.animation.PauseTransition pauseTransition
    • sequentialTransition

      private javafx.animation.SequentialTransition sequentialTransition
    • stateListener

      private PropertyChangeListener stateListener
  • Konstruktordetails

    • Video

      public Video()
    • Video

      public Video(C64Window window, Player player)
  • Methodendetails

    • initialize

      protected void initialize()
      Angegeben von:
      initialize in Klasse C64VBox
    • doClose

      public void doClose()
      Angegeben von:
      doClose in Schnittstelle UIPart
    • showVirtualKeyboard

      private void showVirtualKeyboard()
    • insertTape

      private void insertTape()
    • insertDisk

      private void insertDisk()
    • insertCartridge

      private void insertCartridge()
    • apply

      private void apply()
    • showMonitorBorder

      private void showMonitorBorder()
    • defaultPalette

      private void defaultPalette()
    • setupVideoScreen

      private void setupVideoScreen(CPUClock cpuClock)
      Connect VIC output with screen.
    • updateScaling

      private void updateScaling()
    • setupKeyboard

      private void setupKeyboard()
      Connect Keyboard with C64 keyboard.
    • pressC64Key

      private void pressC64Key(KeyTableEntry key)
    • releaseC64Key

      private void releaseC64Key(KeyTableEntry key)
    • updatePeripheralImages

      private void updatePeripheralImages()
    • setVisibilityBasedOnChipType

      private void setVisibilityBasedOnChipType(SidTune sidTune)
      Make breadbox/pc64 image visible, if the internal SID player is used.
    • updateVICChipConfiguration

      private void updateVICChipConfiguration(Consumer<VIC> action, boolean apply)
    • accept

      public void accept(VIC vic)
      Create an image per frame of VIC screen output.
      Angegeben von:
      accept in Schnittstelle Consumer<VIC>
      Angegeben von:
      accept in Schnittstelle VideoDriver
    • getVicImage

      public static javafx.scene.image.Image getVicImage()
      Gibt zurück:
      VIC image with current frame