Package com.pd4ml

Class CustomTag

    • Field Summary

      • Fields inherited from class com.pd4ml.util.Base

        LOG_ALL, LOG_CACHE, LOG_CSS, LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_FONTS, LOG_INFO, LOG_MINIMAL, LOG_PARSE, LOG_TRACE, LOG_USAGE, LOG_VERBOSE, LOG_WARN, NO_LOG, PD4ML_LOG_LEVEL
    • Constructor Summary

      Constructors 
      Constructor Description
      CustomTag()  
      CustomTag​(java.lang.String code, com.pd4ml.fonts.FontCache fontCache, CustomTag prime)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHeight​(int base)  
      java.lang.String getInnerCode()  
      CustomTag getInstance​(java.lang.String code, com.pd4ml.fonts.FontCache fontCache)  
      int getWidth​(int base)  
      boolean isEmptyTag()  
      void paint​(float x, float y, float width, float height, float containerWidth, float containerHeight, java.awt.Graphics2D g)  
      void paint​(float x, float y, java.awt.Graphics2D g)  
      void setElement​(com.pd4ml.html.doc.elements.Element element)  
      void setHeight​(int height)  
      void setInnerCode​(java.lang.String code)  
      void setWidth​(int width)  
      • Methods inherited from class com.pd4ml.util.Base

        log, printLog
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomTag

        public CustomTag()
      • CustomTag

        public CustomTag​(java.lang.String code,
                         com.pd4ml.fonts.FontCache fontCache,
                         CustomTag prime)
    • Method Detail

      • getInstance

        public CustomTag getInstance​(java.lang.String code,
                                     com.pd4ml.fonts.FontCache fontCache)
      • setElement

        public void setElement​(com.pd4ml.html.doc.elements.Element element)
      • getInnerCode

        public java.lang.String getInnerCode()
      • setInnerCode

        public void setInnerCode​(java.lang.String code)
      • getWidth

        public int getWidth​(int base)
      • getHeight

        public int getHeight​(int base)
      • setWidth

        public void setWidth​(int width)
      • setHeight

        public void setHeight​(int height)
      • paint

        public void paint​(float x,
                          float y,
                          float width,
                          float height,
                          float containerWidth,
                          float containerHeight,
                          java.awt.Graphics2D g)
      • paint

        public void paint​(float x,
                          float y,
                          java.awt.Graphics2D g)
      • isEmptyTag

        public boolean isEmptyTag()