add(m_bottomField);
}
@Override
public ExtendedElement save(ExtendedElement parent) {
ExtendedElement e = super.save(parent);
if (m_requiredButton.isSelected())
e.setAttribute("required", "true");
e.setAttribute("background", m_backgroundField.getText());
if (m_leftField.getText().length() != 0)
e.setAttribute("left", m_leftField.getText());
if (m_rightField.getText().length() != 0)
e.setAttribute("right", m_rightField.getText());
if (m_topField.getText().length() != 0)
e.setAttribute("top", m_topField.getText());
if (m_bottomField.getText().length() != 0)
e.setAttribute("bottom", m_bottomField.getText());
return e;
}