com.bea.wlw.netui.tags.databinding.grid.datacontext
Class EmptyDataContext
java.lang.Object
com.bea.wlw.netui.tags.databinding.grid.datacontext.DataContext
com.bea.wlw.netui.tags.databinding.grid.datacontext.EmptyDataContext
public final class EmptyDataContext
- extends DataContext
A final class that is the default DataContext in a GridContext;
it allows clients to interact with a GridContext when the
DataContext has not been initialized because of an error
or an exception.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyDataContext
public EmptyDataContext()
getColumnType
public int getColumnType(int index)
- Specified by:
getColumnType
in class DataContext
getColumnType
public int getColumnType(String name)
- Specified by:
getColumnType
in class DataContext
getColumnName
public String getColumnName(int index)
- Specified by:
getColumnName
in class DataContext
getColumnValue
public Object getColumnValue(int index)
- Specified by:
getColumnValue
in class DataContext
getColumnValue
public Object getColumnValue(String name)
- Specified by:
getColumnValue
in class DataContext
getCurrentUniqueIdentifier
public String getCurrentUniqueIdentifier()
getCurrentItem
public Object getCurrentItem()
- Specified by:
getCurrentItem
in class DataContext
getCurrentIndex
public int getCurrentIndex()
- Specified by:
getCurrentIndex
in class DataContext
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in class DataContext
next
public Object next()
- Specified by:
next
in class DataContext
hasNext
public boolean hasNext()
- Specified by:
hasNext
in class DataContext
unwrap
public Object unwrap()
- Specified by:
unwrap
in class DataContext
size
public int size()
- Specified by:
size
in class DataContext
setIterationRange
public void setIterationRange(int start,
int end)
- Specified by:
setIterationRange
in class DataContext
getCurrentMetadata
public DataContext.DataContextItemMetadata getCurrentMetadata()
- Specified by:
getCurrentMetadata
in class DataContext