- java.lang.Object
-
- org.tentackle.fx.component.skin.NoteSkin
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javafx.scene.NodecreateLink(Note.Position alignment)Creates the link.voiddispose()javafx.scene.layout.StackPanegetNode()NotegetSkinnable()protected voidupdateLocation()Updates the location when the effective size is known.
-
-
-
Constructor Detail
-
NoteSkin
public NoteSkin(Note note)
Creates the note skin.- Parameters:
note- the note
-
-
Method Detail
-
getSkinnable
public Note getSkinnable()
- Specified by:
getSkinnablein interfacejavafx.scene.control.Skin<Note>
-
getNode
public javafx.scene.layout.StackPane getNode()
- Specified by:
getNodein interfacejavafx.scene.control.Skin<Note>
-
dispose
public void dispose()
- Specified by:
disposein interfacejavafx.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
-
-