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
public interface TableCell extends BootstrapElement
A representation of the model object 'Table Cell'. Table cell - regular or header.The following features are supported:
- See Also:
BootstrapPackage.getTableCell()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColorgetBackground()Returns the value of the 'Background' attribute.ColorgetColor()Returns the value of the 'Color' attribute.intgetColSpan()Returns the value of the 'Col Span' attribute.intgetRowSpan()Returns 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.voidsetColor(Color value)Sets 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.html.model.bootstrap.BootstrapElement
getAppearance, setAppearance
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.nasdanika.html.model.html.HtmlElement
getAttributes, getContent
-
Methods inherited from interface org.nasdanika.ncore.ModelElement
getActionPrototype, getDescription, getRepresentations, getUris, getUuid, setActionPrototype, setDescription, setUuid
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
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(boolean),BootstrapPackage.getTableCell_Header()
-
setHeader
void setHeader(boolean value)
Sets the value of the 'Header' attribute.- Parameters:
value- the new value of the 'Header' attribute.- See Also:
isHeader()
-
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(int),BootstrapPackage.getTableCell_ColSpan()
-
setColSpan
void setColSpan(int value)
Sets the value of the 'Col Span' attribute.- Parameters:
value- the new value of the 'Col Span' attribute.- See Also:
getColSpan()
-
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(int),BootstrapPackage.getTableCell_RowSpan()
-
setRowSpan
void setRowSpan(int value)
Sets the value of the 'Row Span' attribute.- Parameters:
value- the new value of the 'Row Span' attribute.- See Also:
getRowSpan()
-
getColor
Color getColor()
Returns the value of the 'Color' attribute. Cell color.- Returns:
- the value of the 'Color' attribute.
- See Also:
setColor(Color),BootstrapPackage.getTableCell_Color()
-
setColor
void setColor(Color value)
Sets the value of the 'Color' attribute.- Parameters:
value- the new value of the 'Color' attribute.- See Also:
getColor()
-
getBackground
Color 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(Color),BootstrapPackage.getTableCell_Background()
-
setBackground
void setBackground(Color value)
Sets the value of the 'Background' attribute.- Parameters:
value- the new value of the 'Background' attribute.- See Also:
getBackground()
-
-