import PageSize from 'flexicious-react-datagrid/js/flexgrid/print/PageSize.js'Static Method Summary
| Static Public Methods | ||
| public static |
getByName(name: *): * Gets the paper size by name |
|
| public static |
getBySize(width: *, height: *): * Gets the paper size given the width and the height |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(name: *, width: *, height: *) |
|
Method Summary
| Public Methods | ||
| public |
clone(): * Clones the paper size |
|
| public |
getClassNames(): string[] |
|
| public |
getHeight(): * Height of the paper size |
|
| public |
getWidth(): * Width of the paper size |
|
| public |
rotate(): * Flips the orientation from potrait to landscape and back |
|
| public |
setHeight(val: *) |
|
| public |
setWidth(val: *) |
|
Inherited Summary
| From class TypedObject | ||
| public |
typeCache: {} |
|
| public |
|
|
| public |
Returns a list of strings that represent the object hierarchy for this object. |
|
| public |
implementsOrExtends(name: *): Boolean Returns true if the class name to check is in the list of class names defined for this class. |
|
Static Public Methods
public static getByName(name: *): * source
Gets the paper size by name
Params:
| Name | Type | Attribute | Description |
| name | * |
Return:
| * |
public static getBySize(width: *, height: *): * source
Gets the paper size given the width and the height
Params:
| Name | Type | Attribute | Description |
| width | * | ||
| height | * |
Return:
| * |
Public Constructors
public constructor(name: *, width: *, height: *) source
Override:
TypedObject#constructorParams:
| Name | Type | Attribute | Description |
| name | * | ||
| width | * | ||
| height | * |
Public Methods
public getClassNames(): string[] source
Returns a list of strings that represent the object hierarchy for this object.
Override:
TypedObject#getClassNamespublic setHeight(val: *) source
Params:
| Name | Type | Attribute | Description |
| val | * |
public setWidth(val: *) source
Params:
| Name | Type | Attribute | Description |
| val | * |