|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
V - The type of values contained in the table column.public interface TableColumnModel<V>
A column in a table.
| Field Summary | |
|---|---|
static java.lang.String |
STYLE_ID_PROPERTY
The bound property of the column style ID. |
static java.lang.String |
VALIDATOR_PROPERTY
The validator bound property. |
static java.lang.String |
VISIBLE_PROPERTY
The bound property of whether the column is visible. |
| Fields inherited from interface com.guiseframework.model.InfoModel |
|---|
DESCRIPTION_CONTENT_TYPE_PROPERTY, DESCRIPTION_PROPERTY, INFO_CONTENT_TYPE_PROPERTY, INFO_PROPERTY |
| Fields inherited from interface com.guiseframework.model.LabelModel |
|---|
GLYPH_URI_PROPERTY, LABEL_CONTENT_TYPE_PROPERTY, LABEL_PROPERTY |
| Fields inherited from interface com.guiseframework.model.Model |
|---|
PLAIN_TEXT_CONTENT_TYPE, XHTML_CONTENT_TYPE, XHTML_FRAGMENT_CONTENT_TYPE |
| Method Summary | |
|---|---|
java.lang.String |
getStyleID()
|
Validator<V> |
getValidator()
|
java.lang.Class<V> |
getValueClass()
|
boolean |
isEditable()
|
boolean |
isVisible()
|
void |
setEditable(boolean newEditable)
Sets whether the cells in this table column model are editable and will allow the the user to change their values. |
void |
setStyleID(java.lang.String newStyleID)
Identifies the style for the column. |
void |
setValidator(Validator<V> newValidator)
Sets the validator. |
void |
setVisible(boolean newVisible)
Sets whether the column is visible. |
| Methods inherited from interface com.guiseframework.model.InfoModel |
|---|
getDescription, getDescriptionContentType, getInfo, getInfoContentType, setDescription, setDescriptionContentType, setInfo, setInfoContentType |
| Methods inherited from interface com.guiseframework.model.LabelModel |
|---|
getGlyphURI, getLabel, getLabelContentType, setGlyphURI, setLabel, setLabelContentType |
| Methods inherited from interface com.globalmentor.beans.PropertyBindable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface com.globalmentor.beans.PropertyConstrainable |
|---|
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, hasVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener |
| Field Detail |
|---|
static final java.lang.String STYLE_ID_PROPERTY
static final java.lang.String VALIDATOR_PROPERTY
static final java.lang.String VISIBLE_PROPERTY
| Method Detail |
|---|
java.lang.Class<V> getValueClass()
boolean isEditable()
void setEditable(boolean newEditable)
Boolean.
newEditable - true if the table column cells should allow the user to change their values.#EDITABLE_PROPERTYjava.lang.String getStyleID()
null if there is no style ID.void setStyleID(java.lang.String newStyleID)
newStyleID - The style identifier, or null if there is no style ID.STYLE_ID_PROPERTYValidator<V> getValidator()
null if no validator is installed.void setValidator(Validator<V> newValidator)
newValidator - The validator for cells in this column, or null if no validator should be used.VALIDATOR_PROPERTYboolean isVisible()
void setVisible(boolean newVisible)
Boolean.
newVisible - true if the column should be visible, else false.VISIBLE_PROPERTY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||