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(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 |
AbstractFormat(java.lang.String rowSpecs,
java.lang.String columnSpecs,
java.lang.String gapRow,
java.lang.String gapColumn,
com.jgoodies.forms.layout.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,
java.lang.String[] 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.
|
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(java.lang.String[] 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(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(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, waitgetComponentprotected 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 AbstractFormat(java.lang.String rowSpecs,
java.lang.String columnSpecs,
java.lang.String gapRow,
java.lang.String gapColumn,
com.jgoodies.forms.layout.CellConstraints[] cellConstraints)
protected AbstractFormat(java.lang.String rowSpecs,
java.lang.String columnSpecs,
java.lang.String gapRow,
java.lang.String gapColumn,
java.lang.String[] cellConstraints)
protected AbstractFormat()
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(java.lang.String rowSpecs,
java.lang.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(java.lang.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(java.lang.String gapRow,
java.lang.String gapColumn)
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by swimmesberger at Wed Feb 13 09:45:20 CET 2019