public class JDynFormFieldPoint extends AbstractJDynFormField implements JDynFormField, java.awt.event.FocusListener
AbstractJDynFormField.IllegalFieldValueJDynFormField.JDynFormFieldListener| Modifier and Type | Field and Description |
|---|---|
protected Point |
assignedValue |
protected Point |
currentValue |
protected javax.swing.JButton |
jbutton |
protected javax.swing.text.JTextComponent |
jtext |
protected boolean |
readonly |
contents, emptyToNull, jlabel, LOGGER, readOnly| Constructor and Description |
|---|
JDynFormFieldPoint(DynFormSPIManager serviceManager,
DynFormSPIManager.ComponentsFactory componentsFactory,
JDynFormFieldFactory factory,
DynFormFieldDefinition definition,
java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
focusGained(java.awt.event.FocusEvent arg0) |
void |
focusLost(java.awt.event.FocusEvent arg0) |
java.lang.Object |
getAssignedValue() |
java.lang.Object |
getValue()
Get the value of field from the form.
|
boolean |
hasValidValue() |
void |
initComponent() |
void |
onClickPointPanel() |
void |
setReadOnly(boolean readonly) |
void |
setValue(java.lang.Object value) |
addActionToPopupMenu, addListener, addSeparatorToPopupMenu, asJComponent, fetch, fireFieldChangedEvent, fireFieldEnterEvent, fireFieldExitEvent, fireMessageEvent, fixPreferredWidth, getButtonForClickEvent, getComponentsFactory, getDefinition, getEventConfiguration, getForm, getIcon, getJLabel, getLabel, getName, getResizeWeight, getSeparatorTitleToUseBefore, getServiceManager, getTagValueAsBoolean, getTagValueAsBoolean, getTagValueAsInt, getTagValueAsInt, getTagValueAsString, getTagValueAsString, hasClickEvent, isForcedReadOnly, isModified, isReadOnly, loadDefaultValuesFromTags, problemIndicator, removeListener, setForm, setReadOnlyButtonsOfEvents, setTranslateEmptyToNull, toHTML, toString, translateEmptyToNull, useEmptyLabelclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddActionToPopupMenu, addListener, addSeparatorToPopupMenu, fetch, fireMessageEvent, getButtonForClickEvent, getDefinition, getForm, getJLabel, getLabel, getName, getResizeWeight, getSeparatorTitleToUseBefore, hasClickEvent, isModified, isReadOnly, removeListener, toHTML, useEmptyLabelasJComponentprotected Point assignedValue
protected Point currentValue
protected javax.swing.text.JTextComponent jtext
protected javax.swing.JButton jbutton
protected boolean readonly
public JDynFormFieldPoint(DynFormSPIManager serviceManager, DynFormSPIManager.ComponentsFactory componentsFactory, JDynFormFieldFactory factory, DynFormFieldDefinition definition, java.lang.Object value)
public void setReadOnly(boolean readonly)
setReadOnly in interface JDynFormFieldsetReadOnly in class AbstractJDynFormFieldpublic java.lang.Object getAssignedValue()
getAssignedValue in class AbstractJDynFormFieldpublic void initComponent()
initComponent in class AbstractJDynFormFieldpublic void onClickPointPanel()
public void setValue(java.lang.Object value)
setValue in interface JDynFormFieldpublic java.lang.Object getValue()
JDynFormFieldgetValue in interface JDynFormFieldpublic boolean hasValidValue()
hasValidValue in interface JDynFormFieldpublic void focusGained(java.awt.event.FocusEvent arg0)
focusGained in interface java.awt.event.FocusListenerfocusGained in class AbstractJDynFormFieldpublic void focusLost(java.awt.event.FocusEvent arg0)
focusLost in interface java.awt.event.FocusListenerfocusLost in class AbstractJDynFormFieldpublic void clear()
clear in interface JDynFormFieldclear in class AbstractJDynFormField