E - public abstract class MinimalPropertyWidget<E> extends java.lang.Object implements PropertyWidget<E>
PropertyWidget interface.| Constructor and Description |
|---|
MinimalPropertyWidget(org.datacleaner.job.builder.ComponentBuilder componentBuilder,
ConfiguredPropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
fireValueChanged() |
protected void |
fireValueChanged(java.lang.Object newValue) |
protected java.awt.event.ActionListener |
fireValueChangedActionListener() |
protected org.datacleaner.job.builder.AnalysisJobBuilder |
getAnalysisJobBuilder() |
org.datacleaner.job.builder.ComponentBuilder |
getComponentBuilder() |
protected E |
getCurrentValue()
Gets the current value of the property in the job builder.
|
ConfiguredPropertyDescriptor |
getPropertyDescriptor()
Gets the
ConfiguredPropertyDescriptor that this
PropertyWidget is modelling. |
void |
initialize(E value)
Initializes the property widget with the initial value of the property
|
boolean |
isSet()
Determines if the property is set given the current state in the UI.
|
protected boolean |
isUpdating()
Determines whether a property widget is currently updating/setting it's
property value.
|
void |
onValueTouched(E value)
Called on a widget if the value it contains is prone to have been changed
by a another party (typically some sort of shortcut in the UI to populate
values or similar).
|
protected void |
setUpdating(boolean updating)
Provides a method for setting the "updating" flag (see
isUpdating()). |
protected abstract void |
setValue(E value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValue, getWidgetpublic MinimalPropertyWidget(org.datacleaner.job.builder.ComponentBuilder componentBuilder, ConfiguredPropertyDescriptor propertyDescriptor)
public void initialize(E value)
PropertyWidgetinitialize in interface PropertyWidget<E>public final ConfiguredPropertyDescriptor getPropertyDescriptor()
PropertyWidgetConfiguredPropertyDescriptor that this
PropertyWidget is modelling.getPropertyDescriptor in interface PropertyWidget<E>public final org.datacleaner.job.builder.ComponentBuilder getComponentBuilder()
public boolean isSet()
PropertyWidgetisSet in interface PropertyWidget<E>public final void fireValueChanged()
protected java.awt.event.ActionListener fireValueChangedActionListener()
protected final org.datacleaner.job.builder.AnalysisJobBuilder getAnalysisJobBuilder()
public void onValueTouched(E value)
PropertyWidgetonValueTouched in interface PropertyWidget<E>protected boolean isUpdating()
protected void setUpdating(boolean updating)
isUpdating()).updating - protected E getCurrentValue()
protected abstract void setValue(E value)
protected final void fireValueChanged(java.lang.Object newValue)
Copyright © 2015. All Rights Reserved.