Class JToolBarHandler

    • Constructor Detail

    • Method Detail

      • constantValue

        protected int constantValue​(String key,
                                    String value)
        Add support for orientation="vertical" and orientation="horizontal". These values should have been supported without any special effort on my part, but JToolBar's BeanInfo doesn't contain the enum attribute for the orientation property.
        Overrides:
        constantValue in class DefaultComponentHandler
        Parameters:
        key - the name of the int-typed property
        value - the non-numeric value that was specified for the property
        Returns:
        the constant integer value