Interface EmbeddedComponents.Factory

Enclosing class:
EmbeddedComponents

public static interface EmbeddedComponents.Factory
Creates the components of one type and reads their state back.
  • Method Summary

    Modifier and Type
    Method
    Description
    A component showing an embedded component's state.
    state(Component component)
    The state a component holds now, to store in the document.
  • Method Details

    • create

      Component create(EmbeddedComponent embedded)

      A component showing an embedded component's state.

      Parameters
      • embedded: the embedded component, with its state and size in points
      Returns

      the component, or null to leave its box empty

    • state

      String state(Component component)

      The state a component holds now, to store in the document.

      Parameters
      • component: a component this factory created
      Returns

      the state string