Class CellHandler

java.lang.Object
jaxx.compiler.tags.swing.CellHandler
All Implemented Interfaces:
TagHandler

public class CellHandler
extends java.lang.Object
implements TagHandler
  • Field Details

  • Constructor Details

    • CellHandler

      public CellHandler()
  • Method Details

    • compileFirstPass

      public void compileFirstPass​(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.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
      java.io.IOException - if an I/O error occurs
    • compileSecondPass

      public void compileSecondPass​(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.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
      java.io.IOException - if an I/O error occurs
    • setAttribute

      public static void setAttribute​(java.awt.GridBagConstraints c, java.lang.String name, java.lang.String value) throws CompilerException
      Throws:
      CompilerException
    • setAttributes

      public static void setAttributes​(java.awt.GridBagConstraints c, org.w3c.dom.Element tag) throws CompilerException
      Throws:
      CompilerException
    • compileChildrenFirstPass

      protected void compileChildrenFirstPass​(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException
      Throws:
      CompilerException
      java.io.IOException
    • compileChildrenSecondPass

      protected void compileChildrenSecondPass​(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException
      Throws:
      CompilerException
      java.io.IOException
    • compileChildTagFirstPass

      protected void compileChildTagFirstPass​(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException
      Throws:
      CompilerException
      java.io.IOException
    • compileChildTagSecondPass

      protected void compileChildTagSecondPass​(org.w3c.dom.Element tag, JAXXCompiler compiler) throws CompilerException, java.io.IOException
      Throws:
      CompilerException
      java.io.IOException