GridCellRange Class Reference
Inherits from | NSObject |
---|---|
Declared in | GridCellRange.h |
– init
Initialize an object for GridCellRange.
- (id _Nonnull)init
Return Value
an object for GridCellRange.
Discussion
Initialize an object for GridCellRange.
Declared In
GridCellRange.h
– initWithRow:col:
Initialize an object for GridCellRange.
- (id _Nonnull)initWithRow:(int)row col:(int)col
Parameters
row |
the row. |
---|---|
col |
the column. |
Return Value
an object for GridCellRange.
Discussion
Initialize an object for GridCellRange.
Declared In
GridCellRange.h
– initWithRow:col:row2:col2:
Initialize an object for GridCellRange.
- (id _Nonnull)initWithRow:(int)row col:(int)col row2:(int)row2 col2:(int)col2
Return Value
an object for GridCellRange.
Discussion
Initialize an object for GridCellRange.
Declared In
GridCellRange.h
– clone
Clone an object for GridCellRange.
- (GridCellRange *_Nonnull)clone
Return Value
an object for GridCellRange.
Discussion
Clone an object for GridCellRange.
Declared In
GridCellRange.h
– isEqual:
Judge whether the two objects of GridCellRange is equal.
- (BOOL)isEqual:(GridCellRange *_Nonnull)other
Parameters
other |
the other object of GridCellRange. |
---|
Return Value
a boolean value.
Discussion
Judge whether the two objects of GridCellRange is equal.
Declared In
GridCellRange.h
– intersects:
Judge whether the two objects are intersect.
- (BOOL)intersects:(GridCellRange *_Nonnull)other
Parameters
other |
the other object of GridCellRange. |
---|
Return Value
a boolean value.
Discussion
Judge whether the two objects are intersect.
Declared In
GridCellRange.h
row
Gets or sets the index of the first row in this range.
@property int row
Discussion
Gets or sets the index of the first row in this range.
Declared In
GridCellRange.h
col
Gets or sets the index of the first column in this range.
@property int col
Discussion
Gets or sets the index of the first column in this range.
Declared In
GridCellRange.h
col2
Gets or sets the index of the second column in this range.
@property int col2
Discussion
Gets or sets the index of the second column in this range.
Declared In
GridCellRange.h
rowSpan
Gets the number of rows in this range.
@property (readonly) int rowSpan
Discussion
Gets the number of rows in this range.
Declared In
GridCellRange.h
columnSpan
Gets the number of columns in this range.
@property (readonly) int columnSpan
Discussion
Gets the number of columns in this range.
Declared In
GridCellRange.h
leftCol
Gets the index of the leftmost column in this range.
@property (readonly) int leftCol
Discussion
Gets the index of the leftmost column in this range.
Declared In
GridCellRange.h
rightCol
Gets the index of the rightmost column in this range.
@property (readonly) int rightCol
Discussion
Gets the index of the rightmost column in this range.
Declared In
GridCellRange.h
– getRenderSize:
Get render size.
- (CGSize)getRenderSize:(GridPanel *_Nonnull)panel
Parameters
panel |
the panel. |
---|
Return Value
a render size
Discussion
Get render size.
Declared In
GridCellRange.h
– containsColumn:
Judge whether contains the specified column.
- (BOOL)containsColumn:(int)c
Parameters
c |
the specified column. |
---|
Return Value
a boolean value.
Discussion
Judge whether contains the specified column.
Declared In
GridCellRange.h
– contains:
udge whether contains the specified FlexCellRange object.
- (BOOL)contains:(GridCellRange *_Nonnull)other
Parameters
other |
the specified FlexCellRange object. |
---|
Return Value
a boolean value.
Discussion
udge whether contains the specified FlexCellRange object.
Declared In
GridCellRange.h