Class JToolBarHandler

java.lang.Object
All Implemented Interfaces:
TagHandler

public class JToolBarHandler
extends DefaultComponentHandler
  • Field Details

    • ATTRIBUTE_ORIENTATION

      public static final java.lang.String ATTRIBUTE_ORIENTATION
      See Also:
      Constant Field Values
  • Constructor Details

  • Method Details

    • constantValue

      protected int constantValue​(java.lang.String key, java.lang.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