Package de.hsh.graja.util.comment.grid
Class GridCellMulti
java.lang.Object
de.hsh.graja.util.comment.grid.GridCell
de.hsh.graja.util.comment.grid.GridCellMulti
- All Implemented Interfaces:
Serializable
,Comparable<GridCell>
A multi cell of a grid may span several rows or columns.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hsh.graja.util.comment.grid.GridCell
GridCell.PosProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionGridCellMulti
(GridCellPos pos, GridCellDim dim, Content content, GridCellType type, GridCellAlignment align, GridCellShowMode showMode, Double brightness, GridCellWidth width, GridCellPadding padding, String id) Create -
Method Summary
Modifier and TypeMethodDescriptionboolean
implements the contract ofObject.equals(Object)
.void
Execute a method for each positiongetDim()
int
hashCode()
implements the contract ofObject.hashCode()
.Methods inherited from class de.hsh.graja.util.comment.grid.GridCell
colsSet, compareTo, getAlign, getBrightness, getContent, getId, getPadding, getPos, getShowMode, getShrinkWidthMode, getType, hasColsInExcept, hasColsPassing, hasRowsInExcept, hasRowsPassing, rowsSet, setBrightness, setId, setShrinkWidthMode
-
Constructor Details
-
GridCellMulti
public GridCellMulti(GridCellPos pos, GridCellDim dim, Content content, GridCellType type, GridCellAlignment align, GridCellShowMode showMode, Double brightness, GridCellWidth width, GridCellPadding padding, String id) Create- Parameters:
pos
-dim
- width and heightcontent
-type
-align
-showMode
-brightness
-width
-padding
-id
-
-
-
Method Details
-
toString
-
getDim
-
forEach
Description copied from class:GridCell
Execute a method for each position -
hashCode
public int hashCode()implements the contract ofObject.hashCode()
. -
equals
implements the contract ofObject.equals(Object)
.
-