|
||||||||||
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(com.jgoodies.forms.layout.RowSpec[] rowSpecs,
com.jgoodies.forms.layout.ColumnSpec[] columnSpecs,
com.jgoodies.forms.layout.RowSpec gapRow,
com.jgoodies.forms.layout.ColumnSpec gapColumn,
com.jgoodies.forms.layout.CellConstraints[] cellConstraints)
Construct a format using the specifications and constraints specified. |
protected |
JEventListPanel.AbstractFormat(String rowSpecs,
String columnSpecs,
String gapRow,
String gapColumn,
com.jgoodies.forms.layout.CellConstraints[] cellConstraints)
Construct a format using the specifications and constraints specified. |
protected |
JEventListPanel.AbstractFormat(String rowSpecs,
String columnSpecs,
String gapRow,
String gapColumn,
String[] cellConstraints)
Construct a format using the specifications and constraints specified. |
Method Summary | |
---|---|
int |
getComponentsPerElement()
Get the number of components for each row element. |
com.jgoodies.forms.layout.CellConstraints |
getConstraints(int component)
Get the constraints to lay out the specified component. |
com.jgoodies.forms.layout.ColumnSpec[] |
getElementColumns()
Get the ColumnSpecs required for one element in the list. |
com.jgoodies.forms.layout.RowSpec[] |
getElementRows()
Get the RowSpecs required for one element in the list. |
com.jgoodies.forms.layout.ColumnSpec |
getGapColumn()
Get the ColumnSpecs to separate two elements. |
com.jgoodies.forms.layout.RowSpec |
getGapRow()
Get the RowSpec to separate two elements. |
void |
setCellConstraints(com.jgoodies.forms.layout.CellConstraints[] cellConstraints)
Set the constraints used for the components of each element. |
void |
setCellConstraints(String[] 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(com.jgoodies.forms.layout.ColumnSpec[] elementColumns)
Set the columns used for a single element cell. |
void |
setElementRows(com.jgoodies.forms.layout.RowSpec[] elementRows)
Set the rows used for a single element cell. |
void |
setGapColumn(com.jgoodies.forms.layout.ColumnSpec gapColumn)
Set the width of the horizontal gap between element cells. |
void |
setGapRow(com.jgoodies.forms.layout.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(com.jgoodies.forms.layout.RowSpec[] rowSpecs, com.jgoodies.forms.layout.ColumnSpec[] columnSpecs, com.jgoodies.forms.layout.RowSpec gapRow, com.jgoodies.forms.layout.ColumnSpec gapColumn, com.jgoodies.forms.layout.CellConstraints[] cellConstraints)
protected JEventListPanel.AbstractFormat(String rowSpecs, String columnSpecs, String gapRow, String gapColumn, com.jgoodies.forms.layout.CellConstraints[] cellConstraints)
protected JEventListPanel.AbstractFormat(String rowSpecs, String columnSpecs, String gapRow, String gapColumn, String[] cellConstraints)
protected JEventListPanel.AbstractFormat()
Method Detail |
---|
public com.jgoodies.forms.layout.RowSpec[] getElementRows()
getElementRows
in interface JEventListPanel.Format<E>
public void setElementRows(com.jgoodies.forms.layout.RowSpec[] elementRows)
public com.jgoodies.forms.layout.ColumnSpec[] getElementColumns()
getElementColumns
in interface JEventListPanel.Format<E>
public void setElementColumns(com.jgoodies.forms.layout.ColumnSpec[] elementColumns)
public void setElementCells(String rowSpecs, String columnSpecs)
public int getComponentsPerElement()
getComponentsPerElement
in interface JEventListPanel.Format<E>
public com.jgoodies.forms.layout.CellConstraints getConstraints(int component)
getConstraints
in interface JEventListPanel.Format<E>
component
- the component to fetch constraints for.
public void setCellConstraints(com.jgoodies.forms.layout.CellConstraints[] cellConstraints)
public void setCellConstraints(String[] cellConstraints)
public com.jgoodies.forms.layout.RowSpec getGapRow()
getGapRow
in interface JEventListPanel.Format<E>
null
for
no gap.public com.jgoodies.forms.layout.ColumnSpec getGapColumn()
getGapColumn
in interface JEventListPanel.Format<E>
null
for
no gap.public void setGapRow(com.jgoodies.forms.layout.RowSpec gapRow)
public void setGapColumn(com.jgoodies.forms.layout.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 |