Class JTextComponentHandler

java.lang.Object
All Implemented Interfaces:
TagHandler
Direct Known Subclasses:
JPasswordFieldHandler

public class JTextComponentHandler
extends DefaultComponentHandler
  • Field Details

    • ATTRIBUTE_LINE_WRAP

      public static final java.lang.String ATTRIBUTE_LINE_WRAP
      See Also:
      Constant Field Values
    • ATTRIBUTE_WRAP_STYLE_WORD

      public static final java.lang.String ATTRIBUTE_WRAP_STYLE_WORD
      See Also:
      Constant Field Values
    • ATTRIBUTE_COLUMNS

      public static final java.lang.String ATTRIBUTE_COLUMNS
      See Also:
      Constant Field Values
    • ATTRIBUTE_TEXT

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

    • JTextComponentHandler

      public JTextComponentHandler​(ClassDescriptor beanClass)
  • Method Details

    • setDefaults

      protected void setDefaults​(CompiledObject object, org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException
      Description copied from class: DefaultObjectHandler
      Initializes the default settings of the object, prior to setting its attribute values. The default implementation does nothing.
      Overrides:
      setDefaults in class DefaultComponentHandler
      Parameters:
      object - the object to initialize
      tag - the tag being compiled
      compiler - the current JAXXCompiler
      Throws:
      CompilerException
    • getAttributeOrdering

      protected int getAttributeOrdering​(org.w3c.dom.Attr attr)
      Description copied from class: DefaultObjectHandler
      Returns the priority with which a particular attribute should be processed. Lower numbers should be processed before higher numbers. This value is used by the DefaultObjectHandler.getAttributeComparator() method to define the sort ordering.
      Overrides:
      getAttributeOrdering in class DefaultObjectHandler
      Parameters:
      attr - the attribute to treate
      Returns:
      the attribute's priority
    • configureProxyEventInfo

      protected void configureProxyEventInfo()
      Description copied from class: DefaultObjectHandler
      Configures the event handling for members which do not fire PropertyChangeEvent when modified. The default implementation does nothing. Subclasses should override this method to call addProxyEventInfo for each member which requires special handling.
      Overrides:
      configureProxyEventInfo in class DefaultComponentHandler