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 float
LARGE_FONT
Large font for a connection configuration visual elementstatic java.lang.String
LEGACY_DEMO_ALIAS
Legacy name for demo checkboxstatic java.lang.String
LEGACY_PASSWORD_ALIAS
Legacy name for passwordstatic java.lang.String
LEGACY_USERNAME_ALIAS
Legacy name for username -
Constructor Summary
Constructors Constructor Description CredentialsComponentUtil()
-
Method Summary
Modifier and Type Method Description static java.awt.GridBagConstraints
getGridBagConstraints(int gridy, javax.swing.JComponent component)
Returns typicalGridBagConstraints
for aJComponent
which is a part ofCredentialsComponent
compound 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 typicalGridBagConstraints
for aJComponent
which is a part ofCredentialsComponent
compound component.- Parameters:
gridy
- gridy for constraintscomponent
- aCredentialsComponent
element (label/textField/checkbox etc.)- See Also:
CredentialsComponent.getCompoundComponent()
-