Class FIXGRIDPivotItem<R>
java.lang.Object
org.eclnt.jsfserver.elements.impl.FIXGRIDItem
org.eclnt.jsfserver.elements.util.FIXGRIDPivotItem<R>
- All Implemented Interfaces:
Serializable
,IFIXGRIDItem
Items that is used inside a FIXGRIDPivotList.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
String isclass
-
Field Summary
Fields inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDItem
ROWHEIGHT_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeyValue
(String key, String value) Define the pivot key value.protected FIXGRIDPivotItem<R>
When the user folds an item, then a new item is created and inserted into the list of items.protected void
getB()
Returns the background painting for the cellsboolean
Indicates if this grid item is an item containing other items.In case a pivot item is folded then it contains hidden items.getI()
Returns the icons for the client display.getK()
Return the keys for the client display.getKeys()
Return the keys.getM()
Selection status as Boolean value: true ==> all marked, null ==> some marked, false ==> none markedgetR()
getSv()
void
Drills down the marking to the "leaves" of the hierarchy.void
togglePivot
(String pivotKey) Method that is called by a button from the layout definition.protected void
Methods inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDItem
assignRowComponent, checkIfCellIsHighlighted, checkIfCellsAreHighlighted, getChangeIndex, getHighlightedCells, getOriginalIndex, getRequestFocus, getRowHeight, getSelected, highlightCell, onRowDeselect, onRowDrop, onRowExecute, onRowPopupMenuItem, onRowPopupMenuLoad, onRowSelect, requestFocus, setOriginalIndex, setRowHeight, setSelected, unhighlightAllCells, unhighlightCell, unrequestFocus, updateSelectedInternally
-
Constructor Details
-
FIXGRIDPivotItem
- Parameters:
pivotList
- List in which the item is organized.R
- Data that is associated with the item, i.e. additional attributes which are shown in addition to the pivot key fields. From layout definition point the properties are accessed using ".{r.propertyName}".
-
-
Method Details
-
addKeyValue
Define the pivot key value. Has to be done for every key element and for each item. -
togglePivot
Method that is called by a button from the layout definition. This toggles the Pivot item. -
getR
-
getKeys
Return the keys. -
getK
Return the keys for the client display. Pay attention: this method returns the keys with respect to non-double displaying of information in the grid! Use @linkgetKeys()
to access the key information from your application. -
getSv
-
getI
Returns the icons for the client display. -
getB
Returns the background painting for the cells -
getM
-
getFolded
public boolean getFolded()Indicates if this grid item is an item containing other items. When folding a pivot item then "original items" are parked as "hidden items" inside a "folded item". -
getHiddenItems
In case a pivot item is folded then it contains hidden items. -
getMarked
Selection status as Boolean value: true ==> all marked, null ==> some marked, false ==> none marked -
setMarked
Drills down the marking to the "leaves" of the hierarchy. -
foldPivot
-
createNewFoldedItem
When the user folds an item, then a new item is created and inserted into the list of items. By default an item is created without reference item. -
unfoldPivot
protected void unfoldPivot()
-