Package com.independentsoft.office.word.tables

# Class Width

java.lang.Object
com.independentsoft.office.word.tables.Width

public class Width extends Object
The Class Width.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Width()`
  Instantiates a new width.
  `Width​(TableWidthUnit type, int value)`
  Instantiates a new width.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Width`
  `clone()`
  `TableWidthUnit`
  `getType()`
  Gets the type.
  `int`
  `getValue()`
  Gets the value.
  `void`
  `setType​(TableWidthUnit type)`
  Sets the type.
  `void`
  `setValue​(int width)`
  Sets the value.

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Width

    public Width()
    Instantiates a new width.

  - ### Width

    public Width​(TableWidthUnit type, int value)
    Instantiates a new width.
    Parameters:
      `type` - the type
      `value` - the value

- ## Method Details

  - ### clone

    public Width clone()
    Overrides:
      `clone` in class `Object`

  - ### getType

    public TableWidthUnit getType()
    Gets the type.
    Returns:
      the type

  - ### setType

    public void setType​(TableWidthUnit type)
    Sets the type.
    Parameters:
      `type` - the new type

  - ### getValue

    public int getValue()
    Gets the value.
    Returns:
      the value

  - ### setValue

    public void setValue​(int width)
    Sets the value.
    Parameters:
      `width` - the new value