void JXVertPartition::JXVertPartitionX() { itsDragType = kInvalidDrag; SetDefaultCursor(JXGetDragHorizLineCursor(GetDisplay())); itsDragAllLineCursor = JXGetDragAllHorizLineCursor(GetDisplay()); SetElasticSize(); }
JXRowHeaderWidget::JXRowHeaderWidget ( JXTable* table, JXScrollbarSet* scrollbarSet, JXContainer* enclosure, const HSizingOption hSizing, const VSizingOption vSizing, const JCoordinate x, const JCoordinate y, const JCoordinate w, const JCoordinate h ) : JXEditTable(1,w, NULL, enclosure, hSizing,vSizing, x,y, w,h) { assert( table != NULL && scrollbarSet != NULL ); itsTable = table; itsTable->SetRowHeader(this); ListenTo(itsTable); itsVScrollbar = scrollbarSet->GetVScrollbar(); ListenTo(itsVScrollbar); itsTitles = NULL; itsAllowRowResizingFlag = kJFalse; itsMinRowHeight = 1; itsHMarginWidth = 2*kCellFrameWidth; itsMaxBcastWidth = 0; itsDragType = kInvalidDrag; itsDragLineCursor = JXGetDragHorizLineCursor(GetDisplay()); itsDragAllLineCursor = JXGetDragAllHorizLineCursor(GetDisplay()); SetColBorderInfo(0, (GetColormap())->GetBlackColor()); // override JXEditTable WantInput(kJFalse); SetBackColor((GetColormap())->GetDefaultBackColor()); AppendCols(1, GetApertureWidth()); AdjustToTable(); }