Package jltk.gui
Class Separator
- java.lang.Object
-
- jltk.Component
-
- jltk.gui.Control
-
- jltk.gui.Separator
-
public class Separator extends Control
A horizontal or vertical separator line. events: none- Version:
- 24.08.2022
- Author:
- ms
-
-
Field Summary
Fields Modifier and Type Field Description protected javafx.scene.control.Separator
fxSeparator
-
Fields inherited from class jltk.Component
fxNode, hasFocus, myWindow, onFocusGained, onFocusLost
-
-
Constructor Summary
Constructors Constructor Description Separator(double pLeft, double pTop, double pWidth, double pHeight)
Create a new separator line.Separator(Window pWindow, double pLeft, double pTop, double pWidth, double pHeight, String pText)
Creates an text field on the specified postion.
-
Method Summary
-
Methods inherited from class jltk.gui.Control
getColor, getHeight, getWidth, init, setColor, setColor, setColor, setHeight, setSize, setTooltip, setWidth
-
Methods inherited from class jltk.Component
activate, deactivate, focus, getX, getY, hasFocus, hide, init, istActive, isVisible, runMethodByName, setOnFocusGained, setOnFocusLost, setPosition, show, toBack, toFront
-
-
-
-
Constructor Detail
-
Separator
public Separator(double pLeft, double pTop, double pWidth, double pHeight)
Create a new separator line.- Parameters:
pLeft
- The horizontal coordinatepTop
- The vertical coordinatepWidth
- The width of the text fieldpHeight
- The height of the text field
-
Separator
public Separator(Window pWindow, double pLeft, double pTop, double pWidth, double pHeight, String pText)
Creates an text field on the specified postion.- Parameters:
pLeft
- The horizontal coordinatepTop
- The vertical coordinatepWidth
- The width of the text fieldpHeight
- The height of the text fieldpWindow
- The window, the text field should be placedpText
- The label of the text field
-
-