From b1f25d8fd35a52f7fdee66d2107b0803e90d64a0 Mon Sep 17 00:00:00 2001 From: floriankirmaier Date: Fri, 29 Dec 2023 15:57:37 +0100 Subject: [PATCH] Added ContainerVBox --- .../routing/filter/container/ContainerVBox.scala | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 jpro-routing/core/src/main/scala/one/jpro/platform/routing/filter/container/ContainerVBox.scala diff --git a/jpro-routing/core/src/main/scala/one/jpro/platform/routing/filter/container/ContainerVBox.scala b/jpro-routing/core/src/main/scala/one/jpro/platform/routing/filter/container/ContainerVBox.scala new file mode 100644 index 00000000..1c29263f --- /dev/null +++ b/jpro-routing/core/src/main/scala/one/jpro/platform/routing/filter/container/ContainerVBox.scala @@ -0,0 +1,15 @@ +package one.jpro.platform.routing.filter.container + +import javafx.beans.property.{ObjectProperty, SimpleObjectProperty} +import javafx.scene.Node +import javafx.scene.layout.VBox +import one.jpro.platform.routing.Request + +class ContainerVBox extends VBox with Container { + + private val content: ObjectProperty[Node] = new SimpleObjectProperty[Node](this, "content", null) + private val request: ObjectProperty[Request] = new SimpleObjectProperty[Request](this, "request", null) + override def contentProperty(): ObjectProperty[Node] = content + + override def requestProperty(): ObjectProperty[Request] = request +}