Column
Overview
Column is a class in Aspose.Cells FOSS for Java.
Represents a column in a worksheet.
This class provides 8 methods for working with Column objects in Java programs.
Available methods include: getGroupLevel, getWidth, isCollapsed, isHidden, setCollapsed, setGroupLevel, setHidden, setWidth.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: collapsed, groupLevel, hidden, width.
Description
Column is a class in the Aspose.Cells FOSS library for Java that exposes 8 methods and 4 properties for programmatic use.
Core capabilities include: double; boolean; boolean. These operations enable developers to integrate column functionality directly into Java applications.
The class also provides the width property (returns the width), the hidden property (returns the hidden), the groupLevel property (returns the outline/group nesting level (0 = ungrouped, 1–7)).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
width | Double | Read | Returns the width. |
hidden | boolean | Read | Returns the hidden. |
groupLevel | int | Read | Returns the outline/group nesting level (0 = ungrouped, 1–7). |
collapsed | boolean | Read | Returns true if this column’s outline group is collapsed. |
Methods
| Signature | Description |
|---|---|
getWidth() → Double | Returns the width. |
setWidth(value: Double) | Sets the width. |
isHidden() → boolean | Returns the hidden. |
setHidden(value: boolean) | Sets the hidden. |
getGroupLevel() → int | Returns the outline/group nesting level (0 = ungrouped, 1–7). |
setGroupLevel(level: int) | Sets the outline/group nesting level (0 = ungrouped, 1–7). |
isCollapsed() → boolean | Returns true if this column’s outline group is collapsed. |
setCollapsed(value: boolean) | Sets whether this column’s outline group is collapsed. |