# Class StyleParser.PaddingInfo

java.lang.Object
com.codename1.ui.plaf.StyleParser.BoxInfo
com.codename1.ui.plaf.StyleParser.PaddingInfo

Enclosing class:
  `StyleParser`

public static class StyleParser.PaddingInfo extends StyleParser.BoxInfo
Encapsulates information about the padding in a style string.

- ## Field Summary

  ### Fields inherited from class StyleParser.BoxInfo

  `values`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PaddingInfo(StyleParser.ScalarValue[] values)`
  Creates a new PaddingInfo.

- ## Method Summary

  ### Methods inherited from class StyleParser.BoxInfo

  `getValue, getValues, setValues, toString, toString`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### PaddingInfo

    public PaddingInfo(StyleParser.ScalarValue[] values)

    Creates a new PaddingInfo.

    ###### Parameters

    - `values`: 4-element array of scalar values. Indices are `Component#TOP`, `Component#BOTTOM`, `Component#LEFT` and `Component#RIGHT`.