Package io.keikai.ui.impl
Class MergeAggregation
java.lang.Object
io.keikai.ui.impl.MergeAggregation
- All Implemented Interfaces:
Serializable,org.zkoss.json.JSONAware
- Author:
- sam
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(int row, int col) Add merge info of cellorg.zkoss.json.JSONObjectr: merge rects cs: merge CSSgetMergedRect(int row, int col) Returns MergeIndex that added to this MergeAggregation
-
Constructor Details
-
MergeAggregation
-
-
Method Details
-
add
Add merge info of cell- Parameters:
row- the row numbercol- the column number- Returns:
- index merge info index. Returns -1 if there's no merge info
-
getMergedRect
Returns MergeIndex that added to this MergeAggregation- Parameters:
row-col-- Returns:
- MergedRect, returns null if cell not merged
-
getJSONObject
public org.zkoss.json.JSONObject getJSONObject()- r: merge rects
- cs: merge CSS
- Returns:
-
toJSONString
- Specified by:
toJSONStringin interfaceorg.zkoss.json.JSONAware
-