com.swfm.mica.widgets
Class MiTableEditCellUsingOverlayTextField

java.lang.Object
  extended bycom.swfm.mica.widgets.MiTableEditCellUsingOverlayTextField
All Implemented Interfaces:
MiiActionHandler, MiiActionTypes, MiiEventTypes

public class MiTableEditCellUsingOverlayTextField
extends java.lang.Object
implements MiiActionHandler, MiiActionTypes, MiiEventTypes

Example: String newName = new MiTableEditCellUsingOverlayTextField(list, null, LIST_NUMBER_OF_VISIBLE_CHARACTERS_WIDE).getResult();

Version:
%I% %G%
Author:
Michael L. Davis

Field Summary
static int Mi_CANCEL_ACTION
           
static java.lang.String Mi_TABLE_CELL_VALUE_CHANGED_COMMAND
           
     
Constructor Summary
MiTableEditCellUsingOverlayTextField(MiTable table)
           
MiTableEditCellUsingOverlayTextField(MiTableCell cell, MiVirtualTable vTable, int numberOfCharactersToDisplay)
           
MiTableEditCellUsingOverlayTextField(MiTableCell cell, MiVirtualTable vTable, MiTextField textField)
           
MiTableEditCellUsingOverlayTextField(MiTableCell cell, MiVirtualTable vTable, MiTextField textField, MiiCommandHandler handler)
           
MiTableEditCellUsingOverlayTextField(MiTable table, MiVirtualTable vTable, int numberOfCharactersToDisplay)
          Operates on cell at selected row, column number = 0
MiTableEditCellUsingOverlayTextField(MiVirtualTable vTable)
           
 
Method Summary
 java.lang.String getResult()
           
 MiTableCell getTargetCell()
           
 boolean processAction(MiiAction action)
          Process the given action.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Mi_CANCEL_ACTION

public static final int Mi_CANCEL_ACTION

Mi_TABLE_CELL_VALUE_CHANGED_COMMAND

public static final java.lang.String Mi_TABLE_CELL_VALUE_CHANGED_COMMAND
See Also:
Constant Field Values
Constructor Detail

MiTableEditCellUsingOverlayTextField

public MiTableEditCellUsingOverlayTextField(MiVirtualTable vTable)

MiTableEditCellUsingOverlayTextField

public MiTableEditCellUsingOverlayTextField(MiTable table)

MiTableEditCellUsingOverlayTextField

public MiTableEditCellUsingOverlayTextField(MiTable table,
                                            MiVirtualTable vTable,
                                            int numberOfCharactersToDisplay)
Operates on cell at selected row, column number = 0

Parameters:
table -
numberOfCharactersToDisplay - width of field if > 0 otherwise default is used

MiTableEditCellUsingOverlayTextField

public MiTableEditCellUsingOverlayTextField(MiTableCell cell,
                                            MiVirtualTable vTable,
                                            int numberOfCharactersToDisplay)

MiTableEditCellUsingOverlayTextField

public MiTableEditCellUsingOverlayTextField(MiTableCell cell,
                                            MiVirtualTable vTable,
                                            MiTextField textField)

MiTableEditCellUsingOverlayTextField

public MiTableEditCellUsingOverlayTextField(MiTableCell cell,
                                            MiVirtualTable vTable,
                                            MiTextField textField,
                                            MiiCommandHandler handler)
Method Detail

getTargetCell

public MiTableCell getTargetCell()

getResult

public java.lang.String getResult()

processAction

public boolean processAction(MiiAction action)
Process the given action.

Specified by:
processAction in interface MiiActionHandler
Parameters:
action - the action to process.
Returns:
true if can propogate the action to other handlers.

toString

public java.lang.String toString()