|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.odell.glazedlists.swing.JEventListPanel.AbstractFormat<E>
public abstract static class JEventListPanel.AbstractFormat<E>
A default implementation of the JEventListPanel.Format
interface.
Constructor Summary | |
---|---|
protected |
JEventListPanel.AbstractFormat()
Construct a bare format. |
protected |
JEventListPanel.AbstractFormat(RowSpec[] rowSpecs,
ColumnSpec[] columnSpecs,
RowSpec gapRow,
ColumnSpec gapColumn,
CellConstraints[] cellConstraints)
Construct a format using the specifications and constraints specified. |
protected |
JEventListPanel.AbstractFormat(String rowSpecs,
String columnSpecs,
String gapRow,
String gapColumn,
CellConstraints[] cellConstraints)
Construct a format using the specifications and constraints specified. |
Method Summary | |
---|---|
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(String rowSpecs,
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(String gapRow,
String gapColumn)
Set the size of the gaps between element cells. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ca.odell.glazedlists.swing.JEventListPanel.Format |
---|
getComponent |
Constructor Detail |
---|
protected JEventListPanel.AbstractFormat(RowSpec[] rowSpecs, ColumnSpec[] columnSpecs, RowSpec gapRow, ColumnSpec gapColumn, CellConstraints[] cellConstraints)
protected JEventListPanel.AbstractFormat(String rowSpecs, String columnSpecs, String gapRow, String gapColumn, CellConstraints[] cellConstraints)
protected JEventListPanel.AbstractFormat()
Method Detail |
---|
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(String rowSpecs, 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(String gapRow, String gapColumn)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |