public abstract class AbstractXFormField<T> extends Object implements XFormField
CURRENT_DIRECTORY
Constructor and Description |
---|
AbstractXFormField() |
Modifier and Type | Method and Description |
---|---|
void |
addComponentEnabler(XFormField tf,
String value) |
void |
addFormFieldListener(XFormFieldListener listener) |
void |
addFormFieldValidator(XFormFieldValidator validator) |
protected void |
fireValueChanged(String newValue,
String oldValue) |
abstract T |
getComponent() |
Object |
getProperty(String name) |
boolean |
isMultiRow() |
boolean |
isRequired() |
boolean |
isVisible() |
void |
removeFieldListener(XFormFieldListener listener) |
void |
removeFormFieldValidator(XFormFieldValidator validator) |
abstract void |
setProperty(String name,
Object value) |
void |
setRequired(boolean required,
String message) |
ValidationMessage[] |
validate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValue, isEnabled, setEnabled, setToolTip, setValue
public boolean isVisible()
isVisible
in interface XFormField
public abstract T getComponent()
public void addFormFieldListener(XFormFieldListener listener)
addFormFieldListener
in interface XFormField
public void addFormFieldValidator(XFormFieldValidator validator)
addFormFieldValidator
in interface XFormField
public void addComponentEnabler(XFormField tf, String value)
addComponentEnabler
in interface XFormField
public boolean isRequired()
isRequired
in interface XFormField
public void removeFieldListener(XFormFieldListener listener)
removeFieldListener
in interface XFormField
public void removeFormFieldValidator(XFormFieldValidator validator)
removeFormFieldValidator
in interface XFormField
public void setRequired(boolean required, String message)
setRequired
in interface XFormField
public ValidationMessage[] validate()
validate
in interface XFormField
public Object getProperty(String name)
getProperty
in interface XFormField
public abstract void setProperty(String name, Object value)
setProperty
in interface XFormField
public boolean isMultiRow()
Copyright © 2019. All Rights Reserved.