void setOrientation(boolean create) { super.setOrientation(create); if (items != null) { for (int i = 0; i < items.length; i++) { if (items[i] != null) items[i].setOrientation(create); } } }
@Override void setOrientation(boolean create) { super.setOrientation(create); ToolItem[] items = _getItems(); for (int i = 0; i < items.length; i++) { items[i].setOrientation(create); } }