public class SheetColumn
extends javax.faces.component.UIInput
implements javax.faces.component.behavior.ClientBehaviorHolder
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
SheetColumn()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getAutoCompleteVisibleRows() |
java.lang.String |
getColType()
the Handsontable column type.
|
java.lang.Integer |
getColWidth()
The column width
|
java.lang.String |
getDateFormat() |
java.lang.String |
getDatePickerConfig() |
java.lang.String |
getFamily() |
java.lang.Object |
getFilterBy()
The filterBy expression
|
java.lang.String |
getFilterMatchMode()
The filter match mode submitted by the user
|
java.util.Collection<javax.faces.model.SelectItem> |
getFilterOptions()
The filterOptions expression
|
java.lang.String |
getFilterValue()
The filter value submitted by the user
|
java.lang.String |
getHeaderText()
The fixed column count.
|
java.lang.String |
getNumericLocale() |
java.lang.String |
getNumericPattern() |
java.lang.String |
getOnvalidate() |
java.lang.Integer |
getPasswordHashLength() |
java.lang.String |
getPasswordHashSymbol() |
java.lang.Object |
getSelectItems() |
Sheet |
getSheet()
Get the parent sheet
|
java.lang.String |
getStyleClass()
The style class for the cell.
|
java.lang.String |
getTimeFormat() |
java.lang.Object |
getValue()
When asked for the value, return the local value if available, otherwise the sheet value.
|
boolean |
isAutoCompleteAllowInvalid() |
boolean |
isAutoCompleteStrict() |
boolean |
isAutoCompleteTrimDropdown() |
boolean |
isReadOnly()
Flag indicating whether this column is read only.
|
boolean |
isReadonlyCell()
Flag indicating whether this cell is read only.
|
java.lang.Boolean |
isTrimWhitespace() |
boolean |
isValid()
We are valid if the sheet is valid, we do not track at the individual column.
|
boolean |
isVisible() |
java.lang.Boolean |
isWordWrap() |
void |
processDecodes(javax.faces.context.FacesContext context)
Sheet handles decoding of all submitted values
|
void |
processUpdates(javax.faces.context.FacesContext context)
Sheet handles updating of model
|
void |
processValidators(javax.faces.context.FacesContext context)
Don't do anything when called by inherited behavior.
|
void |
resetValue()
Reset the local value.
|
void |
setAutoCompleteAllowInvalid(boolean value) |
void |
setAutoCompleteStrict(boolean value) |
void |
setAutoCompleteTrimDropdown(java.lang.Boolean value) |
void |
setAutoCompleteVisibleRows(java.lang.Integer value) |
void |
setColType(java.lang.String value)
Updates the column type.
|
void |
setColWidth(java.lang.Integer value)
Updates the column width
|
void |
setDateFormat(java.lang.String _dateFormat) |
void |
setDatePickerConfig(java.lang.String _datePickerConfig) |
void |
setFilterBy(java.lang.Object filterBy)
Update the filter by field
|
void |
setFilterMatchMode(java.lang.String filterMatchMode)
Update the filter match mode for this column
|
void |
setFilterOptions(java.util.Collection<javax.faces.model.SelectItem> filterOptions)
Update the filterOptions field
|
void |
setFilterValue(java.lang.String filterValue)
Update the filter value for this column
|
void |
setHeaderText(java.lang.String value)
Updates the fixed columns count.
|
void |
setNumericLocale(java.lang.String locale) |
void |
setNumericPattern(java.lang.String _numericPattern) |
void |
setOnvalidate(java.lang.String _onvalidate) |
void |
setPasswordHashLength(java.lang.Integer _passwordHashLength) |
void |
setPasswordHashSymbol(java.lang.String _passwordHashSymbol) |
void |
setReadOnly(boolean value)
Updates the readOnly property
|
void |
setReadonlyCell(boolean value)
Updates the readOnly property of the cell
|
void |
setSelectItems(java.lang.Object selectItems) |
void |
setSheet(Sheet sheet)
Updates the sheet reference to work around getParent sometimes returning null.
|
void |
setStyleClass(java.lang.String value)
Update the style class for the cell.
|
void |
setTimeFormat(java.lang.String _timeFormat) |
void |
setTrimWhitespace(boolean value) |
void |
setValid(boolean valid)
when we become valid, invalidate the whole sheet.
|
void |
setValue(java.lang.Object value)
Ignore attempts to set the local value for this column, again done by parent.
|
void |
setVisible(boolean value) |
void |
setWordWrap(boolean value) |
void |
validate(javax.faces.context.FacesContext context)
Process all validators (skip normal UIInput behavior)
|
protected boolean |
validateRequired(javax.faces.context.FacesContext context,
java.lang.Object newValue)
Validates the value against the required flags on this column.
|
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, markInitialState, removeValidator, removeValueChangeListener, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValidator, setValidatorMessage, setValueChangeListener, updateModel, validateValuegetConverter, getLocalValue, setConverteraddClientBehavior, addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIInputpublic void setHeaderText(java.lang.String value)
value - public java.lang.String getHeaderText()
public void setReadOnly(boolean value)
value - public boolean isReadOnly()
public void setReadonlyCell(boolean value)
value - public boolean isReadonlyCell()
public void setColWidth(java.lang.Integer value)
value - public java.lang.Integer getColWidth()
public void setColType(java.lang.String value)
value - public java.lang.String getColType()
public boolean isAutoCompleteAllowInvalid()
public void setAutoCompleteAllowInvalid(boolean value)
public boolean isAutoCompleteStrict()
public void setAutoCompleteStrict(boolean value)
public boolean isAutoCompleteTrimDropdown()
public void setAutoCompleteTrimDropdown(java.lang.Boolean value)
public void setAutoCompleteVisibleRows(java.lang.Integer value)
public java.lang.Integer getAutoCompleteVisibleRows()
public java.lang.Object getSelectItems()
public void setSelectItems(java.lang.Object selectItems)
public java.lang.Integer getPasswordHashLength()
public void setPasswordHashLength(java.lang.Integer _passwordHashLength)
public void setPasswordHashSymbol(java.lang.String _passwordHashSymbol)
public java.lang.String getPasswordHashSymbol()
public void setNumericPattern(java.lang.String _numericPattern)
public java.lang.String getNumericPattern()
public java.lang.String getNumericLocale()
public void setNumericLocale(java.lang.String locale)
public void setDateFormat(java.lang.String _dateFormat)
public java.lang.String getDateFormat()
public void setDatePickerConfig(java.lang.String _datePickerConfig)
public java.lang.String getDatePickerConfig()
public void setTimeFormat(java.lang.String _timeFormat)
public java.lang.String getTimeFormat()
public void setOnvalidate(java.lang.String _onvalidate)
public java.lang.String getOnvalidate()
public void setVisible(boolean value)
public boolean isVisible()
public void setWordWrap(boolean value)
public java.lang.Boolean isWordWrap()
public void setTrimWhitespace(boolean value)
public java.lang.Boolean isTrimWhitespace()
public void setStyleClass(java.lang.String value)
value - public java.lang.String getStyleClass()
public java.lang.Object getFilterBy()
public void setFilterBy(java.lang.Object filterBy)
filterBy - public java.lang.String getFilterValue()
public void setFilterValue(java.lang.String filterValue)
filterValue - public java.lang.String getFilterMatchMode()
public void setFilterMatchMode(java.lang.String filterMatchMode)
filterMatchMode - public java.util.Collection<javax.faces.model.SelectItem> getFilterOptions()
public void setFilterOptions(java.util.Collection<javax.faces.model.SelectItem> filterOptions)
public Sheet getSheet()
public void setSheet(Sheet sheet)
sheet - the owning sheetpublic void setValue(java.lang.Object value)
setValue in interface javax.faces.component.ValueHoldersetValue in class javax.faces.component.UIInputpublic java.lang.Object getValue()
getValue in interface javax.faces.component.ValueHoldergetValue in class javax.faces.component.UIInputpublic boolean isValid()
isValid in interface javax.faces.component.EditableValueHolderisValid in class javax.faces.component.UIInputpublic void setValid(boolean valid)
setValid in interface javax.faces.component.EditableValueHoldersetValid in class javax.faces.component.UIInputpublic void processDecodes(javax.faces.context.FacesContext context)
processDecodes in class javax.faces.component.UIInputpublic void processUpdates(javax.faces.context.FacesContext context)
processUpdates in class javax.faces.component.UIInputpublic void resetValue()
resetValue in interface javax.faces.component.EditableValueHolderresetValue in class javax.faces.component.UIInputpublic void processValidators(javax.faces.context.FacesContext context)
processValidators in class javax.faces.component.UIInputpublic void validate(javax.faces.context.FacesContext context)
validate in class javax.faces.component.UIInputprotected boolean validateRequired(javax.faces.context.FacesContext context,
java.lang.Object newValue)
context - the FacesContextnewValue - the new value for this columnCopyright © 2011–2021. All rights reserved.