Skip to content

Package io.github.qishr.cascara.ui.window

Class TitleBar

java.lang.Object
        javafx.scene.Node
                javafx.scene.Parent
                        javafx.scene.layout.Region
                                javafx.scene.layout.Pane
                                        javafx.scene.layout.BorderPane
                                                io.github.qishr.cascara.ui.window.TitleBar


public class TitleBar
extends BorderPane

Constructor Summary

Constructor Description
TitleBar()

Method Summary

Modifier and Type Method Description
public void setTitle(String title)
public void applyTheme(TitleBarTheme theme, Runnable onClose, Runnable onMinimize, Runnable onMaximize)
public void addAeroOrb()
public Pane createStretchingLines()
public String getCssName(String name)
public void attachStageListeners()

Method Details

setTitle

public void setTitle(String title)


applyTheme

public void applyTheme(TitleBarTheme theme, Runnable onClose, Runnable onMinimize, Runnable onMaximize)


addAeroOrb

public void addAeroOrb()


createStretchingLines

public Pane createStretchingLines()


getCssName

public String getCssName(String name)


attachStageListeners

public void attachStageListeners()