public class DefaultZKPropertyEditorBean extends DefaultPropertyEditorBean implements ZKPropertyEditorBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INVALID_SCLASS
The style class which is set at the view root component to signal that the editor's invalid flag.
|
static java.lang.String |
READONLY_SCLASS
The style class which is set at the view root component to signal that the editor is read-only.
|
EDITOR_BEAN_ID| Constructor and Description |
|---|
DefaultZKPropertyEditorBean(DefaultPropertyEditorDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected Component |
createView(Page page) |
protected AnnotateDataBinder |
getBinder() |
Component |
getOrCreateViewComponent(Page page)
Returns the view component bound to this value editor bean.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getViewCreationArgs()
Provides view component creation arguments (available via ${arg.*}.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getViewLocalVariables()
Provides local attributes to be available inside the view component.
|
protected void |
initView(Component view)
Called right after view component creation.
|
protected void |
updateEditable(boolean newEditable)
Called each time the editable flag has been changed.
|
protected void |
updateInvalid(boolean newInvalid)
Called each time the invalid flag has been changed.
|
getDescriptor, getValue, getValues, initialize, isEditable, isInvalid, isModified, reset, setEditable, setInvalid, setValue, setValuespublic static final java.lang.String INVALID_SCLASS
public static final java.lang.String READONLY_SCLASS
public DefaultZKPropertyEditorBean(DefaultPropertyEditorDescriptor descriptor)
protected AnnotateDataBinder getBinder()
public final Component getOrCreateViewComponent(Page page)
ZKPropertyEditorBeangetOrCreateViewComponent in interface ZKPropertyEditorBeanpage - TODOZKPropertyEditorBean.getOrCreateViewComponent(Page)protected java.util.Map<java.lang.String,java.lang.Object> getViewCreationArgs()
protected java.util.Map<java.lang.String,java.lang.Object> getViewLocalVariables()
protected void initView(Component view)
view - the new view componentprotected Component createView(Page page)
protected void updateEditable(boolean newEditable)
DefaultPropertyEditorBeanupdateEditable in class DefaultPropertyEditorBeannewEditable - the new editable flag valueprotected void updateInvalid(boolean newInvalid)
DefaultPropertyEditorBeanupdateInvalid in class DefaultPropertyEditorBeannewInvalid - the new invalid flag valueCopyright © 2018 SAP SE. All Rights Reserved.