Package jaxx.compiler.tags.swing
Class TabHandler
java.lang.Object
jaxx.compiler.tags.swing.TabHandler
- All Implemented Interfaces:
TagHandler
public class TabHandler extends java.lang.Object implements TagHandler
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTRIBUTE_BACKGROUNDstatic java.lang.StringATTRIBUTE_DISABLED_ICONstatic java.lang.StringATTRIBUTE_DISPLAYED_MNEMONIC_INDEXstatic java.lang.StringATTRIBUTE_ENABLEDstatic java.lang.StringATTRIBUTE_FOREGROUNDstatic java.lang.StringATTRIBUTE_ICONstatic java.lang.StringATTRIBUTE_IDstatic java.lang.StringATTRIBUTE_MNEMONICstatic java.lang.StringATTRIBUTE_TAB_COMPONENTstatic java.lang.StringATTRIBUTE_TITLEstatic java.lang.StringATTRIBUTE_TOOL_TIP_TEXTstatic java.lang.StringTAG_NAMEFields inherited from interface jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE -
Constructor Summary
Constructors Constructor Description TabHandler() -
Method Summary
Modifier and Type Method Description protected voidcompileChildrenFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler)protected voidcompileChildrenSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler)protected voidcompileChildTagFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler)protected voidcompileChildTagSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler)voidcompileFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler)Performs the first pass of compilation on an XML tag from a JAXX source file.voidcompileSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler)Performs the second pass of compilation on an XML tag from a JAXX source file.static voidsetAttribute(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, java.lang.String name, java.lang.String value, JAXXCompiler compiler)voidsetAttributes(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, org.w3c.dom.Element tag, JAXXCompiler compiler)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TAG_NAME
public static final java.lang.String TAG_NAME- See Also:
- Constant Field Values
-
ATTRIBUTE_ID
public static final java.lang.String ATTRIBUTE_ID- See Also:
- Constant Field Values
-
ATTRIBUTE_TITLE
public static final java.lang.String ATTRIBUTE_TITLE- See Also:
- Constant Field Values
-
ATTRIBUTE_TOOL_TIP_TEXT
public static final java.lang.String ATTRIBUTE_TOOL_TIP_TEXT- See Also:
- Constant Field Values
-
ATTRIBUTE_ICON
public static final java.lang.String ATTRIBUTE_ICON- See Also:
- Constant Field Values
-
ATTRIBUTE_ENABLED
public static final java.lang.String ATTRIBUTE_ENABLED- See Also:
- Constant Field Values
-
ATTRIBUTE_DISABLED_ICON
public static final java.lang.String ATTRIBUTE_DISABLED_ICON- See Also:
- Constant Field Values
-
ATTRIBUTE_MNEMONIC
public static final java.lang.String ATTRIBUTE_MNEMONIC- See Also:
- Constant Field Values
-
ATTRIBUTE_DISPLAYED_MNEMONIC_INDEX
public static final java.lang.String ATTRIBUTE_DISPLAYED_MNEMONIC_INDEX- See Also:
- Constant Field Values
-
ATTRIBUTE_FOREGROUND
public static final java.lang.String ATTRIBUTE_FOREGROUND- See Also:
- Constant Field Values
-
ATTRIBUTE_BACKGROUND
public static final java.lang.String ATTRIBUTE_BACKGROUND- See Also:
- Constant Field Values
-
ATTRIBUTE_TAB_COMPONENT
public static final java.lang.String ATTRIBUTE_TAB_COMPONENT- See Also:
- Constant Field Values
-
-
Constructor Details
-
TabHandler
public TabHandler()
-
-
Method Details
-
compileFirstPass
public void compileFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOExceptionDescription copied from interface:TagHandlerPerforms the first pass of compilation on an XML tag from a JAXX source file.TagHandlerimplementations affect the generated.javafile by calling methods in theJAXXCompiler.- Specified by:
compileFirstPassin interfaceTagHandler- Parameters:
tag- the XML tag to compilecompiler- the active JAXXCompiler- Throws:
CompilerException- if a compilation error occursjava.io.IOException- if an I/O error occurs
-
compileSecondPass
public void compileSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOExceptionDescription copied from interface:TagHandlerPerforms the second pass of compilation on an XML tag from a JAXX source file.TagHandlerimplementations affect the generated.javafile by calling methods in theJAXXCompiler.- Specified by:
compileSecondPassin interfaceTagHandler- Parameters:
tag- the XML tag to compilecompiler- the active JAXXCompiler- Throws:
CompilerException- if a compilation error occursjava.io.IOException- if an I/O error occurs
-
setAttribute
public static void setAttribute(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, java.lang.String name, java.lang.String value, JAXXCompiler compiler) throws CompilerException- Throws:
CompilerException
-
setAttributes
public void setAttributes(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException- Throws:
CompilerException
-
compileChildrenFirstPass
protected void compileChildrenFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException- Throws:
CompilerExceptionjava.io.IOException
-
compileChildTagFirstPass
protected void compileChildTagFirstPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException- Throws:
CompilerExceptionjava.io.IOException
-
compileChildrenSecondPass
protected void compileChildrenSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException- Throws:
CompilerExceptionjava.io.IOException
-
compileChildTagSecondPass
protected void compileChildTagSecondPass(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException- Throws:
CompilerExceptionjava.io.IOException
-