public abstract static class JEventListPanel.AbstractFormat<E> extends java.lang.Object implements JEventListPanel.Format<E>
JEventListPanel.Format
interface.Modifier | Constructor and Description |
---|---|
protected |
AbstractFormat()
Construct a bare format.
|
protected |
AbstractFormat(RowSpec[] rowSpecs,
ColumnSpec[] columnSpecs,
RowSpec gapRow,
ColumnSpec gapColumn,
CellConstraints[] cellConstraints)
Construct a format using the specifications and constraints specified.
|
protected |
AbstractFormat(java.lang.String rowSpecs,
java.lang.String columnSpecs,
java.lang.String gapRow,
java.lang.String gapColumn,
CellConstraints[] cellConstraints)
Construct a format using the specifications and constraints specified.
|
Modifier and Type | Method and Description |
---|---|
int |
getComponentsPerElement()
Get the number of components for each row element.
|
CellConstraints |
getConstraints(int component)
Get the constraints to lay out the specified component.
|
ColumnSpec[] |
getElementColumns()
Get the ColumnSpecs required for one element in the list.
|
RowSpec[] |
getElementRows()
Get the RowSpecs required for one element in the list.
|
ColumnSpec |
getGapColumn()
Get the ColumnSpecs to separate two elements.
|
RowSpec |
getGapRow()
Get the RowSpec to separate two elements.
|
void |
setCellConstraints(CellConstraints[] cellConstraints)
Set the constraints used for the components of each element.
|
void |
setElementCells(java.lang.String rowSpecs,
java.lang.String columnSpecs)
Set the rows and columns used for a single element cell.
|
void |
setElementColumns(ColumnSpec[] elementColumns)
Set the columns used for a single element cell.
|
void |
setElementRows(RowSpec[] elementRows)
Set the rows used for a single element cell.
|
void |
setGapColumn(ColumnSpec gapColumn)
Set the width of the horizontal gap between element cells.
|
void |
setGapRow(RowSpec gapRow)
Set the height of the vertical gap between element cells.
|
void |
setGaps(java.lang.String gapRow,
java.lang.String gapColumn)
Set the size of the gaps between element cells.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponent
protected AbstractFormat(RowSpec[] rowSpecs, ColumnSpec[] columnSpecs, RowSpec gapRow, ColumnSpec gapColumn, CellConstraints[] cellConstraints)
protected AbstractFormat(java.lang.String rowSpecs, java.lang.String columnSpecs, java.lang.String gapRow, java.lang.String gapColumn, CellConstraints[] cellConstraints)
protected AbstractFormat()
public RowSpec[] getElementRows()
getElementRows
in interface JEventListPanel.Format<E>
public void setElementRows(RowSpec[] elementRows)
public ColumnSpec[] getElementColumns()
getElementColumns
in interface JEventListPanel.Format<E>
public void setElementColumns(ColumnSpec[] elementColumns)
public void setElementCells(java.lang.String rowSpecs, java.lang.String columnSpecs)
public int getComponentsPerElement()
getComponentsPerElement
in interface JEventListPanel.Format<E>
public CellConstraints getConstraints(int component)
getConstraints
in interface JEventListPanel.Format<E>
component
- the component to fetch constraints for.public void setCellConstraints(CellConstraints[] cellConstraints)
public RowSpec getGapRow()
getGapRow
in interface JEventListPanel.Format<E>
null
for
no gap.public ColumnSpec getGapColumn()
getGapColumn
in interface JEventListPanel.Format<E>
null
for
no gap.public void setGapRow(RowSpec gapRow)
public void setGapColumn(ColumnSpec gapColumn)
public void setGaps(java.lang.String gapRow, java.lang.String gapColumn)
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by mockbuild at 2019-01-31 22:53