public class GridCollection extends com.softwareag.cis.server.util.GRIDCollection implements ReportCollection
GRIDCollection
.Modifier and Type | Class and Description |
---|---|
class |
GridCollection.SortInfo |
Constructor and Description |
---|
GridCollection(FlexLineColumnsCollectionContext gridCollectionContext) |
Modifier and Type | Method and Description |
---|---|
void |
add(ReportLine line)
Adds the given line.
|
boolean |
equals(java.lang.Object other) |
CollectionContext |
getCollectionContext()
Retrieves the
CollectionContext for this collection. |
com.softwareag.cis.server.util.FLEXLINEInfo |
getColumns() |
java.lang.String[] |
getDynamicAccessProperties() |
java.lang.Object[] |
getItems() |
ReportLine |
getLine(int index)
Retrieves the line on the given index.
|
com.softwareag.cis.server.util.FLEXLINEInfo |
getLineContent() |
java.lang.String |
getOnloadBehaviour() |
java.lang.String |
getParam1()
Deprecated.
for internal use only
|
com.centrasite.control.ReportInterface |
getReport()
Retrieves the
ReportInterface instance used by this collection. |
java.util.List<ReportLine> |
getReportLines()
Retrieves all collection lines.
|
int |
getTotalSize()
Determines the size of the collection.
|
int |
hashCode() |
void |
initWithNullItems(int size,
ReportCollectionListener reportCollectionListener)
Initializes the collection with null values and
ReportCollectionListener . |
ReportLine |
newReportLine(com.centrasite.control.Row row)
Creates new collection line using the given row.
|
int |
referencesItem(com.centrasite.control.Item item,
int change)
Is the specified item referenced by this collection.
|
void |
refreshValue(com.centrasite.control.ReportInterface report)
Reinitialize the collection with the given
ReportInterface . |
void |
remove(ReportLine line)
Removes the given line.
|
void |
replace(int oldLineIndex,
ReportLine newLine)
Replaces the line on the given index with the given line.
|
void |
setCollectionContext(CollectionContext context)
Sets the
CollectionContext for this collection. |
void |
setColumnsChanged()
Notifies that columns have changed so that this collection reinitializes its columns.
|
void |
setOnloadBehaviour(java.lang.String value) |
void |
setReport(com.centrasite.control.ReportInterface report)
Sets the given
ReportInterface to be used by this collection. |
getLastSelectedIndex, getMultiSelectProp, getSelectableProp, getSelectProp, getSingleSelectProp, itemChanged, onImportClipboardContent, selectItem, setClipboardContent, setCtrlSelectIndex, setLastSelectedIndex, setMultiSelectProp, setPlusOneItem, setSelectableProp, setSelectIndex, setSelectionX1, setSelectionX2, setSelectionY1, setSelectionY2, setSelectProp, setShiftSelectIndex, setSingleSelectProp, setValuepropsCSV
add, add, addAll, addAll, addGridColHeaderChangeListener, addToBottom, clear, contains, containsAll, displayItem, findDynamicAccessProperties, get, getAllItems, getArrayInfoListener, getClassForProperty, getItemsVector, getOnPageDownVis, getOnPageUpVis, getPropertyValue, getRowCount, getSize, getSortInfo, getTopIndex, indexOf, initWithNullItems, invokeMethod, isEmpty, iterator, lastIndexOf, listIterator, listIterator, onFirstPage, onLastPage, onPageDown, onPageUp, prepareColumnSort, reactOnGridColHeaderContextMenuRequest, reactOnGridColHeaderDoubleClick, reactOnGridColHeaderMove, reactOnGridColHeaderResize, registerGridColHeaderChangeListener, remove, remove, removeAll, restoreGridColHeaderWidths, retainAll, set, setPropertyValue, setRowCount, setTopIndex, size, sort, subList, toArray, toArray
getClass, notify, notifyAll, toString, wait, wait, wait
clear
public GridCollection(FlexLineColumnsCollectionContext gridCollectionContext)
public void add(ReportLine line)
ReportCollection
add
in interface ReportCollection
public CollectionContext getCollectionContext()
ReportCollection
CollectionContext
for this collection.getCollectionContext
in interface ReportCollection
public ReportLine getLine(int index)
ReportCollection
getLine
in interface ReportCollection
public com.centrasite.control.ReportInterface getReport()
ReportCollection
ReportInterface
instance used by this collection.getReport
in interface ReportCollection
public java.util.List<ReportLine> getReportLines()
ReportCollection
getReportLines
in interface ReportCollection
public void initWithNullItems(int size, ReportCollectionListener reportCollectionListener)
ReportCollection
ReportCollectionListener
.
The actual null items are implementation specific.initWithNullItems
in interface ReportCollection
public ReportLine newReportLine(com.centrasite.control.Row row)
ReportCollection
newReportLine
in interface ReportCollection
row
- Row instance providing access to property values.public void refreshValue(com.centrasite.control.ReportInterface report)
ReportCollection
ReportInterface
.
This includes clearing all lines, executing the report and populating the lines again.refreshValue
in interface ReportCollection
public void remove(ReportLine line)
ReportCollection
remove
in interface ReportCollection
public void replace(int oldLineIndex, ReportLine newLine)
ReportCollection
replace
in interface ReportCollection
oldLineIndex
- Index of the line to be replaced.newLine
- Line to be added.public void setCollectionContext(CollectionContext context)
ReportCollection
CollectionContext
for this collection.setCollectionContext
in interface ReportCollection
public void setColumnsChanged()
ReportCollection
setColumnsChanged
in interface ReportCollection
public void setReport(com.centrasite.control.ReportInterface report)
ReportCollection
ReportInterface
to be used by this collection.setReport
in interface ReportCollection
public java.lang.String[] getDynamicAccessProperties()
public com.softwareag.cis.server.util.FLEXLINEInfo getColumns()
public com.softwareag.cis.server.util.FLEXLINEInfo getLineContent()
public int referencesItem(com.centrasite.control.Item item, int change)
ReportCollection
referencesItem
in interface ReportCollection
item
- item to checkchange
- one of the constants ITEM_CREATED, ITEM_DELETED, ...public java.lang.String getOnloadBehaviour()
getOnloadBehaviour
in class com.softwareag.cis.server.util.SSSARRAYInfo
public void setOnloadBehaviour(java.lang.String value)
setOnloadBehaviour
in class com.softwareag.cis.server.util.SSSARRAYInfo
public java.lang.String getParam1()
getParam1
in class com.softwareag.cis.server.util.SSSARRAYInfo
public java.lang.Object[] getItems()
getItems
in interface com.softwareag.cis.server.util.ISSSARRAYInfo
getItems
in class com.softwareag.cis.server.util.SSSARRAYInfo
public boolean equals(java.lang.Object other)
equals
in interface java.util.Collection
equals
in interface java.util.List
equals
in class com.softwareag.cis.server.util.SSSARRAYInfo
public int hashCode()
hashCode
in interface java.util.Collection
hashCode
in interface java.util.List
hashCode
in class com.softwareag.cis.server.util.SSSARRAYInfo
public int getTotalSize()
ReportCollection
getTotalSize
in interface ReportCollection