public class FormCheckBox extends JCheckBox implements FormComponent, ActionListener
JCheckBox.AccessibleJCheckBoxJToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModelAbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListenerJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyBORDER_PAINTED_FLAT_CHANGED_PROPERTYactionListener, BORDER_PAINTED_CHANGED_PROPERTY, changeEvent, changeListener, CONTENT_AREA_FILLED_CHANGED_PROPERTY, DISABLED_ICON_CHANGED_PROPERTY, DISABLED_SELECTED_ICON_CHANGED_PROPERTY, FOCUS_PAINTED_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, ICON_CHANGED_PROPERTY, itemListener, MARGIN_CHANGED_PROPERTY, MNEMONIC_CHANGED_PROPERTY, model, MODEL_CHANGED_PROPERTY, PRESSED_ICON_CHANGED_PROPERTY, ROLLOVER_ENABLED_CHANGED_PROPERTY, ROLLOVER_ICON_CHANGED_PROPERTY, ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, SELECTED_ICON_CHANGED_PROPERTY, TEXT_CHANGED_PROPERTY, VERTICAL_ALIGNMENT_CHANGED_PROPERTY, VERTICAL_TEXT_POSITION_CHANGED_PROPERTYlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WESTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
FormCheckBox()
Creates a check box without text, unselected.
|
FormCheckBox(String text)
Creates a check box with text, unselected.
|
FormCheckBox(String text,
boolean selected)
Creates a check box with text
and specifies whether or not it is initially selected.
|
FormCheckBox(String text,
Icon icon,
boolean selected)
Creates a check box with text and icon,
and specifies whether or not it is initially selected.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent evt) |
void |
addValueListener(ValueListener l)
Adds a value listener that implements the binding between this component
and the data.
|
void |
clearValueShownModified()
Clears the value shown status.
May be used by components that update the value shown programmatically. |
void |
fireValueChanged()
Fires all value listeners registered on this component
invoking their
valueChanged-handler.This method is invoked whenever the data has been changed and that change should be reflected in the view. |
void |
fireValueEntered()
Fires all listeners registered on this component
invoking their
valueEntered-handler.This method is invoked whenever the user edited the view and that change should be reflected in the data. |
FormComponentBinding |
getBinding()
Gets the binding.
|
String |
getBindingPath()
Gets the binding path.
|
String |
getComponentPath()
Gets the component path.
|
FocusTraversalGroup |
getFocusTraversalGroup()
Gets the focus traversal group for this component.
|
Boolean |
getFormValue()
Retrieves the value from this component.
The method is used to update the data model if the view has changed because the user edited it. |
String |
getHelpURL()
Gets the online-help URL.
|
Window |
getParentWindow()
Gets the parent window of this component.
|
PropertyGroup |
getPropertyGroup()
Gets the property group for this component.
|
Color |
getSelectedColor()
Gets the color for "checked".
|
String |
getToolTipText() |
Color |
getUnselectedColor()
Gets the color for "unchecked".
|
Boolean |
getValueShown()
Gets the value shown to the user.
This is the visual representation, not necessarily the model's value. |
void |
invalidateParentInfo()
Invalidates all container-relevant (cached) information
for the hierarchy of this component's parents.
For optimization purposes. |
boolean |
isAutoUpdate()
Returns whether the auto-update feature is enabled.
|
boolean |
isBindable()
Determines whether this component is bindable.
|
boolean |
isCellEditorUsage()
Returns whether this component is used as a cell editor.
|
boolean |
isChangeable()
Returns if this component is changeable.
|
boolean |
isFireRunning()
Checks whether a fire-method is running.
|
boolean |
isFormTraversable()
Returns whether this component is form traversable or not.
|
boolean |
isHonourChangeable()
Returns whether this component should honour the changeable-attribute or not.
|
boolean |
isMandatory()
Gets the mandatory option.
|
boolean |
isSmartValueEntered()
Returns whether the model should only be updated
if the component's value really changed.
The default is true. |
boolean |
isTriggerValueChangedEnabled()
Determines whether triggering value changes is enabled.
|
boolean |
isValueChanged()
Checks whether the contents have been changed since the last savepoint.
|
boolean |
isValueShownModified()
Checks whether the currently shown value differs
from the initially shown.
Used to implement smartValueEntered. |
void |
prepareFocusLost()
Prepares for FOCUS_LOST.
Gives this component the opportunity to invoke fireValueEntered() earlier than FOCUS_LOST is really received. |
protected void |
processFocusEvent(FocusEvent e) |
protected void |
processKeyEvent(KeyEvent e) |
void |
removeValueListener(ValueListener l)
Remove a value listener.
|
void |
requestFocusLater()
Requests the keyboard focus for this component by appending
an event to the end of the event queue.
Applications should not use requestFocus() or requestFocusInWindow() unless the order in which the events are processed is unimportant. |
void |
saveValue()
Sets a savepoint for the data of this component.
Allows to decide whether the user has changed the data associated with this component or not. |
void |
setAutoUpdate(boolean autoupdate)
Sets the auto-update feature.
By default, all components update the data model if the view changes (due to certain events, for example focus lost). |
void |
setBindable(boolean bindable)
Sets whether this component is bindable.
|
void |
setBinding(FormComponentBinding binding)
Sets the binding.
|
void |
setBindingPath(String bindingPath)
Sets the path to bind this component to.
|
void |
setCellEditorUsage(boolean flag)
Sets a hint that this component is used as a cell editor.
Some components behave differently in tables than in forms, for example. |
void |
setChangeable(boolean changeable)
Set the component to be changeable.
This is a unified abstraction and will be translated to setEditable or setEnabled, whatever is appropriate to this component. |
void |
setComponentPath(String componentPath)
Sets the component path.
|
void |
setEnabled(boolean enabled) |
void |
setFireRunning(boolean running)
Sets a component's flag that a fire-method is currently running.
Used by the framework to minimize valueChanged/valueEntered processing. |
void |
setFocusTraversalGroup(FocusTraversalGroup group)
Sets the focus traversal group for this component.
|
void |
setFormTraversable(boolean formTraversable)
Sets whether this component is form traversable or not, i.e.
|
void |
setFormValue(Object selected)
Sets a value in this component.
The method is used to update the view if the data has changed. |
void |
setFormWrapWindow(FormWindow parent)
Sets the window that will fire a
FormWrapEvent when this
components loses the keyboard focus. |
void |
setHelpURL(String helpURL)
Sets the online-help URL.
If a help url is set for this component, a browser will be launched to show that url. |
void |
setHonourChangeable(boolean flag)
Sets whether this component should honour the changeable-attribute or not.
The default is true. |
void |
setMandatory(boolean mandatory)
Sets the mandatory option.
Mandatory fields are differently visualized. |
void |
setPropertyGroup(PropertyGroup group)
Sets the property group for this component.
|
void |
setSelectedColor(Color selectedColor)
Sets the color when item is selected.
If the selected color is set, the deselected color should be set too. |
void |
setSmartValueEntered(boolean smartValueEntered)
Sets whether the model should only be updated
if the component's value really changed.
The default is true. |
void |
setTriggerValueChangedEnabled(boolean enabled)
Enables triggering value changes.
Disabling this feature may be necessary for model-agnostic components. |
void |
setUnselectedColor(Color unselectedColor)
Sets the color when item is unselected.
If the unselected color is set, the selected color should be set too. |
void |
showErrorPopup(String message)
Shows the error popup for a given message.
The popup component used is an ErrorToolTip. |
void |
showHelp()
Displays online help for this component.
Usually triggered by KeyEvent.VK_F1 or VK_HELP or a button. |
void |
transferFocus()
Transfers keyboard focus forward to the logically next component.
|
void |
transferFocusBackward()
Transfers keyboard focus forward to the logically previous component.
|
void |
triggerValueChanged()
Promotes the fact that value changed to all
FormContainers this
component is a child of. |
void |
updateAllChangeable(boolean allChangeable)
Updates the container's changeable flag.
|
boolean |
wasFocusGainedFromTransfer()
Returns whether the keyboard focus was gained due to
FormComponent.transferFocus()
in the opposite component. |
boolean |
wasFocusGainedFromTransferBackward()
Returns whether the keyboard focus was gained due to
FormComponent.transferFocusBackward()
in the opposite component. |
boolean |
wasTransferFocus()
Returns whether this component lost the keyboard focus due to
FormComponent.transferFocus(). |
boolean |
wasTransferFocusBackward()
Returns whether this component lost the keyboard focus due to
FormComponent.transferFocusBackward(). |
boolean |
wasTransferFocusByEnter()
Returns whether this component lost the keyboard focus due to
KeyEvent.VK_ENTER. |
getAccessibleContext, getUIClassID, isBorderPaintedFlat, paramString, setBorderPaintedFlat, updateUIactionPropertyChanged, addActionListener, addChangeListener, addImpl, addItemListener, checkHorizontalKey, checkVerticalKey, configurePropertiesFromAction, createActionListener, createActionPropertyChangeListener, createChangeListener, createItemListener, doClick, doClick, fireActionPerformed, fireItemStateChanged, fireStateChanged, getAction, getActionCommand, getActionListeners, getChangeListeners, getDisabledIcon, getDisabledSelectedIcon, getDisplayedMnemonicIndex, getHideActionText, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getItemListeners, getLabel, getMargin, getMnemonic, getModel, getMultiClickThreshhold, getPressedIcon, getRolloverIcon, getRolloverSelectedIcon, getSelectedIcon, getSelectedObjects, getText, getUI, getVerticalAlignment, getVerticalTextPosition, imageUpdate, init, isBorderPainted, isContentAreaFilled, isFocusPainted, isRolloverEnabled, isSelected, paintBorder, removeActionListener, removeChangeListener, removeItemListener, removeNotify, setAction, setActionCommand, setBorderPainted, setContentAreaFilled, setDisabledIcon, setDisabledSelectedIcon, setDisplayedMnemonicIndex, setFocusPainted, setHideActionText, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabel, setLayout, setMargin, setMnemonic, setMnemonic, setModel, setMultiClickThreshhold, setPressedIcon, setRolloverEnabled, setRolloverIcon, setRolloverSelectedIcon, setSelected, setSelectedIcon, setText, setUI, setVerticalAlignment, setVerticalTextPositionaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBaseline, hasFocuspublic FormCheckBox(String text, Icon icon, boolean selected)
text - the text of the check box.icon - the Icon image to displayselected - a boolean value indicating the initial selection
state. If true the check box is selectedpublic FormCheckBox(String text, boolean selected)
text - the text of the check box.selected - a boolean value indicating the initial selection
state. If true the check box is selectedpublic FormCheckBox(String text)
text - the text of the check box.public FormCheckBox()
public void showErrorPopup(String message)
FormComponentErrorToolTip.showErrorPopup in interface FormComponentmessage - the message to be displayed, null to removepublic Color getSelectedColor()
public void setSelectedColor(Color selectedColor)
selectedColor - the selected color, null if defaultpublic Color getUnselectedColor()
public void setUnselectedColor(Color unselectedColor)
unselectedColor - the unselected color, null if defaultpublic void setAutoUpdate(boolean autoupdate)
FormComponentsetAutoUpdate in interface FormComponentautoupdate - true if auto update the data (default), false if notpublic boolean isAutoUpdate()
FormComponentisAutoUpdate in interface FormComponentpublic String getToolTipText()
Overridden to show tooltip in tooltipdisplay _or_ via mouse hover but _not_ both.
getToolTipText in class JComponentpublic void transferFocus()
FormComponenttransferFocus in interface FormComponenttransferFocus in class ComponentFormFocusTraversalPolicypublic void transferFocusBackward()
FormComponenttransferFocusBackward in interface FormComponenttransferFocusBackward in class ComponentFormFocusTraversalPolicyprotected void processKeyEvent(KeyEvent e)
Overridden to implement keyboard shortcuts.
processKeyEvent in class JComponentprotected void processFocusEvent(FocusEvent e)
Overridden for advanced focus handling
processFocusEvent in class Componentpublic void requestFocusLater()
FormComponentrequestFocusLater in interface FormComponentpublic void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerpublic void addValueListener(ValueListener l)
FormComponentaddValueListener in interface FormComponentl - the value listener to addpublic void removeValueListener(ValueListener l)
FormComponentremoveValueListener in interface FormComponentl - the value listener to removepublic void fireValueChanged()
FormComponentvalueChanged-handler.fireValueChanged in interface FormComponentpublic void fireValueEntered()
FormComponentvalueEntered-handler.fireValueEntered in interface FormComponentpublic void setFormValue(Object selected)
setFormValue in interface FormComponentselected - a Boolean object, else the checkbox is unselectedpublic Boolean getFormValue()
getFormValue in interface FormComponentBoolean.TRUE or Boolean.FALSEpublic void saveValue()
FormComponentsaveValue in interface FormComponentFormComponent.isValueChanged()public boolean isValueChanged()
FormComponentisValueChanged in interface FormComponentFormComponent.saveValue()public void setTriggerValueChangedEnabled(boolean enabled)
FormComponentsetTriggerValueChangedEnabled in interface FormComponentenabled - true if invoke FormComponent.triggerValueChanged() on each change (default), false if not.public boolean isTriggerValueChangedEnabled()
FormComponentisTriggerValueChangedEnabled in interface FormComponentFormComponent.triggerValueChanged() on each change (default), false if not.public void triggerValueChanged()
FormComponentFormContainers this
component is a child of.triggerValueChanged in interface FormComponentpublic void setChangeable(boolean changeable)
FormChangeablesetChangeable in interface FormChangeablechangeable - true the user can edit the data, false if show onlypublic boolean isChangeable()
FormChangeableisChangeable in interface FormChangeablepublic void setHonourChangeable(boolean flag)
FormChangeablesetHonourChangeable in interface FormChangeableflag - true if honour the changeable attribute, false if notpublic boolean isHonourChangeable()
FormChangeableisHonourChangeable in interface FormChangeablepublic void updateAllChangeable(boolean allChangeable)
FormChangeableComponent
Whenever FormChangeable.setChangeable(boolean) is invoked
all of the container's components get this method invoked.
updateAllChangeable in interface FormChangeableComponentallChangeable - true if changeablepublic void setEnabled(boolean enabled)
setEnabled in class AbstractButtonpublic void setFireRunning(boolean running)
FormComponentsetFireRunning in interface FormComponentrunning - true if some fire-method is runningpublic boolean isFireRunning()
FormComponentisFireRunning in interface FormComponentpublic void prepareFocusLost()
FormComponentprepareFocusLost in interface FormComponentpublic void setFormWrapWindow(FormWindow parent)
FormComponentFormWrapEvent when this
components loses the keyboard focus. When fired the reference
to the window is cleared.setFormWrapWindow in interface FormComponentparent - the window (usually the parent window of this component).public String getHelpURL()
FormComponentgetHelpURL in interface FormComponentpublic void setHelpURL(String helpURL)
FormComponentsetHelpURL in interface FormComponenthelpURL - the help urlFormUtilities.openHelpURL(Component)public void showHelp()
FormComponentshowHelp in interface FormComponentpublic Window getParentWindow()
FormComponentgetParentWindow in interface FormComponentpublic void invalidateParentInfo()
FormComponentinvalidateParentInfo in interface FormComponentpublic boolean wasTransferFocus()
FormComponentFormComponent.transferFocus().wasTransferFocus in interface FormComponentpublic boolean wasTransferFocusBackward()
FormComponentFormComponent.transferFocusBackward().wasTransferFocusBackward in interface FormComponentpublic boolean wasFocusGainedFromTransfer()
FormComponentFormComponent.transferFocus()
in the opposite component.wasFocusGainedFromTransfer in interface FormComponentFormFocusTraversalPolicypublic boolean wasFocusGainedFromTransferBackward()
FormComponentFormComponent.transferFocusBackward()
in the opposite component.wasFocusGainedFromTransferBackward in interface FormComponentFormFocusTraversalPolicypublic boolean wasTransferFocusByEnter()
FormComponentKeyEvent.VK_ENTER.wasTransferFocusByEnter in interface FormComponentpublic void setCellEditorUsage(boolean flag)
FormComponentsetCellEditorUsage in interface FormComponentflag - true if component is a cell editor, false if not.public boolean isCellEditorUsage()
FormComponentisCellEditorUsage in interface FormComponentpublic void setFormTraversable(boolean formTraversable)
FormComponentsetFormTraversable in interface FormComponentformTraversable - true if traversable, false if notpublic boolean isFormTraversable()
FormComponentisFormTraversable in interface FormComponentpublic void setFocusTraversalGroup(FocusTraversalGroup group)
FormComponentsetFocusTraversalGroup in interface FormComponentgroup - the focus traversal grouppublic FocusTraversalGroup getFocusTraversalGroup()
FormComponentgetFocusTraversalGroup in interface FormComponentpublic void setPropertyGroup(PropertyGroup group)
FormComponentsetPropertyGroup in interface FormComponentgroup - the property grouppublic PropertyGroup getPropertyGroup()
FormComponentgetPropertyGroup in interface FormComponentpublic void setMandatory(boolean mandatory)
FormComponentsetMandatory in interface FormComponentmandatory - true if mandatorypublic boolean isMandatory()
FormComponentisMandatory in interface FormComponentpublic void setComponentPath(String componentPath)
FormComponentThe path is <declaring-class-name>.<field-name>. Example "de.krake.invoicer.InvoicePanel.customerNumberField".
Notice: the component path is set during binding.
setComponentPath in interface FormComponentcomponentPath - the component pathpublic String getComponentPath()
FormComponentgetComponentPath in interface FormComponentpublic void setBindingPath(String bindingPath)
FormComponentUsually the binding path will be determined from the components declared name. However, it can be set programatically as well.
setBindingPath in interface FormComponentbindingPath - the binding path, for ex. "invoiceNumber", null if autobindingBinderpublic String getBindingPath()
FormComponentgetBindingPath in interface FormComponentpublic void setBinding(FormComponentBinding binding)
FormComponentsetBinding in interface FormComponentbinding - the binding, null if none.public FormComponentBinding getBinding()
FormComponentgetBinding in interface FormComponentpublic void setBindable(boolean bindable)
FormComponentFormComponents are bindable by default.
setBindable in interface FormComponentbindable - true if bindable, else not eligible for the binding processpublic boolean isBindable()
FormComponentisBindable in interface FormComponentpublic void setSmartValueEntered(boolean smartValueEntered)
FormComponentsetSmartValueEntered in interface FormComponentsmartValueEntered - true if optimize, false if always update the modelpublic boolean isSmartValueEntered()
FormComponentisSmartValueEntered in interface FormComponentpublic Boolean getValueShown()
FormComponentgetValueShown in interface FormComponentpublic boolean isValueShownModified()
FormComponentisValueShownModified in interface FormComponentpublic void clearValueShownModified()
FormComponentclearValueShownModified in interface FormComponentTentackle - a domain driven enterprise framework