Class FIXGRIDPivotItem<R>

java.lang.Object
org.eclnt.jsfserver.elements.impl.FIXGRIDItem
org.eclnt.jsfserver.elements.util.FIXGRIDPivotItem<R>
All Implemented Interfaces:
Serializable, IFIXGRIDItem

public class FIXGRIDPivotItem<R> extends FIXGRIDItem implements Serializable
Items that is used inside a FIXGRIDPivotList.
See Also:
  • Constructor Details

    • FIXGRIDPivotItem

      public FIXGRIDPivotItem(FIXGRIDPivotListBinding pivotList, R reference)
      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

      public void addKeyValue(String key, String value)
      Define the pivot key value. Has to be done for every key element and for each item.
    • togglePivot

      public void togglePivot(String pivotKey)
      Method that is called by a button from the layout definition. This toggles the Pivot item.
    • getR

      public R getR()
    • getKeys

      public Map<String,String> getKeys()
      Return the keys.
    • getK

      public Map<String,String> 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 @link getKeys() to access the key information from your application.
    • getSv

      public FIXGRIDPivotItem<R>.SortValueMap getSv()
    • getI

      public Map<String,String> getI()
      Returns the icons for the client display.
    • getB

      public Map<String,String> getB()
      Returns the background painting for the cells
    • getM

      public FIXGRIDPivotItem<R>.ItemCallMap 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

      public List<FIXGRIDPivotItem> getHiddenItems()
      In case a pivot item is folded then it contains hidden items.
    • getMarked

      public Boolean getMarked()
      Selection status as Boolean value: true ==> all marked, null ==> some marked, false ==> none marked
    • setMarked

      public void setMarked(Boolean value)
      Drills down the marking to the "leaves" of the hierarchy.
    • foldPivot

      protected void foldPivot(String pivotKey)
    • createNewFoldedItem

      protected FIXGRIDPivotItem<R> 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()