jaxx.compiler.tags.swing
Class TabHandler

java.lang.Object
  extended by jaxx.compiler.tags.swing.TabHandler
All Implemented Interfaces:
TagHandler

public class TabHandler
extends Object
implements TagHandler


Field Summary
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
           
 
Fields inherited from interface jaxx.compiler.tags.TagHandler
XMLNS_ATTRIBUTE
 
Constructor Summary
TabHandler()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_NAME

public static final String TAG_NAME
See Also:
Constant Field Values

ATTRIBUTE_ID

public static final String ATTRIBUTE_ID
See Also:
Constant Field Values

ATTRIBUTE_TITLE

public static final String ATTRIBUTE_TITLE
See Also:
Constant Field Values

ATTRIBUTE_TOOL_TIP_TEXT

public static final String ATTRIBUTE_TOOL_TIP_TEXT
See Also:
Constant Field Values

ATTRIBUTE_ICON

public static final String ATTRIBUTE_ICON
See Also:
Constant Field Values

ATTRIBUTE_ENABLED

public static final String ATTRIBUTE_ENABLED
See Also:
Constant Field Values

ATTRIBUTE_DISABLED_ICON

public static final String ATTRIBUTE_DISABLED_ICON
See Also:
Constant Field Values

ATTRIBUTE_MNEMONIC

public static final String ATTRIBUTE_MNEMONIC
See Also:
Constant Field Values

ATTRIBUTE_DISPLAYED_MNEMONIC_INDEX

public static final String ATTRIBUTE_DISPLAYED_MNEMONIC_INDEX
See Also:
Constant Field Values

ATTRIBUTE_FOREGROUND

public static final String ATTRIBUTE_FOREGROUND
See Also:
Constant Field Values

ATTRIBUTE_BACKGROUND

public static final String ATTRIBUTE_BACKGROUND
See Also:
Constant Field Values

ATTRIBUTE_TAB_COMPONENT

public static final String ATTRIBUTE_TAB_COMPONENT
See Also:
Constant Field Values
Constructor Detail

TabHandler

public TabHandler()
Method Detail

compileFirstPass

public void compileFirstPass(Element tag,
                             JAXXCompiler compiler)
                      throws CompilerException,
                             IOException
Description copied from interface: TagHandler
Performs the first 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:
compileFirstPass in interface TagHandler
Parameters:
tag - the XML tag to compile
compiler - the active JAXXCompiler
Throws:
CompilerException - if a compilation error occurs
IOException - if an I/O error occurs

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
Parameters:
tag - the XML tag to compile
compiler - the active JAXXCompiler
Throws:
CompilerException - if a compilation error occurs
IOException - if an I/O error occurs

setAttribute

public static void setAttribute(CompiledObject compiledTabInfo,
                                JTabbedPaneHandler.CompiledTabbedPane tabs,
                                String name,
                                String value,
                                JAXXCompiler compiler)
                         throws CompilerException
Throws:
CompilerException

setAttributes

public void setAttributes(CompiledObject compiledTabInfo,
                          JTabbedPaneHandler.CompiledTabbedPane tabs,
                          Element tag,
                          JAXXCompiler compiler)
                   throws CompilerException
Throws:
CompilerException

compileChildrenFirstPass

protected void compileChildrenFirstPass(Element tag,
                                        JAXXCompiler compiler)
                                 throws CompilerException,
                                        IOException
Throws:
CompilerException
IOException

compileChildTagFirstPass

protected void compileChildTagFirstPass(Element tag,
                                        JAXXCompiler compiler)
                                 throws CompilerException,
                                        IOException
Throws:
CompilerException
IOException

compileChildrenSecondPass

protected void compileChildrenSecondPass(Element tag,
                                         JAXXCompiler compiler)
                                  throws CompilerException,
                                         IOException
Throws:
CompilerException
IOException

compileChildTagSecondPass

protected void compileChildTagSecondPass(Element tag,
                                         JAXXCompiler compiler)
                                  throws CompilerException,
                                         IOException
Throws:
CompilerException
IOException


Copyright © 2008-2012 CodeLutin. All Rights Reserved.