com.leafdigital.ui.api
Class Table.EditingControl

java.lang.Object
  extended by com.leafdigital.ui.api.Table.EditingControl
Enclosing interface:
Table

public static class Table.EditingControl
extends java.lang.Object

Class passed as part of the onEditing callback.


Constructor Summary
Table.EditingControl()
           
 
Method Summary
 boolean isDim()
           
 boolean isError()
           
 void markDim()
          If this method is called, the editbox will be shown dim.
 void markError()
          If this method is called, the editbox will be shown red.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table.EditingControl

public Table.EditingControl()
Method Detail

markError

public void markError()
If this method is called, the editbox will be shown red. onChange will not be called if editing ends at this point, and the new value will not be entered into the table.


isError

public boolean isError()
Returns:
True if the error flag is set

markDim

public void markDim()
If this method is called, the editbox will be shown dim.


isDim

public boolean isDim()
Returns:
True if the dim flag is set


Copyright © 2011 Samuel Marshall. All rights reserved.