Interface TableCell
- All Superinterfaces:
org.nasdanika.common.Adaptable,BootstrapElement,EObject,HtmlElement,org.nasdanika.ncore.Marked,org.nasdanika.persistence.Marked,org.nasdanika.ncore.ModelElement,Notifier
- All Known Implementing Classes:
TableCellImpl
A representation of the model object 'Table Cell'.
Table cell - regular or header.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Background' attribute.getColor()Returns the value of the 'Color' attribute.intReturns the value of the 'Col Span' attribute.intReturns the value of the 'Row Span' attribute.booleanisHeader()Returns the value of the 'Header' attribute.voidsetBackground(Color value) Sets the value of the 'Background' attribute.voidSets the value of the 'Color' attribute.voidsetColSpan(int value) Sets the value of the 'Col Span' attribute.voidsetHeader(boolean value) Sets the value of the 'Header' attribute.voidsetRowSpan(int value) Sets the value of the 'Row Span' attribute.Methods inherited from interface org.nasdanika.common.Adaptable
adaptToMethods inherited from interface org.nasdanika.html.model.bootstrap.BootstrapElement
getAppearance, setAppearanceMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.nasdanika.html.model.html.HtmlElement
getAttributes, getContentMethods inherited from interface org.nasdanika.ncore.Marked
getMarkersMethods inherited from interface org.nasdanika.ncore.ModelElement
getAnnotation, getAnnotations, getDescription, getLabelPrototype, getRepresentations, getUris, getUuid, setAnnotation, setAnnotation, setAnnotation, setAnnotation, setAnnotation, setAnnotation, setAnnotations, setDescription, setLabelPrototype, setUuidMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
isHeader
boolean isHeader()Returns the value of the 'Header' attribute. If true, table cell is generated as ```` instead of the default `` ``. - Returns:
- the value of the 'Header' attribute.
- See Also:
setHeader
Sets the value of the 'Header' attribute.- Parameters:
value- the new value of the 'Header' attribute.- See Also:
getColSpan
int getColSpan()Returns the value of the 'Col Span' attribute. Column span for the cell.- Returns:
- the value of the 'Col Span' attribute.
- See Also:
setColSpan
Sets the value of the 'Col Span' attribute.- Parameters:
value- the new value of the 'Col Span' attribute.- See Also:
getRowSpan
int getRowSpan()Returns the value of the 'Row Span' attribute. Row span for the cell.- Returns:
- the value of the 'Row Span' attribute.
- See Also:
setRowSpan
Sets the value of the 'Row Span' attribute.- Parameters:
value- the new value of the 'Row Span' attribute.- See Also:
getColor
Returns the value of the 'Color' attribute. Cell color.- Returns:
- the value of the 'Color' attribute.
- See Also:
setColor
Sets the value of the 'Color' attribute.- Parameters:
value- the new value of the 'Color' attribute.- See Also:
getBackground
Returns the value of the 'Background' attribute. Cell background color. Displays differently from "Color". Can also be specified via appearance.- Returns:
- the value of the 'Background' attribute.
- See Also:
setBackground
Sets the value of the 'Background' attribute.- Parameters:
value- the new value of the 'Background' attribute.- See Also:
-