private class BrowseImpl.DataColumnRenderer extends BrowseImpl.SpaceColumnRenderer
newRow()
method should be called before rendering of each row.| Modifier and Type | Field and Description |
|---|---|
protected BrowseRow |
dcrRow
Data to render.
|
protected BaseDataType[] |
dcrRowUpdates
Reference to deferred updates of current row.
|
dcrFocused, dcrReadOnly, dcrRowIndex| Constructor and Description |
|---|
DataColumnRenderer()
Dummy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addData(BrowseColumnConfig col,
int colIndex,
int colWidth,
int scroll)
Renders data from an one column.
|
void |
newRow(boolean readOnly,
boolean focused,
int rowIndex)
Begins rendering of a new row.
|
addMarks, addRightSpaces, addSeparator, getColorprotected BrowseRow dcrRow
protected BaseDataType[] dcrRowUpdates
currRowUpdates or null.public void newRow(boolean readOnly,
boolean focused,
int rowIndex)
BrowseImpl.SpaceColumnRenderernewRow in class BrowseImpl.SpaceColumnRendererreadOnly - The widget in read-only mode.focused - The widget is focused.rowIndex - Index of the row in the browse model.BrowseImpl.SpaceColumnRenderer.newRow(boolean, boolean, int)public void addData(BrowseColumnConfig col, int colIndex, int colWidth, int scroll)
BrowseImpl.ColumnRendereraddData in interface BrowseImpl.ColumnRendereraddData in class BrowseImpl.SpaceColumnRenderercol - Is not used.colIndex - Is not used.colWidth - The full width for formatting.scroll - Scrolling correction. Means the number of characters which
should be erased from the left (if positive) or from the
right (if negative). This scroll differs from the scroll in
DisplayFormat.formatScreenValue() because it
means the scroll of the whole browse column not the scroll
of screen value inside the column.BrowseImpl.SpaceColumnRenderer.addData(com.goldencode.p2j.ui.BrowseColumnConfig, int, int, int)