jaxx.compiler.tags.swing
Class JInternalFrameHandler

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

public class JInternalFrameHandler
extends DefaultComponentHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class jaxx.compiler.tags.DefaultObjectHandler
DefaultObjectHandler.ProxyEventInfo
 
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
JInternalFrameHandler(ClassDescriptor beanClass)
           
 
Method Summary
 CompiledObject createCompiledObject(String id, JAXXCompiler compiler)
          Creates the CompiledObject which will represent the object created by this TagHandler.
 void setAttributes(CompiledObject object, Element tag, JAXXCompiler compiler)
          Processes the attributes of an XML tag.
protected  void setDefaults(CompiledObject object, Element tag, JAXXCompiler compiler)
          Initializes the default settings of the object, prior to setting its attribute values.
 
Methods inherited from class jaxx.compiler.tags.DefaultComponentHandler
closeComponent, compileFirstPass, compileSecondPass, configureProxyEventInfo, constantValue, getContainerDelegate, getGetPropertyCode, getPropertyType, getSetPropertyCode, init, isContainer, isPropertyInherited, openComponent, scanAttributesForDependencies, setAttribute
 
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, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JInternalFrameHandler

public JInternalFrameHandler(ClassDescriptor beanClass)
Method Detail

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

setDefaults

protected void setDefaults(CompiledObject object,
                           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

setAttributes

public void setAttributes(CompiledObject object,
                          Element tag,
                          JAXXCompiler compiler)
                   throws CompilerException
Description copied from class: DefaultObjectHandler
Processes the attributes of an XML tag. Four kinds of attributes are supported: simple property values (of any datatype supported by DefaultObjectHandler.convertFromString(java.lang.String, java.lang.String, java.lang.Class)), data binding expressions (attributes containing curly-brace pairs), event listeners (attributes starting with 'on', such as 'onActionPerformed'), and JAXX-defined properties such as 'id'.

Overrides:
setAttributes in class DefaultObjectHandler
Parameters:
object - the object to be modified
tag - the tag from which to pull attributes
compiler - the current JAXXCompiler
Throws:
CompilerException


Copyright © 2008-2010 CodeLutin. All Rights Reserved.