程序包 com.tlcsdm.login

记录类 LoginNodes

java.lang.Object
java.lang.Record
com.tlcsdm.login.LoginNodes

public record LoginNodes(javafx.scene.control.Label nameLabel, javafx.scene.control.Label passwordLabel, javafx.scene.layout.HBox user, javafx.scene.layout.HBox password, javafx.scene.control.TextField tfUser, javafx.scene.control.PasswordField tfPassword, javafx.scene.control.Button btLogIn, javafx.scene.control.Button btSignIn, javafx.scene.layout.HBox h3) extends Record
LoginFrame中的Node组件, 传递到应用模块进行定制化处理
作者:
unknowIfGuestInDream
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private final javafx.scene.control.Button
    btLogIn 记录组件的字段。
    private final javafx.scene.control.Button
    btSignIn 记录组件的字段。
    private final javafx.scene.layout.HBox
    h3 记录组件的字段。
    private final javafx.scene.control.Label
    nameLabel 记录组件的字段。
    private final javafx.scene.layout.HBox
    password 记录组件的字段。
    private final javafx.scene.control.Label
    passwordLabel 记录组件的字段。
    private final javafx.scene.control.PasswordField
    tfPassword 记录组件的字段。
    private final javafx.scene.control.TextField
    tfUser 记录组件的字段。
    private final javafx.scene.layout.HBox
    user 记录组件的字段。
  • 构造器概要

    构造器
    构造器
    说明
    LoginNodes(javafx.scene.control.Label nameLabel, javafx.scene.control.Label passwordLabel, javafx.scene.layout.HBox user, javafx.scene.layout.HBox password, javafx.scene.control.TextField tfUser, javafx.scene.control.PasswordField tfPassword, javafx.scene.control.Button btLogIn, javafx.scene.control.Button btSignIn, javafx.scene.layout.HBox h3)
    创建 LoginNodes 记录类的实例。
  • 方法概要

    修饰符和类型
    方法
    说明
    javafx.scene.control.Button
    返回 btLogIn 记录组件的值。
    javafx.scene.control.Button
    返回 btSignIn 记录组件的值。
    final boolean
    指示某个其他对象是否“等于”此对象。
    javafx.scene.layout.HBox
    h3()
    返回 h3 记录组件的值。
    final int
    返回此对象的哈希代码值。
    javafx.scene.control.Label
    返回 nameLabel 记录组件的值。
    javafx.scene.layout.HBox
    返回 password 记录组件的值。
    javafx.scene.control.Label
    返回 passwordLabel 记录组件的值。
    javafx.scene.control.PasswordField
    返回 tfPassword 记录组件的值。
    javafx.scene.control.TextField
    返回 tfUser 记录组件的值。
    final String
    返回此记录类的字符串表示形式。
    javafx.scene.layout.HBox
    返回 user 记录组件的值。

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

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • nameLabel

      private final javafx.scene.control.Label nameLabel
      nameLabel 记录组件的字段。
    • passwordLabel

      private final javafx.scene.control.Label passwordLabel
      passwordLabel 记录组件的字段。
    • user

      private final javafx.scene.layout.HBox user
      user 记录组件的字段。
    • password

      private final javafx.scene.layout.HBox password
      password 记录组件的字段。
    • tfUser

      private final javafx.scene.control.TextField tfUser
      tfUser 记录组件的字段。
    • tfPassword

      private final javafx.scene.control.PasswordField tfPassword
      tfPassword 记录组件的字段。
    • btLogIn

      private final javafx.scene.control.Button btLogIn
      btLogIn 记录组件的字段。
    • btSignIn

      private final javafx.scene.control.Button btSignIn
      btSignIn 记录组件的字段。
    • h3

      private final javafx.scene.layout.HBox h3
      h3 记录组件的字段。
  • 构造器详细资料

    • LoginNodes

      public LoginNodes(javafx.scene.control.Label nameLabel, javafx.scene.control.Label passwordLabel, javafx.scene.layout.HBox user, javafx.scene.layout.HBox password, javafx.scene.control.TextField tfUser, javafx.scene.control.PasswordField tfPassword, javafx.scene.control.Button btLogIn, javafx.scene.control.Button btSignIn, javafx.scene.layout.HBox h3)
      创建 LoginNodes 记录类的实例。
      参数:
      nameLabel - nameLabel 记录组件的值
      passwordLabel - passwordLabel 记录组件的值
      user - user 记录组件的值
      password - password 记录组件的值
      tfUser - tfUser 记录组件的值
      tfPassword - tfPassword 记录组件的值
      btLogIn - btLogIn 记录组件的值
      btSignIn - btSignIn 记录组件的值
      h3 - h3 记录组件的值
  • 方法详细资料

    • toString

      public final String toString()
      返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。
      指定者:
      toString 在类中 Record
      返回:
      此对象的字符串表示形式
    • hashCode

      public final int hashCode()
      返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。
      指定者:
      hashCode 在类中 Record
      返回:
      此对象的哈希代码值
    • equals

      public final boolean equals(Object o)
      指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 此记录类中的所有组件都使用 Objects::equals(Object,Object) 进行比较。
      指定者:
      equals 在类中 Record
      参数:
      o - 要与之进行比较的对象
      返回:
      如果此对象与 o 参数相同,则为 true;否则为 false
    • nameLabel

      public javafx.scene.control.Label nameLabel()
      返回 nameLabel 记录组件的值。
      返回:
      nameLabel 记录组件的值
    • passwordLabel

      public javafx.scene.control.Label passwordLabel()
      返回 passwordLabel 记录组件的值。
      返回:
      passwordLabel 记录组件的值
    • user

      public javafx.scene.layout.HBox user()
      返回 user 记录组件的值。
      返回:
      user 记录组件的值
    • password

      public javafx.scene.layout.HBox password()
      返回 password 记录组件的值。
      返回:
      password 记录组件的值
    • tfUser

      public javafx.scene.control.TextField tfUser()
      返回 tfUser 记录组件的值。
      返回:
      tfUser 记录组件的值
    • tfPassword

      public javafx.scene.control.PasswordField tfPassword()
      返回 tfPassword 记录组件的值。
      返回:
      tfPassword 记录组件的值
    • btLogIn

      public javafx.scene.control.Button btLogIn()
      返回 btLogIn 记录组件的值。
      返回:
      btLogIn 记录组件的值
    • btSignIn

      public javafx.scene.control.Button btSignIn()
      返回 btSignIn 记录组件的值。
      返回:
      btSignIn 记录组件的值
    • h3

      public javafx.scene.layout.HBox h3()
      返回 h3 记录组件的值。
      返回:
      h3 记录组件的值