Class EntityApplication<M extends SwingEntityApplicationModel,P extends EntityApplicationPanel<M>>

java.lang.Object
is.codion.swing.framework.ui.EntityApplication<M,P>
Type Parameters:
M - the application model type
P - the application panel type

public final class EntityApplication<M extends SwingEntityApplicationModel,P extends EntityApplicationPanel<M>> extends Object
Builds and starts an application.
See Also:
  • Field Details

    • USER

      public static final PropertyValue<String> USER
      Specifies the user for logging into the application on the form user:password. If one is specified no login dialog is presented.

      Initialized with the value of the CODION_CLIENT_USER environment variable.

      Warning: System properties are visible in process listings. Use only for development/testing. In production, use secure credential management.

      • Value type: String
      • Default value: System.getenv("CODION_CLIENT_USER")
      See Also:
    • SAVE_DEFAULT_USERNAME

      public static final PropertyValue<Boolean> SAVE_DEFAULT_USERNAME
      Specifies whether the client saves the last successful login username, which is then displayed as the default username the next time the application is started
      • Value type: Boolean
      • Default value: true
    • STARTUP_DIALOG

      public static final PropertyValue<Boolean> STARTUP_DIALOG
      Specifies whether a startup dialog should be shown
      • Value type: Boolean
      • Default value: true
    • CONNECTION_INFO_UPPER_CASE

      public static final PropertyValue<Boolean> CONNECTION_INFO_UPPER_CASE

      Specifies whether the connection information displayed in the frame title is automatically converted to upper case.

      If not, the username as input via the login dialog is used along with the connection description as provided by the underlying EntityConnectionProvider. This may result in "Scott@DevDb" or "scott@DEVSERVER@hostname" instead of the default "SCOTT@DEVDB" or "SCOTT@DEVSERVER@HOSTNAME".

      • Value type: Boolean
      • Default value: true
  • Method Details