public class OmrCell extends Object implements ISpacedArea
Represents a cell in an OmrElement.
| Constructor and Description |
|---|
OmrCell()
Initializes a new instance of the
OmrCell class. |
OmrCell(String value)
Initializes a new instance of the
OmrCell class. |
| Modifier and Type | Method and Description |
|---|---|
float |
getSpaceAfter()
Gets spacing that follows the cell, in millimeters.
|
float |
getSpaceBefore()
Gets spacing that precedes the cell, in millimeters.
|
String |
getValue()
Gets value associated with the cell.
|
void |
setSpaceAfter(float value)
Sets spacing that follows the cell, in millimeters.
|
void |
setSpaceBefore(float value)
Sets spacing that precedes the cell, in millimeters.
|
void |
setValue(String value)
Sets value associated with the cell.
|
public OmrCell()
Initializes a new instance of the OmrCell class.
public OmrCell(String value)
Initializes a new instance of the OmrCell class.
value - The value associated with the cell.public float getSpaceAfter()
Gets spacing that follows the cell, in millimeters. Zero by default.
getSpaceAfter in interface ISpacedAreapublic float getSpaceBefore()
Gets spacing that precedes the cell, in millimeters. Zero by default.
getSpaceBefore in interface ISpacedAreapublic String getValue()
Gets value associated with the cell.
public void setSpaceAfter(float value)
Sets spacing that follows the cell, in millimeters.
setSpaceAfter in interface ISpacedAreavalue - the space afterpublic void setSpaceBefore(float value)
Sets spacing that precedes the cell, in millimeters.
setSpaceBefore in interface ISpacedAreavalue - the space beforepublic void setValue(String value)
Sets value associated with the cell.
value - the valueCopyright © 2014. All rights reserved.