Class NestingAttributes


  • public class NestingAttributes
    extends AttributeBase
    Model component for nesting attribute group in binding definition.
    Author:
    Dennis M. Sosnoski
    • Field Detail

      • s_allowedAttributes

        public static final StringArray s_allowedAttributes
        Enumeration of allowed attribute names
      • s_styleEnum

        static final EnumSet s_styleEnum
      • m_styleName

        private java.lang.String m_styleName
        Supplied style name.
      • m_styleIndex

        private int m_styleIndex
        Actual selected style.
    • Constructor Detail

      • NestingAttributes

        public NestingAttributes()
    • Method Detail

      • getStyleName

        public java.lang.String getStyleName()
        Get style string value.
        Returns:
        style string value (null if undefined at this level)
      • setStyleName

        public void setStyleName​(java.lang.String name)
        Set style name.
        Parameters:
        name - style name (null to undefine style at this level)
      • prevalidate

        public void prevalidate​(ValidationContext vctx)
        Description copied from class: AttributeBase
        Prevalidate attribute information. The prevalidation step is used to check attribute values in isolation, such as the settings for enumerated values and class file information. This empty base class implementation should be overridden by each subclass that requires prevalidation handling.
        Overrides:
        prevalidate in class AttributeBase
        Parameters:
        vctx - validation context