public class TabHandler extends DefaultObjectHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
TabHandler.CompiledTabbedTab |
DefaultObjectHandler.ProxyEventInfo| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_TAB_COMPONENT |
static String |
TAG_NAME |
ABSTRACT_ATTRIBUTE, BORDER_LAYOUT_PREFIX, CONSTRAINTS_ATTRIBUTE, CONSTRUCTOR_PARAMS_ATTRIBUTE, DECORATOR_ATTRIBUTE, DISPLAYED_MNEMONIC_ATTRIBUTE, DISPLAYED_MNEMONIC_INDEX_ATTRIBUTE, GENERIC_TYPE_ATTRIBUTE, GRID_LAYOUT_PREFIX, HANDLER_ATTRIBUTE, I18N_ATTRIBUTE, I18N_PROPERTY_ATTRIBUTE, ID_ATTRIBUTE, IMPLEMENTS_ATTRIBUTE, INITIALIZER_ATTRIBUTE, JAVA_BEAN_ATTRIBUTE, jaxxBeanInfo, LAYOUT_ATTRIBUTE, MNEMONIC_ATTRIBUTE, objectMap, OVERRIDE_PARAMETER, STYLE_CLASS_ATTRIBUTE, SUPER_GENERIC_TYPE_ATTRIBUTEXMLNS_ATTRIBUTE| Constructor and Description |
|---|
TabHandler(ClassDescriptor beanClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
compileSecondPass(Element tag,
JAXXCompiler compiler)
Performs the second pass of compilation on an XML tag from a JAXX source file.
|
protected CompiledObject |
createCompiledObject(String id,
JAXXCompiler compiler)
Creates the
CompiledObject which will represent the object
created by this TagHandler. |
protected CompiledObject |
getSafeCompiledObject(Element tag,
JAXXCompiler compiler) |
void |
setAttribute(CompiledObject object,
String propertyName,
String stringValue,
boolean inline,
JAXXCompiler compiler)
Set a single property on an object.
|
addEventHandler, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, addProxyEventInfo, applyStylesheets, cleanConstructorParams, compileChildrenFirstPass, compileChildrenSecondPass, compileChildTagFirstPass, compileChildTagSecondPass, compileFirstPass, configureProxyEventInfo, constantValue, convertFromString, getAttributeComparator, getAttributeOrdering, getBeanClass, getEventClass, getEventInfo, getGetPropertyCode, getJAXXBeanInfo, getJAXXBeanInfo, getPropertyType, getSetPropertyCode, init, isEventHandlerName, isMemberBound, isPropertyInherited, registerCompiledObject, safeInit, scanAttributesForDependencies, setAttributeFromCss, setAttributes, setDefaults, setProperty, toStringpublic static final String TAG_NAME
public static final String ATTRIBUTE_TAB_COMPONENT
public TabHandler(ClassDescriptor beanClass)
protected CompiledObject createCompiledObject(String id, JAXXCompiler compiler)
DefaultObjectHandlerCompiledObject which will represent the object
created by this TagHandler.createCompiledObject in class DefaultObjectHandlerid - the CompiledObject's ID.compiler - compiler to useCompiledObject to useprotected CompiledObject getSafeCompiledObject(Element tag, JAXXCompiler compiler)
getSafeCompiledObject in class DefaultObjectHandlerpublic void compileSecondPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
TagHandlerTagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.compileSecondPass in interface TagHandlercompileSecondPass in class DefaultObjectHandlertag - the XML tag to compilecompiler - the active JAXXCompilerCompilerException - if a compilation error occursIOException - if an I/O error occurspublic void setAttribute(CompiledObject object, String propertyName, String stringValue, boolean inline, JAXXCompiler compiler)
DefaultObjectHandlerDefaultObjectHandler.convertFromString(String, String, Class).setAttribute in class DefaultObjectHandlerobject - the object on which to set the propertypropertyName - the name of the property to setstringValue - the raw string value of the property from the XMLinline - true if the value was directly specified as an inline class tag attribute, false otherwise (a default value, specified in CSS, etc.)compiler - the current JAXXCompilerCopyright © 2008–2020 Ultreia.io. All rights reserved.