|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.table.TableColumn
eu.beesoft.gantt.chart.HeaderColumn
public final class HeaderColumn
Subclasses TableColumn to hold list of
TimeSpan instances. These instances are used to calculate sizes of
the column.
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.TableColumn |
|---|
CELL_RENDERER_PROPERTY, cellEditor, cellRenderer, COLUMN_WIDTH_PROPERTY, HEADER_RENDERER_PROPERTY, HEADER_VALUE_PROPERTY, headerRenderer, headerValue, identifier, isResizable, maxWidth, minWidth, modelIndex, resizedPostingDisableCount, width |
| Constructor Summary | |
|---|---|
HeaderColumn(int modelIndex)
Creates a new instance of HeaderColumn. |
|
| Method Summary | |
|---|---|
java.util.List<TimeSpan> |
getTimeSpan()
Returns a list of TimeSpan instances that holds this column. |
void |
setTimeSpan(java.util.List<TimeSpan> timeSpans)
Sets a list of TimeSpan instances to hold by this column. |
| Methods inherited from class javax.swing.table.TableColumn |
|---|
addPropertyChangeListener, createDefaultHeaderRenderer, disableResizedPosting, enableResizedPosting, getCellEditor, getCellRenderer, getHeaderRenderer, getHeaderValue, getIdentifier, getMaxWidth, getMinWidth, getModelIndex, getPreferredWidth, getPropertyChangeListeners, getResizable, getWidth, removePropertyChangeListener, setCellEditor, setCellRenderer, setHeaderRenderer, setHeaderValue, setIdentifier, setMaxWidth, setMinWidth, setModelIndex, setPreferredWidth, setResizable, setWidth, sizeWidthToFit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeaderColumn(int modelIndex)
modelIndex - - a value of model index for this column| Method Detail |
|---|
public java.util.List<TimeSpan> getTimeSpan()
TimeSpan instances that holds this column.
public void setTimeSpan(java.util.List<TimeSpan> timeSpans)
TimeSpan instances to hold by this column.
timeSpans - - list of TimeSpan instances to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||