jaxx.compiler.tags.swing
Class JAXXTreeHandler

java.lang.Object
  extended by jaxx.compiler.tags.DefaultObjectHandler
      extended by jaxx.compiler.tags.DefaultComponentHandler
          extended by jaxx.compiler.tags.swing.JAXXTreeHandler
All Implemented Interfaces:
TagHandler

public class JAXXTreeHandler
extends DefaultComponentHandler


Field Summary
 
Fields inherited from class jaxx.compiler.tags.DefaultComponentHandler
ACTION_ICON_ATTRIBUTE, CONTAINER_DELEGATE_ATTRIBUTE, FONT_FACE_ATTRIBUTE, FONT_SIZE_ATTRIBUTE, FONT_STYLE_ATTRIBUTE, FONT_WEIGHT_ATTRIBUTE, HEIGHT_ATTRIBUTE, ICON_ATTRIBUTE, log, NAME_ATTRIBUTE, WIDTH_ATTRIBUTE, X_ATTRIBUTE, Y_ATTRIBUTE
 
Fields inherited from class jaxx.compiler.tags.DefaultObjectHandler
ABSTRACT_ATTRIBUTE, CONSTRAINTS_ATTRIBUTE, CONSTRUCTOR_PARAMS_ATTRIBUTE, DECORATOR_ATTRIBUTE, DISPLAYED_MNEMONIC_ATTRIBUTE, DISPLAYED_MNEMONIC_INDEX_ATTRIBUTE, GENERICTYPE_ATTRIBUTE, ID_ATTRIBUTE, IMPLEMENTS_ATTRIBUTE, INITIALIZER_ATTRIBUTE, JAVA_BEAN_ATTRIBUTE, jaxxBeanInfo, LAYOUT_ATTRIBUTE, MNEMONIC_ATTRIBUTE, objectMap, STYLE_CLASS_ATTRIBUTE, SUPER_GENERIC_TYPE_ATTRIBUTE
 
Fields inherited from interface jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE
 
Constructor Summary
JAXXTreeHandler(ClassDescriptor beanClass)
           
 
Method Summary
 void compileChildrenSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler)
          Compiles the child tags of the current tag.
protected  void configureProxyEventInfo()
          Configures the event handling for members which do not fire PropertyChangeEvent when modified.
 CompiledObject createCompiledObject(java.lang.String id, JAXXCompiler compiler)
          Creates the CompiledObject which will represent the object created by this TagHandler.
 
Methods inherited from class jaxx.compiler.tags.DefaultComponentHandler
closeComponent, compileFirstPass, compileSecondPass, constantValue, getContainerDelegate, getGetPropertyCode, getPropertyType, getSetPropertyCode, init, isContainer, isPropertyInherited, openComponent, scanAttributesForDependencies, setAttribute, setDefaults
 
Methods inherited from class jaxx.compiler.tags.DefaultObjectHandler
addEventHandler, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, applyStylesheets, compileChildrenFirstPass, compileChildTagFirstPass, compileChildTagSecondPass, convertFromString, getAddMemberListenerCode, getAttributeComparator, getAttributeOrdering, getBeanClass, getJAXXBeanInfo, getJAXXBeanInfo, getRemoveMemberListenerCode, isEventHandlerName, isMemberBound, registerCompiledObject, safeInit, setAttributes, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAXXTreeHandler

public JAXXTreeHandler(ClassDescriptor beanClass)
Method Detail

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

createCompiledObject

public CompiledObject createCompiledObject(java.lang.String id,
                                           JAXXCompiler compiler)
                                    throws CompilerException
Description copied from class: DefaultObjectHandler
Creates the CompiledObject which will represent the object created by this TagHandler.

Overrides:
createCompiledObject in class DefaultObjectHandler
Parameters:
id - the CompiledObject's ID.
compiler - compiler to use
Returns:
the CompiledObject to use
Throws:
CompilerException

compileChildrenSecondPass

public void compileChildrenSecondPass(org.w3c.dom.Element tag,
                                      JAXXCompiler compiler)
                               throws CompilerException,
                                      java.io.IOException
Description copied from class: DefaultObjectHandler
Compiles the child tags of the current tag. The default implementation invokes DefaultObjectHandler.compileChildTagFirstPass(org.w3c.dom.Element, jaxx.compiler.JAXXCompiler) for each child tag.

Overrides:
compileChildrenSecondPass in class DefaultObjectHandler
Parameters:
tag - the tag whose children to run
compiler - the current JAXXCompiler
Throws:
CompilerException - if a compilation error occurs
java.io.IOException - if an I/O error occurs


Copyright © 2008-2009 CodeLutin. All Rights Reserved.