public class CredentialsComponentUtil
extends java.lang.Object
CredentialsComponent#getAlias()
methodModifier and Type | Field and Description |
---|---|
static float |
LARGE_FONT
Large font for a connection configuration visual element
|
static java.lang.String |
LEGACY_DEMO_ALIAS
Legacy name for demo checkbox
|
static java.lang.String |
LEGACY_PASSWORD_ALIAS
Legacy name for password
|
static java.lang.String |
LEGACY_USERNAME_ALIAS
Legacy name for username
|
Constructor and Description |
---|
CredentialsComponentUtil() |
Modifier and Type | Method and Description |
---|---|
static java.awt.GridBagConstraints |
getGridBagConstraints(int gridy,
javax.swing.JComponent component)
Returns typical
GridBagConstraints for a JComponent which is
a part of CredentialsComponent compound component. |
public static final java.lang.String LEGACY_USERNAME_ALIAS
public static final java.lang.String LEGACY_PASSWORD_ALIAS
public static final java.lang.String LEGACY_DEMO_ALIAS
public static final float LARGE_FONT
public static java.awt.GridBagConstraints getGridBagConstraints(int gridy, javax.swing.JComponent component)
GridBagConstraints
for a JComponent
which is
a part of CredentialsComponent
compound component.gridy
- gridy for constraintscomponent
- a CredentialsComponent
element
(label/textField/checkbox etc.)CredentialsComponent#getCompoundComponent()}