Class CredentialsComponentUtil
java.lang.Object
velox.api.layer0.credentialscomponents.CredentialsComponentUtil
public class CredentialsComponentUtil
extends java.lang.Object
Contains legacy field names which may be specified as aliases
in
CredentialsComponent.getAliases() method-
Field Summary
Fields Modifier and Type Field Description static floatLARGE_FONTLarge font for a connection configuration visual elementstatic java.lang.StringLEGACY_DEMO_ALIASLegacy name for demo checkboxstatic java.lang.StringLEGACY_PASSWORD_ALIASLegacy name for passwordstatic java.lang.StringLEGACY_USERNAME_ALIASLegacy name for username -
Constructor Summary
Constructors Constructor Description CredentialsComponentUtil() -
Method Summary
Modifier and Type Method Description static java.awt.GridBagConstraintsgetGridBagConstraints(int gridy, javax.swing.JComponent component)Returns typicalGridBagConstraintsfor aJComponentwhich is a part ofCredentialsComponentcompound component.
-
Field Details
-
LEGACY_USERNAME_ALIAS
public static final java.lang.String LEGACY_USERNAME_ALIASLegacy name for username- See Also:
- Constant Field Values
-
LEGACY_PASSWORD_ALIAS
public static final java.lang.String LEGACY_PASSWORD_ALIASLegacy name for password- See Also:
- Constant Field Values
-
LEGACY_DEMO_ALIAS
public static final java.lang.String LEGACY_DEMO_ALIASLegacy name for demo checkbox- See Also:
- Constant Field Values
-
LARGE_FONT
public static final float LARGE_FONTLarge font for a connection configuration visual element- See Also:
- Constant Field Values
-
-
Constructor Details
-
CredentialsComponentUtil
public CredentialsComponentUtil()
-
-
Method Details
-
getGridBagConstraints
public static java.awt.GridBagConstraints getGridBagConstraints(int gridy, javax.swing.JComponent component)Returns typicalGridBagConstraintsfor aJComponentwhich is a part ofCredentialsComponentcompound component.- Parameters:
gridy- gridy for constraintscomponent- aCredentialsComponentelement (label/textField/checkbox etc.)- See Also:
CredentialsComponent.getCompoundComponent()
-