public class ERXTable extends WOTable
Name | Description |
---|---|
col | pushed to the parent with the current column number |
index | pushed to the parent indicating the current index |
list | of objects to construct the table for |
maxColumns | maximum number of columns |
fillColumns | when true, loops until the last row is filled even when no more elements are left in the list |
row | pushed to the parent with the current row number |
item | pushed to the parent with the current object from the list |
tableClass | CSS class for the table |
tableBackgroundColor | background color for table |
border | table border |
cellpadding | cell padding |
cellspacing | cell spacing |
rowBackgroundColor | background color to be used for the rows of the table |
rowClass | CSS class for the row |
cellBackgroundColor | background color for the cell |
cellAlign | cell's alignment |
cellVAlign | cell's vertical alignment |
cellWidth | cell's width |
cellClass | CSS class for the cell |
tableWidth | table width |
goingVertically | boolean if the list should be layed out horizontally or vertically. |
headerImages | array of images to be displayed in the header cells of the table |
headerRowBackgroundColor | background color for the header row |
WOComponent._EventLoggingEnabler, WOComponent.Event
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
Modifier and Type | Field and Description |
---|---|
protected Boolean |
_goingVertically
caches the value from the binding goingVertical
|
protected Boolean |
_showIndex |
protected String |
header
used in the repetition for header images
|
protected int |
index |
_colCount, _list, _maxColumns, _rowCount, currentCol, currentItemIndex, currentRow
_Extension, _IsEventLoggingEnabled, _keyAssociations
_CLASS
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
NullValue
_CLASS
Constructor and Description |
---|
ERXTable(WOContext context)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
_resetInternalCaches()
resets the cached variables
|
int |
colCount() |
int |
displayInt()
Returns a displayable value for the index starting from 1 instead of 0.
|
boolean |
goingVertically()
Denotes if the list should be layed out vertically
or horizontally.
|
boolean |
hasHeaders()
Conditional to determine if the binding: headerImages
is present.
|
String |
header() |
void |
pushItem()
Overridden to account for when goingVertical is
enabled.
|
boolean |
showIndex()
Conditional to determine if the index should be shown
|
isStateless, list, maxColumns, reset, rowCount, setCurrentCol, setCurrentRow, takeValuesFromRequest
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
protected String header
protected Boolean _goingVertically
protected Boolean _showIndex
protected int index
public ERXTable(WOContext context)
context
- the contextpublic String header()
protected void _resetInternalCaches()
_resetInternalCaches
in class WOTable
public boolean goingVertically()
public void pushItem()
public boolean hasHeaders()
public boolean showIndex()
public int displayInt()
Copyright © 2002 – 2024 Project Wonder.