Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.util.dimensionList
Interface DimListCellEditor


public interface DimListCellEditor

Method Summary
 void acceptEdit()
          Accepts the current text editing session.
 void addEditListener(DimListCellEditorListener l)
          Adds one DimListCellEditorListener to the list of dimension list cell editor listeners to receive the dimension list cell editor event from this component.
 int getIndex()
          Retrieves the editing cell index for this dimension list to edit a single cell.
 java.lang.String getText()
          Retrieves the text string that the DimListCellEditor displays.
 void removeEditListener(DimListCellEditorListener l)
          Removes a DimListCellEditorListener from the list of dimension list cell editor listeners to receive the dimension list cell editor event from this component.
 void setIndex(int index)
          Specifies the editing cell index for this dimension list to edit a single cell.
 void setText(java.lang.String value)
          Specifies the single line of text that the DimListCellEditor displays.
 void startEdit(java.awt.Component parent, java.lang.String value, int index, java.awt.Rectangle rect)
          Begins editing a list item if a DimListCellEditor is specified.
 void stopEdit()
          Cancels the current text editing session.

 

Method Detail

addEditListener

public void addEditListener(DimListCellEditorListener l)
Adds one DimListCellEditorListener to the list of dimension list cell editor listeners to receive the dimension list cell editor event from this component.
Parameters:
l - The new DimListCellEditorListener to be added.
See Also:
removeEditListener(oracle.dss.util.dimensionList.DimListCellEditorListener)

removeEditListener

public void removeEditListener(DimListCellEditorListener l)
Removes a DimListCellEditorListener from the list of dimension list cell editor listeners to receive the dimension list cell editor event from this component.
Parameters:
l - The DimListCellEditorListener to be removed.
See Also:
addEditListener(oracle.dss.util.dimensionList.DimListCellEditorListener)

getText

public java.lang.String getText()
Retrieves the text string that the DimListCellEditor displays.
Returns:
The string from the DimListCellEditor.
See Also:
setText(java.lang.String)

setText

public void setText(java.lang.String value)
Specifies the single line of text that the DimListCellEditor displays. If the value of the text is null or an empty string, then nothing is displayed.
Parameters:
value - The single line of text that the DimListCellEditor displays.

getIndex

public int getIndex()
Retrieves the editing cell index for this dimension list to edit a single cell.
See Also:
setIndex(int)

setIndex

public void setIndex(int index)
Specifies the editing cell index for this dimension list to edit a single cell.
Parameters:
index - The specific position of the cell to edit.
See Also:
getIndex()

startEdit

public void startEdit(java.awt.Component parent,
                      java.lang.String value,
                      int index,
                      java.awt.Rectangle rect)
Begins editing a list item if a DimListCellEditor is specified.
Parameters:
parent - The parent component for the DimListCellEditor.
value - The value that is currently being edited.
index - The specific position of the cell that is being edited.
rect - A rectangle that indicates the bouundaries of the DimListCellEditor.

acceptEdit

public void acceptEdit()
Accepts the current text editing session.

stopEdit

public void stopEdit()
Cancels the current text editing session.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.