public final class WorksheetInfo extends Object
| Constructor and Description |
|---|
WorksheetInfo(int index,
String name,
WorksheetRange range)
Initializes a new instance of the
WorksheetInfo class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Gets an index of the worksheet.
|
int |
getMaxColumnIndex()
Gets an index of the last column.
|
int |
getMaxRowIndex()
Gets an index of the last row.
|
int |
getMinColumnIndex()
Gets an index of the first column.
|
int |
getMinRowIndex()
Gets an index of the first row.
|
String |
getName()
Gets a name of the worksheet.
|
boolean |
isEmpty()
Gets a value that indicates whether the worksheet is empty.
|
public WorksheetInfo(int index,
String name,
WorksheetRange range)
WorksheetInfo class.index - The zero-based index of the worksheet.name - A string value that represents the worksheet name.range - An instance of WorksheetRange class that represents the size of the worksheet.IllegalArgumentException - if the index is negative.NullPointerException - if the range is null.public boolean isEmpty()
true if the worksheet is empty; otherwise, false.public int getIndex()
public int getMinRowIndex()
public int getMaxRowIndex()
public int getMinColumnIndex()
public int getMaxColumnIndex()
public String getName()
Copyright © 2026. All rights reserved.