void GLParmColHeaderWidget::PrintOnPage ( JPagePrinter& p ) { TableDraw(p, GetBounds()); }
void JXTable::Draw ( JXWindowPainter& p, const JRect& rect ) { TableDraw(p, rect, kJTrue); }
void GLFitParameterTable::PrintOnPage ( JPagePrinter& p, JCoordinate* height ) { const JSize origWidth = GetBoundsWidth(); JSize printWidth = JSize(p.GetPageWidth() * 0.9); AdjustSize(printWidth - origWidth, 0); // SetSize(printWidth, GetBoundsHeight()); AdjustColWidth(printWidth); itsColHeaderWidget->PrintOnPage(p); p.ShiftOrigin(0, itsColHeaderWidget->GetBoundsHeight()); TableDraw(p, GetBounds()); AdjustSize(origWidth - printWidth, 0); // SetSize(origWidth, GetBoundsHeight()); *height = GetBoundsHeight() + itsColHeaderWidget->GetBoundsHeight(); }