public abstract class PropertyMemberUIWrapper extends Object implements FocusListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
PropertyMemberUIWrapper.CallBackAfterEdit |
| Modifier and Type | Field and Description |
|---|---|
protected String |
attributeName |
protected ToolAdapterOperatorDescriptor |
opDescriptor |
protected ToolParameterDescriptor |
paramDescriptor |
protected JComponent |
UIComponent |
protected int |
width |
| Constructor and Description |
|---|
PropertyMemberUIWrapper(String attributeName,
ToolParameterDescriptor paramDescriptor,
ToolAdapterOperatorDescriptor opDescriptor,
BindingContext context) |
PropertyMemberUIWrapper(String attributeName,
ToolParameterDescriptor paramDescriptor,
ToolAdapterOperatorDescriptor opDescriptor,
BindingContext context,
int width,
PropertyMemberUIWrapper.CallBackAfterEdit callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildAndLinkUIComponent() |
protected abstract JComponent |
buildUIComponent() |
boolean |
contextUIComponentsNeedsRevalidation() |
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
BindingContext |
getContext() |
String |
getErrorValueMessage(Object value) |
abstract Object |
getMemberValue() |
ToolParameterDescriptor |
getParamDescriptor() |
JComponent |
getUIComponent() |
protected abstract Object |
getValueFromUIComponent() |
boolean |
memberUIComponentNeedsRevalidation() |
boolean |
propertyUIComponentsNeedsRevalidation() |
JComponent |
reloadUIComponent(Class<?> newParamType) |
void |
setCallback(PropertyMemberUIWrapper.CallBackAfterEdit callback) |
protected abstract void |
setMemberValue(Object value) |
void |
setMemberValueWithCheck(Object value) |
protected String attributeName
protected JComponent UIComponent
protected int width
protected ToolParameterDescriptor paramDescriptor
protected ToolAdapterOperatorDescriptor opDescriptor
public PropertyMemberUIWrapper(String attributeName, ToolParameterDescriptor paramDescriptor, ToolAdapterOperatorDescriptor opDescriptor, BindingContext context)
public PropertyMemberUIWrapper(String attributeName, ToolParameterDescriptor paramDescriptor, ToolAdapterOperatorDescriptor opDescriptor, BindingContext context, int width, PropertyMemberUIWrapper.CallBackAfterEdit callback)
public BindingContext getContext()
public ToolParameterDescriptor getParamDescriptor()
protected abstract void setMemberValue(Object value) throws PropertyAttributeException
PropertyAttributeExceptionpublic abstract Object getMemberValue() throws PropertyAttributeException
PropertyAttributeExceptionpublic JComponent getUIComponent() throws Exception
Exceptionpublic JComponent reloadUIComponent(Class<?> newParamType) throws Exception
Exceptionprotected abstract JComponent buildUIComponent() throws Exception
Exceptionpublic void setMemberValueWithCheck(Object value) throws PropertyAttributeException
PropertyAttributeExceptionpublic boolean memberUIComponentNeedsRevalidation()
public boolean propertyUIComponentsNeedsRevalidation()
public boolean contextUIComponentsNeedsRevalidation()
public void focusGained(FocusEvent e)
focusGained in interface FocusListenerpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerpublic void setCallback(PropertyMemberUIWrapper.CallBackAfterEdit callback)
protected abstract Object getValueFromUIComponent() throws PropertyAttributeException
PropertyAttributeExceptionCopyright © 2014–2015 European Space Agency (ESA). All rights reserved.