Class CellPadding

  • All Implemented Interfaces:
    TagBase, TableAttributable, java.io.Serializable, java.lang.Cloneable


    public class CellPadding
    extends AbstractAttribute
    implements TableAttributable
     
     The cellpadding attribute specifies the space, in pixels, between the cell wall and the cell content.
    
     NB:- The cellpadding attribute of 
    is not supported in HTML5. Use CSS instead.
    Since:
    1.1.5
    See Also:
    Serialized Form
      • Constructor Summary

    Constructors 
    Constructor Description
    CellPadding​(int value)  
    CellPadding​(java.lang.String value)  
    • Constructor Detail

      • CellPadding

        public CellPadding​(java.lang.String value)
        Parameters:
        value - the the number of pixels
        Since:
        1.1.5
      • CellPadding

        public CellPadding​(int value)
        Parameters:
        value - the the number of pixels
        Since:
        1.1.5
    • Method Detail

      • init

        protected void init​()
        invokes only once per object
        Since:
        1.1.5
      • getValue

        public int getValue​()
        Returns:
        the the number pixels
        Since:
        1.1.5
      • setValue

        public void setValue​(int value)
        Parameters:
        value - the the number of pixels
        Since:
        1.1.5