|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.cis.server.util.TREECollection
com.centrasite.control.adapters.collection.tree.TreeCollection
public class TreeCollection
Report collection extending the Application Designer's TREECollection
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.softwareag.cis.server.util.TREECollection |
---|
com.softwareag.cis.server.util.TREECollection.ItemIndex, com.softwareag.cis.server.util.TREECollection.TREENODEInfo |
Field Summary |
---|
Fields inherited from class com.softwareag.cis.server.util.TREECollection |
---|
KEY_CTRL, KEY_NONE, KEY_SHIFT, LI_NOLINE, LI_VHEDGE, LI_VHLINE, LI_VLINE, ST_CLOSED, ST_ENDNODE, ST_OPENED |
Constructor Summary | |
---|---|
TreeCollection(FlexLineColumnsCollectionContext treeCollectionContext)
|
Method Summary | |
---|---|
void |
add(ReportLine line)
Adds the given line. |
com.centrasite.control.ActionContext |
getActionContext()
|
CollectionContext |
getCollectionContext()
Retrieves the CollectionContext for this collection. |
com.softwareag.cis.server.util.FLEXLINEInfo |
getColumns()
|
java.lang.String[] |
getDynamicAccessProperties()
|
ReportLine |
getLine(int index)
Retrieves the line on the given index. |
com.softwareag.cis.server.util.FLEXLINEInfo |
getLineContent()
|
com.softwareag.cis.server.util.TREECollection |
getLines()
|
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. |
void |
initToolbar()
|
void |
initWithNullItems(int size,
ReportCollectionListener reportCollectionListener)
Initializes the collection with null values and ReportCollectionListener . |
TreeItemLine |
newReportLine(com.centrasite.control.Row row)
Creates new collection line using the given row. |
void |
reactOnDblClick()
Double click on line in table has been performed: execute default command |
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(com.centrasite.control.Item item)
|
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 |
setActionContext(ReportCollectionActionContext actionContext)
|
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 |
setReport(com.centrasite.control.ReportInterface report)
Sets the given ReportInterface to be used by this collection. |
void |
setRows(com.centrasite.control.RowIterator rowIt)
|
void |
setTreeListener(ReportCollectionListener listener)
|
void |
sortItems(java.lang.String propName,
boolean ascending)
|
Methods inherited from class com.softwareag.cis.server.util.TREECollection |
---|
addGridColHeaderChangeListener, addSideNode, addSideNodes, addSideTree, addSubNode, addSubNodes, addSubTree, addTopNode, addTopNode, addTopNodes, addTopTree, addToSelection, checkIfItemIsSelected, clear, clearSelection, clearSelectionOfNode, closeAllNodes, displayItem, findChildNodes, findDynamicAccessProperties, findListOfTreeNodes, findParentNode, findRowCount, findSelectedItem, findSelectedItems, findTopNodes, findTreeNodeByText, findTreeNodeByText, findTreeNodeByTextId, findTreeNodeByTextId, getChangeIndex, getClassForProperty, getItems, getOnPageDownVis, getOnPageUpVis, getParam1, getPropertyValue, getRowCount, getSelectedIndex, getSelectedItemIndices, getSize, getSortLocale, getTopIndex, getTreeNodesSelectedIndex, invokeMethod, itemChanged, moveNode, moveNodeAsideTarget, moveNodeBelowTarget, onFirstPage, onLastPage, onPageDown, onPageUp, openAllNodes, reactOnGridColHeaderContextMenuRequest, reactOnGridColHeaderDoubleClick, reactOnGridColHeaderMove, reactOnGridColHeaderResize, registerGridColHeaderChangeListener, removeNode, removeSubTree, replaceNode, restoreGridColHeaderWidths, selectAndDisplayItem, selectAndDisplayItem, setCtrlSelectedIndex, setCtrlSelectIndex, setPropertyValue, setRowCount, setSelectedIndex, setSelectedItem, setShiftSelectedIndex, setShiftSelectIndex, setSortLocale, setSSSTREECollectionListener, setTopIndex, toggleNode, toggleNodeWithAutoScroll |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.softwareag.cis.server.IDynamicAccess |
---|
findDynamicAccessProperties, getClassForProperty, getPropertyValue, invokeMethod, setPropertyValue |
Methods inherited from interface com.centrasite.control.adapters.collection.ReportCollection |
---|
clear |
Constructor Detail |
---|
public TreeCollection(FlexLineColumnsCollectionContext treeCollectionContext)
Method Detail |
---|
public void setReport(com.centrasite.control.ReportInterface report)
ReportCollection
ReportInterface
to be used by this collection.
setReport
in interface ReportCollection
public com.centrasite.control.ReportInterface getReport()
ReportCollection
ReportInterface
instance used by this collection.
getReport
in interface ReportCollection
public void setTreeListener(ReportCollectionListener listener)
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 setRows(com.centrasite.control.RowIterator rowIt)
public void setActionContext(ReportCollectionActionContext actionContext)
public com.softwareag.cis.server.util.FLEXLINEInfo getColumns()
public com.softwareag.cis.server.util.FLEXLINEInfo getLineContent()
public void reactOnDblClick()
public com.centrasite.control.ActionContext getActionContext()
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 com.softwareag.cis.server.util.TREECollection getLines()
public void initToolbar()
public java.lang.String[] getDynamicAccessProperties()
public void setColumnsChanged()
ReportCollection
setColumnsChanged
in interface ReportCollection
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 int getTotalSize()
ReportCollection
getTotalSize
in interface ReportCollection
getTotalSize
in class com.softwareag.cis.server.util.TREECollection
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 TreeItemLine newReportLine(com.centrasite.control.Row row)
ReportCollection
newReportLine
in interface ReportCollection
row
- Row instance providing access to property values.
public void remove(ReportLine line)
ReportCollection
remove
in interface ReportCollection
public void remove(com.centrasite.control.Item item)
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 sortItems(java.lang.String propName, boolean ascending)
sortItems
in class com.softwareag.cis.server.util.TREECollection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |