| Constructor and Description |
|---|
CustomAttributeValueEditor() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getAttributeValue(EditedAttribute attribute,
java.lang.Object parentComponent)
Get a value for the current attribute.
|
abstract boolean |
shouldHandleAttribute(EditedAttribute attribute)
Ask the custom editor if it wants to handle editing for a certain attribute.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionpublic abstract java.lang.String getAttributeValue(EditedAttribute attribute, java.lang.Object parentComponent) throws CancelledByUserException
attribute - The attribute to be edited.parentComponent - The parent component, usually the table in which the user double clicked the value. Used for example to find the parent window/shell when creating dialogs.null will remove the attribute, while
throwing a CancelledByUserException will cancel the editing.CancelledByUserException - When the user cancels the editing.public abstract boolean shouldHandleAttribute(EditedAttribute attribute)
attribute - The attribute.true if this custom editor's "getAttributeValue" method should be invoked for that certain attribute.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.