/**
  * Sets the orientation of any {@link Orientable} children. Allowable values for
  * <i>orientation</i> are found in {@link PositionConstants}.
  *
  * @param orientation The Orientation
  * @see Orientable#setOrientation(int)
  * @since 2.0
  */
 protected void setChildrenOrientation(int orientation) {
   FigureIterator iterator = new FigureIterator(this);
   IFigure child;
   while (iterator.hasNext()) {
     child = iterator.nextFigure();
     if (child instanceof Orientable) ((Orientable) child).setOrientation(orientation);
   }
 }
 /**
  * Sets all childrens' enabled property to <i>value</i>.
  *
  * @param value The enable value
  * @see #setEnabled(boolean)
  * @since 2.0
  */
 protected void setChildrenEnabled(boolean value) {
   FigureIterator iterator = new FigureIterator(this);
   while (iterator.hasNext()) iterator.nextFigure().setEnabled(value);
 }