class LayoutDebugger : Fragment
InsetsConverter |
class InsetsConverter : StringConverter<Insets> |
NodeContainer |
class NodeContainer |
NodeTreeItem |
inner class NodeTreeItem : TreeItem<NodeContainer> |
<init> |
LayoutDebugger() |
clickHandler |
val clickHandler: EventHandler<MouseEvent> |
debuggingScene |
lateinit var debuggingScene: Scene |
gc |
val gc: GraphicsContext |
hoverHandler |
val hoverHandler: EventHandler<MouseEvent> |
hoveredNode |
val hoveredNode: SimpleObjectProperty<Node> |
nodeTree |
var nodeTree: TreeView<NodeContainer> |
overlay |
val overlay: Canvas |
propertyContainer |
val propertyContainer: ScrollPane |
root |
val root: BorderPane |
sceneExitedHandler |
val sceneExitedHandler: EventHandler<MouseEvent> |
selectedNode |
val selectedNode: SimpleObjectProperty<Node> |
stackpane |
val stackpane: StackPane |
alignmentCombo |
fun Fieldset.alignmentCombo(property: Property<Pos>): Unit |
nodePropertyView |
fun ScrollPane.nodePropertyView(node: Node): <ERROR CLASS>
Property editor for node. We cant bind directly to these properties as they might have app bindings already, so we have to jump through some hoops to synchronize values between this editor and the Node properties. |
onDock |
fun onDock(): Unit
Called when a Component becomes the Scene root or when its root node is attached to another Component. |
onUndock |
fun onUndock(): Unit
Called when a Component is detached from the Scene |
shadowBindTo |
fun <T> Property<T>.shadowBindTo(nodeProperty: Property<T>): Unit fun <T, C : StringConverter<out T>> StringProperty.shadowBindTo(nodeProperty: Property<T>, converter: C): Unit |
debug |
fun debug(scene: Scene): <ERROR CLASS> |
tag |
var EventTarget.tag: Any? |
tagProperty |
var EventTarget.tagProperty: Property<Any?> |
accordion |
fun EventTarget.accordion(vararg panes: TitledPane, op: Accordion.() -> Unit = {}): Accordion |
add |
fun EventTarget.add(node: Node): Unit |
addChildIfPossible |
fun EventTarget.addChildIfPossible(node: Node, index: Int? = null): Unit |
addViewsWhen |
fun EventTarget.addViewsWhen(acceptor: (ViewProvider) -> Boolean): Unit
Subscribe to ViewProvider events from other OSGi bundles and add the provided view to this UI element if the acceptor returns true. |
anchorpane |
fun EventTarget.anchorpane(vararg nodes: Node, op: AnchorPane.() -> Unit = {}): AnchorPane |
areachart |
fun <X, Y> EventTarget.areachart(title: String? = null, x: Axis<X>, y: Axis<Y>, op: AreaChart<X, Y>.() -> Unit = {}): <ERROR CLASS>
Create an AreaChart with optional title, axis and add to the parent pane. The optional op will be performed on the new instance. |
barchart |
fun <X, Y> EventTarget.barchart(title: String? = null, x: Axis<X>, y: Axis<Y>, op: BarChart<X, Y>.() -> Unit = {}): <ERROR CLASS>
Create a BarChart with optional title, axis and add to the parent pane. The optional op will be performed on the new instance. |
bindChildren |
fun <T> EventTarget.bindChildren(sourceList: ObservableList<T>, converter: (T) -> Node): ListConversionListener<T, Node>
Bind the children of this Layout node to the given observable list of items by converting them into nodes via the given converter function. Changes to the source list will be reflected in the children list of this layout node. fun <T> EventTarget.bindChildren(sourceList: ListProperty<T>, converter: (T) -> Node): ListConversionListener<T, Node>
Bind the children of this Layout node to the items of the given ListPropery by converting them into nodes via the given converter function. Changes to the source list and changing the list inside the ListProperty will be reflected in the children list of this layout node. fun <T> EventTarget.bindChildren(sourceSet: ObservableSet<T>, converter: (T) -> Node): SetConversionListener<T, Node>
Bind the children of this Layout node to the given observable set of items by converting them into nodes via the given converter function. Changes to the source set will be reflected in the children list of this layout node. fun <K, V> EventTarget.bindChildren(sourceMap: ObservableMap<K, V>, converter: (K, V) -> Node): MapConversionListener<K, V, Node> |
bindComponents |
fun <T> EventTarget.bindComponents(sourceList: ObservableList<T>, converter: (T) -> UIComponent): ListConversionListener<T, Node>
Bind the children of this Layout node to the given observable list of items by converting them into UIComponents via the given converter function. Changes to the source list will be reflected in the children list of this layout node. |
borderpane |
fun EventTarget.borderpane(op: BorderPane.() -> Unit = {}): <ERROR CLASS> |
bubblechart |
fun <X, Y> EventTarget.bubblechart(title: String? = null, x: Axis<X>, y: Axis<Y>, op: BubbleChart<X, Y>.() -> Unit = {}): <ERROR CLASS>
Create a BubbleChart with optional title, axis and add to the parent pane. The optional op will be performed on the new instance. |
button |
fun EventTarget.button(text: String = "", graphic: Node? = null, op: Button.() -> Unit = {}): <ERROR CLASS> fun EventTarget.button(text: ObservableValue<String>, graphic: Node? = null, op: Button.() -> Unit = {}): <ERROR CLASS> |
buttonbar |
fun EventTarget.buttonbar(buttonOrder: String? = null, forceLabelIndent: Boolean = true, op: ButtonBar.() -> Unit = {}): ButtonBarField
Creates a ButtonBarFiled with the given button order (refer to javafx.scene.control.ButtonBar#buttonOrderProperty for more information about buttonOrder). fun EventTarget.buttonbar(buttonOrder: String? = null, op: ButtonBar.() -> Unit): <ERROR CLASS> |
canvas |
fun EventTarget.canvas(width: Double = 0.0, height: Double = 0.0, op: Canvas.() -> Unit = {}): <ERROR CLASS> |
checkbox |
fun EventTarget.checkbox(text: String? = null, property: Property<Boolean>? = null, op: CheckBox.() -> Unit = {}): <ERROR CLASS> |
choicebox |
fun <T> EventTarget.choicebox(property: Property<T>? = null, values: List<T>? = null, op: ChoiceBox<T>.() -> Unit = {}): <ERROR CLASS> |
colorpicker |
fun EventTarget.colorpicker(color: Color? = null, mode: ColorPickerMode = ColorPickerMode.Button, op: ColorPicker.() -> Unit = {}): <ERROR CLASS> fun EventTarget.colorpicker(colorProperty: ObjectProperty<Color>, mode: ColorPickerMode = ColorPickerMode.Button, op: ColorPicker.() -> Unit = {}): <ERROR CLASS> |
combobox |
fun <T> EventTarget.combobox(property: Property<T>? = null, values: List<T>? = null, op: ComboBox<T>.() -> Unit = {}): <ERROR CLASS> |
contextmenu |
fun EventTarget.contextmenu(: ContextMenu.() -> Unit = {}): ContextMenu |
datagrid |
fun <T> EventTarget.datagrid(items: List<T>? = null, scope: Scope = FX.defaultScope, op: DataGrid<T>.() -> Unit = {}): <ERROR CLASS> |
datepicker |
fun EventTarget.datepicker(op: DatePicker.() -> Unit = {}): DatePicker fun EventTarget.datepicker(property: Property<LocalDate>, op: DatePicker.() -> Unit = {}): <ERROR CLASS> |
drawer |
fun EventTarget.drawer(side: Side = Side.LEFT, multiselect: Boolean = false, floatingContent: Boolean = false, op: Drawer.() -> Unit): Drawer |
fade |
fun UIComponent.fade(time: Duration, opacity: Number, easing: Interpolator = Interpolator.EASE_BOTH, reversed: Boolean = false, play: Boolean = true, op: FadeTransition.() -> Unit = {}): FadeTransition
A convenience function for creating a FadeTransition on a UIComponent. |
field |
fun EventTarget.field(text: String? = null, orientation: Orientation = HORIZONTAL, forceLabelIndent: Boolean = false, op: Field.() -> Unit = {}): Field
Create a field with the given text and operate on it. |
fieldset |
fun EventTarget.fieldset(text: String? = null, icon: Node? = null, labelPosition: Orientation? = null, wrapWidth: Double? = null, op: Fieldset.() -> Unit = {}): Fieldset |
findAll |
fun <T : UIComponent> UIComponent.findAll(): List<T>
Find all UIComponents of the specified type that owns any of this UIComponents root nodes children |
flowpane |
fun EventTarget.flowpane(op: FlowPane.() -> Unit = {}): <ERROR CLASS> |
form |
fun EventTarget.form(op: Form.() -> Unit = {}): <ERROR CLASS> |
getChildList |
fun EventTarget.getChildList(): MutableList<Node>?
Find the list of children from a Parent node. Gleaned code from ControlsFX for this. |
getProperty |
fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T> |
getToggleGroup |
fun EventTarget.getToggleGroup(): ToggleGroup? |
gridpane |
fun EventTarget.gridpane(op: GridPane.() -> Unit = {}): <ERROR CLASS> |
group |
fun EventTarget.group(initialChildren: Iterable<Node>? = null, op: Group.() -> Unit = {}): <ERROR CLASS> |
hbox |
fun EventTarget.hbox(spacing: Number? = null, alignment: Pos? = null, op: HBox.() -> Unit = {}): HBox |
htmleditor |
fun EventTarget.htmleditor(html: String? = null, op: HTMLEditor.() -> Unit = {}): <ERROR CLASS> |
hyperlink |
fun EventTarget.hyperlink(text: String = "", graphic: Node? = null, op: Hyperlink.() -> Unit = {}): Hyperlink fun EventTarget.hyperlink(observable: ObservableValue<String>, graphic: Node? = null, op: Hyperlink.() -> Unit = {}): <ERROR CLASS> |
imageview |
fun EventTarget.imageview(url: String? = null, lazyload: Boolean = true, op: ImageView.() -> Unit = {}): <ERROR CLASS> fun EventTarget.imageview(url: ObservableValue<String>, lazyload: Boolean = true, op: ImageView.() -> Unit = {}): <ERROR CLASS> fun EventTarget.imageview(image: ObservableValue<Image?>, op: ImageView.() -> Unit = {}): <ERROR CLASS> fun EventTarget.imageview(image: Image, op: ImageView.() -> Unit = {}): ImageView |
isInsideRow |
fun EventTarget.isInsideRow(): Boolean
Did the event occur inside a TableRow, TreeTableRow or ListCell? |
keyboard |
fun EventTarget.keyboard(op: KeyboardLayout.() -> Unit): <ERROR CLASS> |
label |
fun EventTarget.label(text: String = "", graphic: Node? = null, op: Label.() -> Unit = {}): <ERROR CLASS> fun <T> EventTarget.label(observable: ObservableValue<T>, graphicProperty: ObservableValue<Node>? = null, converter: StringConverter<in T>? = null, op: Label.() -> Unit = {}): <ERROR CLASS> |
lazyContextmenu |
fun EventTarget.lazyContextmenu(: ContextMenu.() -> Unit = {}): <ERROR CLASS>
Add a context menu to the target which will be created on demand. |
linechart |
fun <X, Y> EventTarget.linechart(title: String? = null, x: Axis<X>, y: Axis<Y>, op: LineChart<X, Y>.() -> Unit = {}): <ERROR CLASS>
Create a LineChart with optional title, axis and add to the parent pane. The optional op will be performed on the new instance. |
listmenu |
fun EventTarget.listmenu(: Orientation = VERTICAL, : Side = Side.LEFT, : String? = null, : Any? = null, : ListMenu.() -> Unit = {}): |