public static class HeaderRow.HeaderCell extends AbstractRow.AbstractCell
Modifier and Type | Method and Description |
---|---|
void |
setComponent(Component component)
Sets the component as the content of this cell.
|
void |
setText(String text)
Sets the text content of this cell.
|
getColumn, setColumn
public void setText(String text)
AbstractRow.AbstractCell
This will remove a component set with
AbstractRow.AbstractCell.setComponent(Component)
.
setText
in class AbstractRow.AbstractCell
text
- the text to be shown in this cellpublic void setComponent(Component component)
AbstractRow.AbstractCell
This will remove text set with AbstractRow.AbstractCell.setText(String)
.
setComponent
in class AbstractRow.AbstractCell
component
- the component to setCopyright © 2019. All rights reserved.