Table of Contents

PasswordField

com.ergotech.vib.graphics.swing.SwingPasswordField

Image Examples

PasswordField in the graphics palette PasswordField graphic example
PasswordField in the graphics palette. PasswordField graphic example.

Overview

The PasswordField graphic is a More Layout text input graphic used to enter hidden or masked text.

PasswordField is useful when an application needs a text entry field where the typed characters should not be shown directly on the screen.

PasswordField sends the entered text through its output.

Common Uses

Input Behavior

PasswordField can be updated from an input connection.

The updateDisplayedValue port updates the displayed value from logic, a data source, or another component.

Output Behavior

PasswordField sends the entered text through PrimaryOutPort.

The output value is the string entered in the field.

PasswordField-Specific Behavior

PasswordField is designed for hidden text entry.

PasswordField-specific settings include:

Logic Ports

In the Logic Editor, PasswordField includes these default ports:

The PrimaryOutPort sends the entered text value.

The updateDisplayedValue port updates the displayed PasswordField value from another source.

The clearDataConnection port clears the data connection.

Notes

Use PasswordField when users need to enter hidden or masked text.

PasswordField masks the entered text visually, but the value should still be handled securely by the application logic and any connected systems.

For editable multi-line text, use EditableTextArea.

For static text display, use Label.

For general graphic behavior, see Active Graphic.