/** Inserts a new component above all other components on the page. */ public WOComponent insertComponentAbove() { if (currentComponent == null) { return insertComponentAtIndex(0); } return insertComponentAtIndex(currentComponent.sortNumber().intValue()); }
/** Inserts a new component above the current component */ public WOComponent insertComponentBelow() { return insertComponentAtIndex(currentComponent.sortNumber().intValue() + 1); }