public class Field
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addProperty(java.lang.String name,
java.lang.Object value) |
static Field |
create(oracle.binding.meta.NamedDefinition namedDefinition)
Creates a field with the given required named definition.
|
oracle.binding.meta.NamedDefinition |
getDefinition()
The definition the field's component will be bound to.
|
org.w3c.dom.Element |
getElement()
This will return xml element associated with this field and It could also return null
when Field not yet bound to xml element
|
java.lang.String |
getLabel()
Returns the label to be used.
|
Widget |
getWidget()
The specific widget to use for this fields's contained component.
|
boolean |
isReadOnly() |
void |
setLabel(java.lang.String label)
Sets the label to use for this field.
|
void |
setReadOnly(boolean readOnly) |
void |
setWidget(Widget widget)
Sets the widget to use for this fields's contained component.
|
public static Field create(oracle.binding.meta.NamedDefinition namedDefinition)
namedDefinition
- named definitionpublic oracle.binding.meta.NamedDefinition getDefinition()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- labelpublic void setWidget(Widget widget)
widget
- widgetpublic Widget getWidget()
public org.w3c.dom.Element getElement()
public boolean isReadOnly()
public void addProperty(java.lang.String name, java.lang.Object value)
public void setReadOnly(boolean readOnly)