Interface EntityPanel.Builder

Enclosing class:
EntityPanel

public static interface EntityPanel.Builder
A builder for EntityPanel instances.
  • Method Details

    • entityType

      EntityType entityType()
      Returns:
      the entityType
    • caption

      EntityPanel.Builder caption(String caption)
      Parameters:
      caption - the panel caption
      Returns:
      this builder instance
    • caption

      Optional<String> caption()
      Returns:
      the caption, an empty Optional if none has been set
    • description

      EntityPanel.Builder description(String description)
      Parameters:
      description - the panel description
      Returns:
      this builder instance
    • description

      Optional<String> description()
      Returns:
      the description, an empty Optional if none has been set
    • icon

      Parameters:
      icon - the panel icon
      Returns:
      this builder instance
    • icon

      Returns:
      the icon, an empty Optional if none has been set
    • build

      EntityPanel build(EntityConnectionProvider connectionProvider)
      Builds an EntityPanel based on this builder configuration.
      Parameters:
      connectionProvider - the connection provider
      Returns:
      an EntityPanel based on this builder