Class MergeAggregation

java.lang.Object
io.keikai.ui.impl.MergeAggregation
All Implemented Interfaces:
Serializable, org.zkoss.json.JSONAware

public class MergeAggregation extends Object implements Serializable, org.zkoss.json.JSONAware
Author:
sam
See Also:
  • Constructor Details

  • Method Details

    • add

      public MergeAggregation.MergeIndex add(int row, int col)
      Add merge info of cell
      Parameters:
      row - the row number
      col - the column number
      Returns:
      index merge info index. Returns -1 if there's no merge info
    • getMergedRect

      public MergedRect getMergedRect(int row, int col)
      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

      public String toJSONString()
      Specified by:
      toJSONString in interface org.zkoss.json.JSONAware