Class MatrixCell
- java.lang.Object
 - 
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
 - 
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.MatrixCell
 
 
 
- 
@OpenApiAll public class MatrixCell extends AbstractMatrixCell
Single matrix element representation - holds information about elements and relations according to the criteria 
- 
- 
Field Summary
- 
Fields inherited from class com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
EMPTY_CELL, EMPTY_EDITABLE_CELL, EMPTY_READONLY_CELL, UNKNOWN_CELL 
 - 
 
- 
Constructor Summary
Constructors Constructor Description MatrixCell(ElementNode rowNode, ElementNode columnNode) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementNodegetColumnNode()Column node.java.util.Collection<DependencyEntry>getDependencies()Dependency entry listjava.lang.StringgetDescription()ElementNodegetRowNode()Row node.MatrixCellViewgetView()Creates or returns already created matrix view objectvoidsetDependencies(java.util.Collection<DependencyEntry> dependencies)Set new collection with cell dependency listjava.lang.StringtoString()- 
Methods inherited from class com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
getStaticCell, isEditable, isStaticCell, isUnknownEditableState, isUnknownStaticCell 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
MatrixCell
public MatrixCell(ElementNode rowNode, ElementNode columnNode)
 
 - 
 
- 
Method Detail
- 
getRowNode
public ElementNode getRowNode()
Row node.- Returns:
 - row node.
 
 
- 
getColumnNode
public ElementNode getColumnNode()
Column node.- Returns:
 - column node.
 
 
- 
getDependencies
public java.util.Collection<DependencyEntry> getDependencies()
Description copied from class:AbstractMatrixCellDependency entry list- Specified by:
 getDependenciesin classAbstractMatrixCell- Returns:
 - dependency entries or empty list if not exits
 
 
- 
setDependencies
public void setDependencies(java.util.Collection<DependencyEntry> dependencies)
Description copied from class:AbstractMatrixCellSet new collection with cell dependency list- Specified by:
 setDependenciesin classAbstractMatrixCell- Parameters:
 dependencies- new dependency list for the cell
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
getView
public MatrixCellView getView()
Description copied from class:AbstractMatrixCellCreates or returns already created matrix view object- Overrides:
 getViewin classAbstractMatrixCell- Returns:
 - matrix cell view object
 
 
- 
getDescription
@CheckForNull public java.lang.String getDescription()
- Overrides:
 getDescriptionin classAbstractMatrixCell- Returns:
 - representative text describing this cell
 
 
 - 
 
 -