Class NamePanel

    • Constructor Detail

      • NamePanel

        public NamePanel()
        Default constructor with a default line flow layout.
      • NamePanel

        public NamePanel​(Layout<?> layout)
        Layout constructor.
        Parameters:
        layout - The layout definition for the container.
        Throws:
        java.lang.NullPointerException - if the given layout is null.
    • Method Detail

      • getFamilyNameControl

        public TextControl<java.lang.String> getFamilyNameControl()
        Returns:
        The family name text field.
      • getGivenNameControl

        public TextControl<java.lang.String> getGivenNameControl()
        Returns:
        The given name text field.
      • getAdditionalNameControl

        public TextControl<java.lang.String> getAdditionalNameControl()
        Returns:
        The additional name text field.
      • getHonorificPrefixControl

        public ListControl<java.lang.String> getHonorificPrefixControl()
        Returns:
        The honorific prefix list control.
      • getHonorificSuffixControl

        public ListControl<java.lang.String> getHonorificSuffixControl()
        Returns:
        The honorific suffix list control.
      • setVCardName

        public void setVCardName​(com.globalmentor.text.directory.vcard.Name name)
                          throws java.beans.PropertyVetoException
        Places the name information into the various fields.
        Parameters:
        name - The name to place in the fields, or null if no information should be displayed.
        Throws:
        java.beans.PropertyVetoException - if the provided value is not valid or the change has otherwise been vetoed.
      • getVCardName

        public com.globalmentor.text.directory.vcard.Name getVCardName()
        Returns:
        An object representing the VCard name information entered, or null if no name was entered.