All Implemented Interfaces:
TagBase, TableAttributable, Serializable, Cloneable

public class CellPadding extends AbstractAttribute implements TableAttributable
 <table cellpadding="pixels">
 The cellpadding attribute specifies the space, in pixels, between the cell wall and the cell content.

 NB:- The cellpadding attribute of <table> is not supported in HTML5. Use CSS instead.
 
Since:
1.1.5
See Also:
  • Constructor Details

    • CellPadding

      public CellPadding(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 Details

    • 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