public class AttributeEditor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected CheckBox |
checkBox |
protected ComponentsFactory |
componentsFactory |
protected DateField<java.util.Date> |
dateField |
protected BoxLayout |
layout |
protected Messages |
messages |
protected TextField<java.lang.String> |
textField |
protected java.lang.String |
type |
Constructor and Description |
---|
AttributeEditor(Frame frame,
java.lang.String type) |
AttributeEditor(Frame frame,
java.lang.String type,
java.lang.Object value,
boolean requestFocus,
boolean isFixedSize) |
Modifier and Type | Method and Description |
---|---|
protected void |
addRow(java.lang.Object value,
ComponentContainer parent,
boolean isReadOnly) |
java.lang.Object |
getAttributeValue(boolean allowNull) |
Component |
getComponent() |
protected java.util.List<java.lang.String> |
getValuesFromArrayLayout(BoxLayout layout) |
protected void |
initArrayLayout(java.lang.Object value,
boolean isFixedSize,
boolean isReadOnly) |
protected java.util.List |
objectToStringArray(java.lang.Object value) |
protected CheckBox checkBox
protected TextField<java.lang.String> textField
protected DateField<java.util.Date> dateField
protected BoxLayout layout
protected java.lang.String type
protected Messages messages
protected ComponentsFactory componentsFactory
public AttributeEditor(Frame frame, java.lang.String type)
public AttributeEditor(Frame frame, java.lang.String type, java.lang.Object value, boolean requestFocus, boolean isFixedSize)
protected void initArrayLayout(java.lang.Object value, boolean isFixedSize, boolean isReadOnly)
protected void addRow(java.lang.Object value, ComponentContainer parent, boolean isReadOnly)
protected java.util.List objectToStringArray(java.lang.Object value)
public Component getComponent()
public java.lang.Object getAttributeValue(boolean allowNull)
protected java.util.List<java.lang.String> getValuesFromArrayLayout(BoxLayout layout)