Class PropertyMemberUIWrapper
java.lang.Object
org.esa.snap.ui.tooladapter.model.PropertyMemberUIWrapper
- All Implemented Interfaces:
FocusListener,EventListener
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ToolAdapterOperatorDescriptorprotected ToolParameterDescriptorprotected JComponentprotected int -
Constructor Summary
ConstructorsConstructorDescriptionPropertyMemberUIWrapper(String attributeName, ToolParameterDescriptor paramDescriptor, ToolAdapterOperatorDescriptor opDescriptor, com.bc.ceres.swing.binding.BindingContext context) PropertyMemberUIWrapper(String attributeName, ToolParameterDescriptor paramDescriptor, ToolAdapterOperatorDescriptor opDescriptor, com.bc.ceres.swing.binding.BindingContext context, int width, PropertyMemberUIWrapper.CallBackAfterEdit callback) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract JComponentbooleanvoidvoidcom.bc.ceres.swing.binding.BindingContextgetErrorValueMessage(Object value) abstract Objectprotected abstract ObjectbooleanbooleanreloadUIComponent(Class<?> newParamType) voidprotected abstract voidsetMemberValue(Object value) voidsetMemberValueWithCheck(Object value)
-
Field Details
-
attributeName
-
UIComponent
-
width
protected int width -
paramDescriptor
-
opDescriptor
-
-
Constructor Details
-
PropertyMemberUIWrapper
public PropertyMemberUIWrapper(String attributeName, ToolParameterDescriptor paramDescriptor, ToolAdapterOperatorDescriptor opDescriptor, com.bc.ceres.swing.binding.BindingContext context) -
PropertyMemberUIWrapper
public PropertyMemberUIWrapper(String attributeName, ToolParameterDescriptor paramDescriptor, ToolAdapterOperatorDescriptor opDescriptor, com.bc.ceres.swing.binding.BindingContext context, int width, PropertyMemberUIWrapper.CallBackAfterEdit callback)
-
-
Method Details
-
getContext
public com.bc.ceres.swing.binding.BindingContext getContext() -
getParamDescriptor
-
getErrorValueMessage
-
setMemberValue
- Throws:
PropertyAttributeException
-
getMemberValue
- Throws:
PropertyAttributeException
-
getUIComponent
- Throws:
Exception
-
reloadUIComponent
- Throws:
Exception
-
buildAndLinkUIComponent
- Throws:
Exception
-
buildUIComponent
- Throws:
Exception
-
setMemberValueWithCheck
- Throws:
PropertyAttributeException
-
memberUIComponentNeedsRevalidation
public boolean memberUIComponentNeedsRevalidation() -
propertyUIComponentsNeedsRevalidation
public boolean propertyUIComponentsNeedsRevalidation() -
contextUIComponentsNeedsRevalidation
public boolean contextUIComponentsNeedsRevalidation() -
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-
setCallback
-
getValueFromUIComponent
- Throws:
PropertyAttributeException
-