jaxx.compiler.tags.swing
Class JWindowHandler
java.lang.Object
jaxx.compiler.tags.DefaultObjectHandler
jaxx.compiler.tags.DefaultComponentHandler
jaxx.compiler.tags.swing.JWindowHandler
- All Implemented Interfaces:
- TagHandler
- Direct Known Subclasses:
- ApplicationHandler
public class JWindowHandler
- extends DefaultComponentHandler
| 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 |
| Methods inherited from class jaxx.compiler.tags.DefaultComponentHandler |
closeComponent, compileFirstPass, configureProxyEventInfo, constantValue, getContainerDelegate, getGetPropertyCode, getPropertyType, getSetPropertyCode, init, isContainer, isPropertyInherited, scanAttributesForDependencies, setAttribute, setDefaults |
| Methods inherited from class jaxx.compiler.tags.DefaultObjectHandler |
addEventHandler, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, applyStylesheets, compileChildrenFirstPass, compileChildrenSecondPass, compileChildTagFirstPass, compileChildTagSecondPass, convertFromString, getAttributeComparator, getAttributeOrdering, getBeanClass, getEventClass, getEventInfo, getJAXXBeanInfo, getJAXXBeanInfo, isEventHandlerName, isMemberBound, registerCompiledObject, safeInit, setAttributes, setProperty, toString |
JWindowHandler
public JWindowHandler(ClassDescriptor beanClass)
createCompiledObject
public CompiledObject createCompiledObject(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
openComponent
protected void openComponent(CompiledObject object,
Element tag,
JAXXCompiler compiler)
throws CompilerException
- Overrides:
openComponent in class DefaultComponentHandler
- Throws:
CompilerException
compileSecondPass
public void compileSecondPass(Element tag,
JAXXCompiler compiler)
throws CompilerException,
IOException
- Description copied from interface:
TagHandler
- Performs the second pass of compilation on an XML tag from a JAXX source file.
TagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.
- Specified by:
compileSecondPass in interface TagHandler- Overrides:
compileSecondPass in class DefaultComponentHandler
- Parameters:
tag - the XML tag to compilecompiler - the active JAXXCompiler
- Throws:
CompilerException - if a compilation error occurs
IOException - if an I/O error occurs
Copyright © 2008-2010 CodeLutin. All Rights Reserved.