public ButtonBorder(final ButtonAction[] actions, final View view) {
super(view);
buttons = new View[actions.length];
for (int i = 0; i < actions.length; i++) {
final ButtonAction action = actions[i];
buttons[i] = new Button(action, view);
if (action.isDefault()) {
defaultAction = action;
}
}
// space for: line & button with whitespace
bottom = 1 + ViewConstants.VPADDING + buttons[0].getRequiredSize(new Size()).getHeight() + ViewConstants.VPADDING;