Class TableRow
java.lang.Object
com.aquima.interactions.composer.model.Element
com.aquima.interactions.composer.model.CompositeElement
com.aquima.interactions.composer.model.Container
com.aquima.interactions.composer.model.table.TableElement
com.aquima.interactions.composer.model.table.TableHeader
com.aquima.interactions.composer.model.table.TableRow
- All Implemented Interfaces:
ICompositeElement
,IContainer
,IElement
,Serializable
This class defines a row from a table.
For internal use only. The TableBuilder class may be used to create a table container structure.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TableRow
(Serializable id, Serializable[] cells) Constructs the table row with an array of cells.TableRow
(Serializable id, Serializable[] cells, String style) Constructs the table row with an array of cells. -
Method Summary
Modifier and TypeMethodDescriptionThis method duplicates the container element.boolean
Compare this container to another (not its elements, @seeCompositeElement.equalsContent(com.aquima.interactions.composer.ICompositeElement)
to compare its elements).getId()
This method returns the ID of the row.int
hashCode()
Methods inherited from class com.aquima.interactions.composer.model.table.TableHeader
accept, addCell, equalsContent, getCellAt, getCellCount, getCells, getColumnCount
Methods inherited from class com.aquima.interactions.composer.model.table.TableElement
setParent
Methods inherited from class com.aquima.interactions.composer.model.Container
addMessage, clearMessages, collectMessages, getDisplayText, getEntityInstanceId, getMessages, getProperty, getReferenceAttribute, getTypeName, setDisplayText, setEntityContext, setProperty, setReferenceAttribute, setTypeName, toString
Methods inherited from class com.aquima.interactions.composer.model.CompositeElement
addElement, addElements, getContentStyle, getElement, getElement, getElementCount, getElements, insertElement, removeAllElements, removeElement, replaceElementWithElements, setContentStyle, setElements
Methods inherited from class com.aquima.interactions.composer.model.Element
addPresentationStyle, evaluateTsl, getName, getParent, getPresentationStyles, getPropertyKeys, getRuntimeKey, getVisibilityCondition, hasFocus, hasPresentationStyle, isReadonly, isReadonlyInheritFromParent, isVisible, setFocus, setParent, setPresentationStyle, setPresentationStyles, setPresentationStyles, setReadonly, setReadonlyInheritFromParent, setRuntimeKey, setVisibilityCondition, setVisible
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aquima.interactions.composer.ICompositeElement
getContentStyle, getElement, getElement, getElementCount, getElements
Methods inherited from interface com.aquima.interactions.composer.IElement
getName, getParent, getPresentationStyles, getPropertyKeys, getRuntimeKey, hasFocus, hasPresentationStyle, isReadonly, isReadonlyInheritFromParent, isVisible
-
Constructor Details
-
TableRow
Constructs the table row with an array of cells.- Parameters:
id
- The ID of the row.cells
- The cells that should be used in the row.
-
TableRow
Constructs the table row with an array of cells.- Parameters:
id
- The ID of the row.cells
- The cells that should be used in the row.style
- The style that should be used for the row.
-
TableRow
-
-
Method Details
-
getId
This method returns the ID of the row.- Returns:
- the ID of the row.
-
equals
Description copied from class:Container
Compare this container to another (not its elements, @seeCompositeElement.equalsContent(com.aquima.interactions.composer.ICompositeElement)
to compare its elements).- Overrides:
equals
in classTableHeader
- Parameters:
other
- The object this instance should be compared to.- Returns:
- boolean indicating if the object is considered equal to this instance.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classTableHeader
-
duplicate
Description copied from class:Container
This method duplicates the container element.- Specified by:
duplicate
in interfaceIElement
- Overrides:
duplicate
in classTableHeader
- Returns:
- A clone of this element.
-