public class TabHandler extends Object implements TagHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_BACKGROUND |
static String |
ATTRIBUTE_DISABLED_ICON |
static String |
ATTRIBUTE_DISPLAYED_MNEMONIC_INDEX |
static String |
ATTRIBUTE_ENABLED |
static String |
ATTRIBUTE_FOREGROUND |
static String |
ATTRIBUTE_ICON |
static String |
ATTRIBUTE_ID |
static String |
ATTRIBUTE_MNEMONIC |
static String |
ATTRIBUTE_TAB_COMPONENT |
static String |
ATTRIBUTE_TITLE |
static String |
ATTRIBUTE_TOOL_TIP_TEXT |
static String |
TAG_NAME |
XMLNS_ATTRIBUTE| Constructor and Description |
|---|
TabHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compileChildrenFirstPass(Element tag,
JAXXCompiler compiler) |
protected void |
compileChildrenSecondPass(Element tag,
JAXXCompiler compiler) |
protected void |
compileChildTagFirstPass(Element tag,
JAXXCompiler compiler) |
protected void |
compileChildTagSecondPass(Element tag,
JAXXCompiler compiler) |
void |
compileFirstPass(Element tag,
JAXXCompiler compiler)
Performs the first pass of compilation on an XML tag from a JAXX source file.
|
void |
compileSecondPass(Element tag,
JAXXCompiler compiler)
Performs the second pass of compilation on an XML tag from a JAXX source file.
|
static void |
setAttribute(CompiledObject compiledTabInfo,
JTabbedPaneHandler.CompiledTabbedPane tabs,
String name,
String value,
JAXXCompiler compiler) |
void |
setAttributes(CompiledObject compiledTabInfo,
JTabbedPaneHandler.CompiledTabbedPane tabs,
Element tag,
JAXXCompiler compiler) |
public static final String TAG_NAME
public static final String ATTRIBUTE_ID
public static final String ATTRIBUTE_TITLE
public static final String ATTRIBUTE_TOOL_TIP_TEXT
public static final String ATTRIBUTE_ICON
public static final String ATTRIBUTE_ENABLED
public static final String ATTRIBUTE_DISABLED_ICON
public static final String ATTRIBUTE_MNEMONIC
public static final String ATTRIBUTE_DISPLAYED_MNEMONIC_INDEX
public static final String ATTRIBUTE_FOREGROUND
public static final String ATTRIBUTE_BACKGROUND
public static final String ATTRIBUTE_TAB_COMPONENT
public void compileFirstPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
TagHandlerTagHandler implementations affect the generated .java
file by calling methods in the JAXXCompiler.compileFirstPass in interface TagHandlertag - the XML tag to compilecompiler - the active JAXXCompilerCompilerException - if a compilation error occursIOException - if an I/O error occurspublic 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 TagHandlertag - the XML tag to compilecompiler - the active JAXXCompilerCompilerException - if a compilation error occursIOException - if an I/O error occurspublic static void setAttribute(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, String name, String value, JAXXCompiler compiler) throws CompilerException
CompilerExceptionpublic void setAttributes(CompiledObject compiledTabInfo, JTabbedPaneHandler.CompiledTabbedPane tabs, Element tag, JAXXCompiler compiler) throws CompilerException
CompilerExceptionprotected void compileChildrenFirstPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
CompilerExceptionIOExceptionprotected void compileChildTagFirstPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
CompilerExceptionIOExceptionprotected void compileChildrenSecondPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
CompilerExceptionIOExceptionprotected void compileChildTagSecondPass(Element tag, JAXXCompiler compiler) throws CompilerException, IOException
CompilerExceptionIOExceptionCopyright © 2008–2019 Ultreia.io. All rights reserved.