} else {
xLeft = centerNHLayout - (getStartIconWidth() / 2) + (getXSpacing() / 2);
endXLeft = centerNHLayout - (getEndIconWidth() / 2) + (getXSpacing() / 2);
}
ActivityInterface activity = null;
Iterator<ActivityInterface> itr = getSubActivities().iterator();
int childYTop = yTop + getStartIconHeight() + (getYSpacing() / 2);
int childXLeft = startXLeft + (getXSpacing() / 2);
// Process None Handlers First
while (itr.hasNext()) {
activity = itr.next();
if (activity instanceof ElseIfImpl || activity instanceof ElseImpl) {
// Ignore
} else {
activity.layout(childXLeft, childYTop);
childXLeft += activity.getDimensions().getWidth();
}
}
// Process Handlers
itr = getSubActivities().iterator();
childXLeft = startXLeft + coreDimensions.getWidth();
childYTop = yTop + getElseIfAdjustment();
while (itr.hasNext()) {
activity = itr.next();
if (activity instanceof ElseIfImpl || activity instanceof ElseImpl) {
activity.layout(childXLeft, childYTop);
childXLeft += activity.getDimensions().getWidth();
}
}
// Set the values
setStartIconXLeft(xLeft);