/** * Creates a Heading with the passed in size and text. * * @param size size of the heading * @param text text for the heading * @param subText subtext for the heading */ public Heading(final HeadingSize size, final String text, final String subText) { this(size, text); setSubText(subText); }