Class NoteSkin

  • All Implemented Interfaces:
    javafx.scene.control.Skin<Note>

    public class NoteSkin
    extends java.lang.Object
    implements javafx.scene.control.Skin<Note>
    Skin for the Note control.
    Author:
    harald
    • Constructor Summary

      Constructors 
      Constructor Description
      NoteSkin​(Note note)
      Creates the note skin.
    • Constructor Detail

      • NoteSkin

        public NoteSkin​(Note note)
        Creates the note skin.
        Parameters:
        note - the note
    • Method Detail

      • getSkinnable

        public Note getSkinnable()
        Specified by:
        getSkinnable in interface javafx.scene.control.Skin<Note>
      • getNode

        public javafx.scene.layout.StackPane getNode()
        Specified by:
        getNode in interface javafx.scene.control.Skin<Note>
      • dispose

        public void dispose()
        Specified by:
        dispose in interface javafx.scene.control.Skin<Note>
      • updateLocation

        protected void updateLocation()
        Updates the location when the effective size is known.
      • createLink

        protected javafx.scene.Node createLink​(Note.Position alignment)
        Creates the link.
        Parameters:
        alignment - the position
        Returns:
        the link node