|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.field.table.column.PropertyColumnEditable<T>
T - Type of the rowpublic class PropertyColumnEditable<T>
ColumnEditable implementation based on the evaluation of a property
of the row object.
| Constructor Summary | |
|---|---|
PropertyColumnEditable()
|
|
| Method Summary | |
|---|---|
boolean |
isEditable(Column column,
T item)
Returns if the item is editable |
void |
setOperand(Object operand)
Sets the operand used by the ConditionalOperator. |
void |
setOperator(ConditionalOperator operator)
Sets the operator to apply to the property. |
void |
setPropertyPath(String propertyPath)
Sets the path to the property to evaluate ("this" by default) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyColumnEditable()
| Method Detail |
|---|
public boolean isEditable(Column column,
T item)
ColumnEditable
isEditable in interface ColumnEditable<T>column - Columnitem - Item to edit
true if the object is editablepublic void setPropertyPath(String propertyPath)
propertyPath - Path to the propertypublic void setOperator(ConditionalOperator operator)
ConditionalOperator.NOT_NULL by default.
operator - Operatorpublic void setOperand(Object operand)
ConditionalOperator.
operand - Operand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||