com.centrasite.control.adapters.collection.grid
Class GridItemLine

java.lang.Object
  extended by com.centrasite.control.adapters.collection.grid.GridItemLine
All Implemented Interfaces:
ReportLine, TextGridAdapter.ItemLine, com.centrasite.control.discovery.ItemProvider, com.softwareag.cis.server.IDynamicAccess
Direct Known Subclasses:
AssetsListAdapter.LinesItem

public class GridItemLine
extends java.lang.Object
implements ReportLine, com.softwareag.cis.server.IDynamicAccess

Report line for use inside GridCollection.


Constructor Summary
GridItemLine(com.centrasite.control.Row row, GridCollection gridCollection)
           
 
Method Summary
 java.lang.String[] findDynamicAccessProperties()
           
 java.lang.Class getClassForProperty(java.lang.String property)
           
 ReportCollection getCollection()
           
 GridCollection getGridCollection()
           
 com.centrasite.control.Item getItem()
           
 java.lang.Object getPropertyValue(java.lang.String propertyName)
           
 com.centrasite.control.Row getRow()
           
 boolean getSelected()
          Is item selected
 void invokeMethod(java.lang.String methodName)
           
 void setPropertyValue(java.lang.String propertyName, java.lang.Object value)
           
 void setSelected(boolean selected)
          Sets, whether the item line is selected.
 void setTreeCollection(GridCollection treeCollection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridItemLine

public GridItemLine(com.centrasite.control.Row row,
                    GridCollection gridCollection)
Method Detail

getGridCollection

public GridCollection getGridCollection()

setTreeCollection

public void setTreeCollection(GridCollection treeCollection)

getItem

public com.centrasite.control.Item getItem()
Specified by:
getItem in interface com.centrasite.control.discovery.ItemProvider

findDynamicAccessProperties

public java.lang.String[] findDynamicAccessProperties()
Specified by:
findDynamicAccessProperties in interface com.softwareag.cis.server.IDynamicAccess

getClassForProperty

public java.lang.Class getClassForProperty(java.lang.String property)
Specified by:
getClassForProperty in interface com.softwareag.cis.server.IDynamicAccess

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.String propertyName)
Specified by:
getPropertyValue in interface com.softwareag.cis.server.IDynamicAccess

invokeMethod

public void invokeMethod(java.lang.String methodName)
Specified by:
invokeMethod in interface com.softwareag.cis.server.IDynamicAccess

setPropertyValue

public void setPropertyValue(java.lang.String propertyName,
                             java.lang.Object value)
Specified by:
setPropertyValue in interface com.softwareag.cis.server.IDynamicAccess

getCollection

public ReportCollection getCollection()
Specified by:
getCollection in interface ReportLine
Returns:
the collection

getRow

public com.centrasite.control.Row getRow()
Specified by:
getRow in interface ReportLine
Returns:
the row

getSelected

public boolean getSelected()
Description copied from interface: TextGridAdapter.ItemLine
Is item selected

Specified by:
getSelected in interface TextGridAdapter.ItemLine
Returns:
true if selected, otherwise false

setSelected

public void setSelected(boolean selected)
Description copied from interface: TextGridAdapter.ItemLine
Sets, whether the item line is selected.

Specified by:
setSelected in interface TextGridAdapter.ItemLine