类 LayoutHelper

java.lang.Object
com.tlcsdm.core.javafx.helper.LayoutHelper

public class LayoutHelper extends Object
作者:
unknowIfGuestInDream
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static javafx.scene.control.Button
    button(String text, Runnable action)
     
    static javafx.scene.layout.HBox
    hbox(double padding, double spacing, javafx.geometry.Pos alignment, javafx.scene.Node... children)
     
    static javafx.scene.layout.HBox
    hbox(double padding, double spacing, javafx.scene.Node... children)
     
    static javafx.scene.control.Hyperlink
    hyperlink(String text, Runnable action)
     
    static javafx.scene.image.Image
    icon(String resourcePath)
     
    static javafx.scene.image.Image
    icon(URL resource)
     
    static javafx.scene.image.ImageView
    iconView(URL resource)
     
    static javafx.scene.image.ImageView
    iconView(URL resource, double size)
     
    static javafx.scene.image.ImageView
    iconView(javafx.scene.image.Image icon)
     
    static javafx.scene.image.ImageView
    iconView(javafx.scene.image.Image icon, double size)
     
    static javafx.scene.image.ImageView
    imageView(String path, double width, double height)
     
    static javafx.scene.control.Label
    label(String text)
     
    static javafx.scene.control.Label
    label(String text, double maxWidth)
     
    static javafx.scene.control.TextField
    textField(String text, double prefWidth)
     
    static javafx.scene.layout.VBox
    vbox(double padding, double spacing, javafx.geometry.Pos alignment, javafx.scene.Node... children)
     
    static javafx.scene.layout.VBox
    vbox(double padding, double spacing, javafx.scene.Node... children)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • LayoutHelper

      public LayoutHelper()
  • 方法详细资料

    • textField

      public static javafx.scene.control.TextField textField(String text, double prefWidth)
    • label

      public static javafx.scene.control.Label label(String text)
    • label

      public static javafx.scene.control.Label label(String text, double maxWidth)
    • vbox

      public static javafx.scene.layout.VBox vbox(double padding, double spacing, javafx.geometry.Pos alignment, javafx.scene.Node... children)
    • vbox

      public static javafx.scene.layout.VBox vbox(double padding, double spacing, javafx.scene.Node... children)
    • hbox

      public static javafx.scene.layout.HBox hbox(double padding, double spacing, javafx.geometry.Pos alignment, javafx.scene.Node... children)
    • hbox

      public static javafx.scene.layout.HBox hbox(double padding, double spacing, javafx.scene.Node... children)
    • button

      public static javafx.scene.control.Button button(String text, Runnable action)
    • hyperlink

      public static javafx.scene.control.Hyperlink hyperlink(String text, Runnable action)
    • icon

      public static javafx.scene.image.Image icon(String resourcePath)
    • icon

      public static javafx.scene.image.Image icon(URL resource)
    • iconView

      public static javafx.scene.image.ImageView iconView(javafx.scene.image.Image icon)
    • iconView

      public static javafx.scene.image.ImageView iconView(URL resource)
    • iconView

      public static javafx.scene.image.ImageView iconView(javafx.scene.image.Image icon, double size)
    • imageView

      public static javafx.scene.image.ImageView imageView(String path, double width, double height)
    • iconView

      public static javafx.scene.image.ImageView iconView(URL resource, double size)